Lines Matching refs:snd_sonicvibes_out

303 static void snd_sonicvibes_out(struct sonicvibes * sonic,  in snd_sonicvibes_out()  function
1323 snd_sonicvibes_out(sonic, SV_IREG_DRIVE_CTRL, 0); /* drive current 16mA */ in snd_sonicvibes_create()
1325 snd_sonicvibes_out(sonic, SV_IREG_DRIVE_CTRL, 0x40); /* drive current 8mA */ in snd_sonicvibes_create()
1327 snd_sonicvibes_out(sonic, SV_IREG_PC_ENABLE, sonic->enable = 0); /* disable playback & capture */ in snd_sonicvibes_create()
1330 snd_sonicvibes_out(sonic, SV_IREG_ADC_CLOCK, 0); /* use PLL as clock source */ in snd_sonicvibes_create()
1331 snd_sonicvibes_out(sonic, SV_IREG_ANALOG_POWER, 0); /* power up analog parts */ in snd_sonicvibes_create()
1332 snd_sonicvibes_out(sonic, SV_IREG_DIGITAL_POWER, 0); /* power up digital parts */ in snd_sonicvibes_create()
1334 snd_sonicvibes_out(sonic, SV_IREG_SRS_SPACE, sonic->srs_space = 0x80); /* SRS space off */ in snd_sonicvibes_create()
1335 snd_sonicvibes_out(sonic, SV_IREG_SRS_CENTER, sonic->srs_center = 0x00);/* SRS center off */ in snd_sonicvibes_create()
1336 snd_sonicvibes_out(sonic, SV_IREG_MPU401, sonic->mpu_switch = 0x05); /* MPU-401 switch */ in snd_sonicvibes_create()
1337 snd_sonicvibes_out(sonic, SV_IREG_WAVE_SOURCE, sonic->wave_source = 0x00); /* onboard ROM */ in snd_sonicvibes_create()
1338 snd_sonicvibes_out(sonic, SV_IREG_PCM_RATE_LOW, (8000 * 65536 / SV_FULLRATE) & 0xff); in snd_sonicvibes_create()
1339 snd_sonicvibes_out(sonic, SV_IREG_PCM_RATE_HIGH, ((8000 * 65536 / SV_FULLRATE) >> 8) & 0xff); in snd_sonicvibes_create()
1340 snd_sonicvibes_out(sonic, SV_IREG_LEFT_ADC, mge ? 0xd0 : 0xc0); in snd_sonicvibes_create()
1341 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_ADC, 0xc0); in snd_sonicvibes_create()
1342 snd_sonicvibes_out(sonic, SV_IREG_LEFT_AUX1, 0x9f); in snd_sonicvibes_create()
1343 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_AUX1, 0x9f); in snd_sonicvibes_create()
1344 snd_sonicvibes_out(sonic, SV_IREG_LEFT_CD, 0x9f); in snd_sonicvibes_create()
1345 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_CD, 0x9f); in snd_sonicvibes_create()
1346 snd_sonicvibes_out(sonic, SV_IREG_LEFT_LINE, 0x9f); in snd_sonicvibes_create()
1347 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_LINE, 0x9f); in snd_sonicvibes_create()
1348 snd_sonicvibes_out(sonic, SV_IREG_MIC, 0x8f); in snd_sonicvibes_create()
1349 snd_sonicvibes_out(sonic, SV_IREG_LEFT_SYNTH, 0x9f); in snd_sonicvibes_create()
1350 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_SYNTH, 0x9f); in snd_sonicvibes_create()
1351 snd_sonicvibes_out(sonic, SV_IREG_LEFT_AUX2, 0x9f); in snd_sonicvibes_create()
1352 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_AUX2, 0x9f); in snd_sonicvibes_create()
1353 snd_sonicvibes_out(sonic, SV_IREG_LEFT_ANALOG, 0x9f); in snd_sonicvibes_create()
1354 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_ANALOG, 0x9f); in snd_sonicvibes_create()
1355 snd_sonicvibes_out(sonic, SV_IREG_LEFT_PCM, 0xbf); in snd_sonicvibes_create()
1356 snd_sonicvibes_out(sonic, SV_IREG_RIGHT_PCM, 0xbf); in snd_sonicvibes_create()
1357 snd_sonicvibes_out(sonic, SV_IREG_ADC_OUTPUT_CTRL, 0xfc); in snd_sonicvibes_create()