Lines Matching refs:snd_sonicvibes_out

317 static void snd_sonicvibes_out(struct sonicvibes * sonic,  in snd_sonicvibes_out()  function
1351 snd_sonicvibes_out(sonic, SV_IREG_DRIVE_CTRL, 0); /* drive current 16mA */ in snd_sonicvibes_create()
1353 snd_sonicvibes_out(sonic, SV_IREG_DRIVE_CTRL, 0x40); /* drive current 8mA */ in snd_sonicvibes_create()
1355 snd_sonicvibes_out(sonic, SV_IREG_PC_ENABLE, sonic->enable = 0); /* disable playback & capture */ in snd_sonicvibes_create()
1358 snd_sonicvibes_out(sonic, SV_IREG_ADC_CLOCK, 0); /* use PLL as clock source */ in snd_sonicvibes_create()
1359 snd_sonicvibes_out(sonic, SV_IREG_ANALOG_POWER, 0); /* power up analog parts */ in snd_sonicvibes_create()
1360 snd_sonicvibes_out(sonic, SV_IREG_DIGITAL_POWER, 0); /* power up digital parts */ in snd_sonicvibes_create()
1362 snd_sonicvibes_out(sonic, SV_IREG_SRS_SPACE, sonic->srs_space = 0x80); /* SRS space off */ in snd_sonicvibes_create()
1363 snd_sonicvibes_out(sonic, SV_IREG_SRS_CENTER, sonic->srs_center = 0x00);/* SRS center off */ in snd_sonicvibes_create()
1364 snd_sonicvibes_out(sonic, SV_IREG_MPU401, sonic->mpu_switch = 0x05); /* MPU-401 switch */ in snd_sonicvibes_create()
1365 snd_sonicvibes_out(sonic, SV_IREG_WAVE_SOURCE, sonic->wave_source = 0x00); /* onboard ROM */ in snd_sonicvibes_create()
1366 snd_sonicvibes_out(sonic, SV_IREG_PCM_RATE_LOW, (8000 * 65536 / SV_FULLRATE) & 0xff); in snd_sonicvibes_create()
1367 snd_sonicvibes_out(sonic, SV_IREG_PCM_RATE_HIGH, ((8000 * 65536 / SV_FULLRATE) >> 8) & 0xff); in snd_sonicvibes_create()
1368 snd_sonicvibes_out(sonic, SV_IREG_LEFT_ADC, mge ? 0xd0 : 0xc0); in snd_sonicvibes_create()
1369 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_ADC, 0xc0); in snd_sonicvibes_create()
1370 snd_sonicvibes_out(sonic, SV_IREG_LEFT_AUX1, 0x9f); in snd_sonicvibes_create()
1371 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_AUX1, 0x9f); in snd_sonicvibes_create()
1372 snd_sonicvibes_out(sonic, SV_IREG_LEFT_CD, 0x9f); in snd_sonicvibes_create()
1373 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_CD, 0x9f); in snd_sonicvibes_create()
1374 snd_sonicvibes_out(sonic, SV_IREG_LEFT_LINE, 0x9f); in snd_sonicvibes_create()
1375 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_LINE, 0x9f); in snd_sonicvibes_create()
1376 snd_sonicvibes_out(sonic, SV_IREG_MIC, 0x8f); in snd_sonicvibes_create()
1377 snd_sonicvibes_out(sonic, SV_IREG_LEFT_SYNTH, 0x9f); in snd_sonicvibes_create()
1378 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_SYNTH, 0x9f); in snd_sonicvibes_create()
1379 snd_sonicvibes_out(sonic, SV_IREG_LEFT_AUX2, 0x9f); in snd_sonicvibes_create()
1380 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_AUX2, 0x9f); in snd_sonicvibes_create()
1381 snd_sonicvibes_out(sonic, SV_IREG_LEFT_ANALOG, 0x9f); in snd_sonicvibes_create()
1382 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_ANALOG, 0x9f); in snd_sonicvibes_create()
1383 snd_sonicvibes_out(sonic, SV_IREG_LEFT_PCM, 0xbf); in snd_sonicvibes_create()
1384 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_PCM, 0xbf); in snd_sonicvibes_create()
1385 snd_sonicvibes_out(sonic, SV_IREG_ADC_OUTPUT_CTRL, 0xfc); in snd_sonicvibes_create()