Lines Matching full:controls
37 MODULE_PARM_DESC(high_res_gpr_volume, "GPR mixer controls use 31-bit range.");
330 * controls
1299 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local
1311 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_audigy_init_efx()
1312 sizeof(*controls), GFP_KERNEL); in _snd_emu10k1_audigy_init_efx()
1313 if (!controls) in _snd_emu10k1_audigy_init_efx()
1341 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1347 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1354 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1360 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1365 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM LFE Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1374 snd_emu10k1_init_stereo_control(&controls[nctl++], "Wave Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1380 snd_emu10k1_init_stereo_control(&controls[nctl++], "Synth Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1386 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1392 snd_emu10k1_init_stereo_control(&controls[nctl++], "Synth Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1424 snd_emu10k1_init_stereo_control(&controls[nctl++], "EMU Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1432 snd_emu10k1_init_stereo_control(&controls[nctl++], "AMic Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1437 snd_emu10k1_init_stereo_control(&controls[nctl++], "Mic Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1447 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1454 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1462 …snd_emu10k1_init_stereo_control(&controls[nctl++], SNDRV_CTL_NAME_IEC958("Optical ",PLAYBACK,VOLUM… in _snd_emu10k1_audigy_init_efx()
1467 …snd_emu10k1_init_stereo_control(&controls[nctl++], SNDRV_CTL_NAME_IEC958("Optical ",CAPTURE,VOLUME… in _snd_emu10k1_audigy_init_efx()
1473 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1480 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1488 snd_emu10k1_init_stereo_control(&controls[nctl++], "Analog Mix Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1493 snd_emu10k1_init_stereo_control(&controls[nctl++], "Analog Mix Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1499 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1506 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1515 snd_emu10k1_init_stereo_control(&controls[nctl++], "Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1521 snd_emu10k1_init_stereo_control(&controls[nctl++], "Surround Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1528 snd_emu10k1_init_mono_control(&controls[nctl++], "Center Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1533 snd_emu10k1_init_mono_control(&controls[nctl++], "LFE Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1540 snd_emu10k1_init_stereo_control(&controls[nctl++], "Side Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1564 ctl = &controls[nctl + 0]; in _snd_emu10k1_audigy_init_efx()
1573 ctl = &controls[nctl + 1]; in _snd_emu10k1_audigy_init_efx()
1585 controls[nctl + 0].gpr[z * 2 + j] = bass_gpr + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1586 controls[nctl + 1].gpr[z * 2 + j] = treble_gpr + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1592 snd_emu10k1_init_mono_onoff_control(controls + nctl++, "Tone Control - Switch", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1628 snd_emu10k1_init_mono_control(&controls[nctl++], "Wave Master Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1676 …snd_emu10k1_init_stereo_onoff_control(controls + nctl++, SNDRV_CTL_NAME_IEC958("Optical Raw ",PLAY… in _snd_emu10k1_audigy_init_efx()
1760 icode->gpr_add_controls = controls; in _snd_emu10k1_audigy_init_efx()
1766 kfree(controls); in _snd_emu10k1_audigy_init_efx()
1817 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_init_efx() local
1830 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_init_efx()
1833 if (!controls) in _snd_emu10k1_init_efx()
1959 snd_emu10k1_init_stereo_control(controls + i++, "Wave Playback Volume", gpr, 100); in _snd_emu10k1_init_efx()
1965 snd_emu10k1_init_stereo_control(controls + i++, "Wave Surround Playback Volume", gpr, 0); in _snd_emu10k1_init_efx()
1972 snd_emu10k1_init_mono_control(controls + i++, "Wave Center Playback Volume", gpr++, 0); in _snd_emu10k1_init_efx()
1974 snd_emu10k1_init_mono_control(controls + i++, "Wave LFE Playback Volume", gpr++, 0); in _snd_emu10k1_init_efx()
1981 snd_emu10k1_init_stereo_control(controls + i++, "Wave Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
1982 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Wave Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
1988 snd_emu10k1_init_stereo_control(controls + i++, "Synth Playback Volume", gpr, 100); in _snd_emu10k1_init_efx()
1996 snd_emu10k1_init_stereo_control(controls + i++, "Synth Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
1997 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Synth Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2003 snd_emu10k1_init_stereo_control(controls + i++, "Surround Digital Playback Volume", gpr, 100); in _snd_emu10k1_init_efx()
2011 snd_emu10k1_init_stereo_control(controls + i++, "Surround Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2012 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Surround Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2017 snd_emu10k1_init_mono_control(controls + i++, "Center Digital Playback Volume", gpr++, 100); in _snd_emu10k1_init_efx()
2021 snd_emu10k1_init_mono_control(controls + i++, "LFE Digital Playback Volume", gpr++, 100); in _snd_emu10k1_init_efx()
2026 snd_emu10k1_init_stereo_control(controls + i++, "Front Playback Volume", gpr, 100); in _snd_emu10k1_init_efx()
2034 snd_emu10k1_init_stereo_control(controls + i++, "Front Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2035 snd_emu10k1_init_mono_onoff_control(controls + i++, "Front Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2046 snd_emu10k1_init_stereo_control(controls + i++, "AC97 Playback Volume", gpr-2, 0); in _snd_emu10k1_init_efx()
2050 snd_emu10k1_init_stereo_control(controls + i++, "AC97 Capture Volume", gpr-2, 100); in _snd_emu10k1_init_efx()
2057 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("TTL ",PLAYBACK,VOLUME), gpr… in _snd_emu10k1_init_efx()
2065 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("TTL ",CAPTURE,VOLUME), gpr,… in _snd_emu10k1_init_efx()
2066 …snd_emu10k1_init_stereo_onoff_control(controls + i++, SNDRV_CTL_NAME_IEC958("TTL ",CAPTURE,SWITCH)… in _snd_emu10k1_init_efx()
2074 snd_emu10k1_init_stereo_control(controls + i++, "Zoom Video Playback Volume", gpr, 0); in _snd_emu10k1_init_efx()
2082 snd_emu10k1_init_stereo_control(controls + i++, "Zoom Video Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2083 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Zoom Video Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2091 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("LiveDrive ",PLAYBACK,VOLUME… in _snd_emu10k1_init_efx()
2099 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("LiveDrive ",CAPTURE,VOLUME)… in _snd_emu10k1_init_efx()
2100 …snd_emu10k1_init_stereo_onoff_control(controls + i++, SNDRV_CTL_NAME_IEC958("LiveDrive ",CAPTURE,S… in _snd_emu10k1_init_efx()
2108 snd_emu10k1_init_stereo_control(controls + i++, "Line LiveDrive Playback Volume", gpr, 0); in _snd_emu10k1_init_efx()
2116 snd_emu10k1_init_stereo_control(controls + i++, "Line LiveDrive Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2117 …snd_emu10k1_init_stereo_onoff_control(controls + i++, "Line LiveDrive Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2125 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("Coaxial ",PLAYBACK,VOLUME),… in _snd_emu10k1_init_efx()
2133 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("Coaxial ",CAPTURE,VOLUME), … in _snd_emu10k1_init_efx()
2134 …snd_emu10k1_init_stereo_onoff_control(controls + i++, SNDRV_CTL_NAME_IEC958("Coaxial ",CAPTURE,SWI… in _snd_emu10k1_init_efx()
2142 snd_emu10k1_init_stereo_control(controls + i++, "Line2 LiveDrive Playback Volume", gpr, 0); in _snd_emu10k1_init_efx()
2143 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2151 snd_emu10k1_init_stereo_control(controls + i++, "Line2 LiveDrive Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2152 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2153 …snd_emu10k1_init_stereo_onoff_control(controls + i++, "Line2 LiveDrive Capture Switch", gpr + 2, 0… in _snd_emu10k1_init_efx()
2154 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2161 ctl = &controls[i + 0]; in _snd_emu10k1_init_efx()
2171 ctl = &controls[i + 1]; in _snd_emu10k1_init_efx()
2188 controls[i + 0].gpr[z * 2 + j] = BASS_GPR + z * 2 + j; in _snd_emu10k1_init_efx()
2189 controls[i + 1].gpr[z * 2 + j] = TREBLE_GPR + z * 2 + j; in _snd_emu10k1_init_efx()
2195 snd_emu10k1_init_mono_onoff_control(controls + i++, "Tone Control - Switch", gpr, 0); in _snd_emu10k1_init_efx()
2254 …snd_emu10k1_init_stereo_onoff_control(controls + i++, SNDRV_CTL_NAME_IEC958("Optical Raw ",PLAYBAC… in _snd_emu10k1_init_efx()
2269 snd_emu10k1_init_stereo_control(controls + i++, "Headphone Playback Volume", gpr + 0, 0); in _snd_emu10k1_init_efx()
2270 controls[i-1].id.index = 1; /* AC'97 can have also Headphone control */ in _snd_emu10k1_init_efx()
2271 …snd_emu10k1_init_mono_onoff_control(controls + i++, "Headphone Center Playback Switch", gpr + 2, 0… in _snd_emu10k1_init_efx()
2272 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2273 snd_emu10k1_init_mono_onoff_control(controls + i++, "Headphone LFE Playback Switch", gpr + 3, 0); in _snd_emu10k1_init_efx()
2274 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2347 icode->gpr_add_controls = controls; in _snd_emu10k1_init_efx()
2356 kfree(controls); in _snd_emu10k1_init_efx()