Lines Matching full:controls

43 MODULE_PARM_DESC(high_res_gpr_volume, "GPR mixer controls use 31-bit range.");
301 * controls
1224 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local
1236 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_audigy_init_efx()
1237 sizeof(*controls), GFP_KERNEL); in _snd_emu10k1_audigy_init_efx()
1238 if (!controls) in _snd_emu10k1_audigy_init_efx()
1275 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1281 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1288 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1294 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1299 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM LFE Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1308 snd_emu10k1_init_stereo_control(&controls[nctl++], "Wave Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1314 snd_emu10k1_init_stereo_control(&controls[nctl++], "Synth Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1320 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1326 snd_emu10k1_init_stereo_control(&controls[nctl++], "Synth Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1347 snd_emu10k1_init_stereo_control(&controls[nctl++], "EMU Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1353 snd_emu10k1_init_stereo_control(&controls[nctl++], "AMic Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1358 snd_emu10k1_init_stereo_control(&controls[nctl++], "Mic Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1367 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1374 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1382 …snd_emu10k1_init_stereo_control(&controls[nctl++], SNDRV_CTL_NAME_IEC958("Optical ",PLAYBACK,VOLUM… in _snd_emu10k1_audigy_init_efx()
1387 …snd_emu10k1_init_stereo_control(&controls[nctl++], SNDRV_CTL_NAME_IEC958("Optical ",CAPTURE,VOLUME… in _snd_emu10k1_audigy_init_efx()
1393 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1400 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1408 snd_emu10k1_init_stereo_control(&controls[nctl++], "Analog Mix Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1413 snd_emu10k1_init_stereo_control(&controls[nctl++], "Analog Mix Capture Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1419 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1426 snd_emu10k1_init_stereo_control(&controls[nctl++], in _snd_emu10k1_audigy_init_efx()
1434 snd_emu10k1_init_stereo_control(&controls[nctl++], "Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1440 snd_emu10k1_init_stereo_control(&controls[nctl++], "Surround Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1447 snd_emu10k1_init_mono_control(&controls[nctl++], "Center Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1452 snd_emu10k1_init_mono_control(&controls[nctl++], "LFE Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1459 snd_emu10k1_init_stereo_control(&controls[nctl++], "Side Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1495 ctl = &controls[nctl + 0]; in _snd_emu10k1_audigy_init_efx()
1504 ctl = &controls[nctl + 1]; in _snd_emu10k1_audigy_init_efx()
1520 controls[nctl + 0].gpr[z * 2 + j] = BASS_GPR + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1521 controls[nctl + 1].gpr[z * 2 + j] = TREBLE_GPR + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1562 snd_emu10k1_init_stereo_onoff_control(controls + nctl++, "Tone Control - Switch", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1574 snd_emu10k1_init_mono_control(&controls[nctl++], "Wave Master Playback Volume", gpr, 0); in _snd_emu10k1_audigy_init_efx()
1625 …snd_emu10k1_init_stereo_onoff_control(controls + nctl++, SNDRV_CTL_NAME_IEC958("Optical Raw ",PLAY… in _snd_emu10k1_audigy_init_efx()
1786 icode->gpr_add_controls = controls; in _snd_emu10k1_audigy_init_efx()
1792 kfree(controls); in _snd_emu10k1_audigy_init_efx()
1859 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_init_efx() local
1872 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_init_efx()
1875 if (!controls) in _snd_emu10k1_init_efx()
2006 snd_emu10k1_init_stereo_control(controls + i++, "Wave Playback Volume", gpr, 100); in _snd_emu10k1_init_efx()
2012 snd_emu10k1_init_stereo_control(controls + i++, "Wave Surround Playback Volume", gpr, 0); in _snd_emu10k1_init_efx()
2019 snd_emu10k1_init_mono_control(controls + i++, "Wave Center Playback Volume", gpr++, 0); in _snd_emu10k1_init_efx()
2021 snd_emu10k1_init_mono_control(controls + i++, "Wave LFE Playback Volume", gpr++, 0); in _snd_emu10k1_init_efx()
2028 snd_emu10k1_init_stereo_control(controls + i++, "Wave Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2029 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Wave Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2035 snd_emu10k1_init_stereo_control(controls + i++, "Synth Playback Volume", gpr, 100); in _snd_emu10k1_init_efx()
2043 snd_emu10k1_init_stereo_control(controls + i++, "Synth Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2044 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Synth Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2050 snd_emu10k1_init_stereo_control(controls + i++, "Surround Digital Playback Volume", gpr, 100); in _snd_emu10k1_init_efx()
2058 snd_emu10k1_init_stereo_control(controls + i++, "Surround Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2059 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Surround Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2064 snd_emu10k1_init_mono_control(controls + i++, "Center Digital Playback Volume", gpr++, 100); in _snd_emu10k1_init_efx()
2068 snd_emu10k1_init_mono_control(controls + i++, "LFE Digital Playback Volume", gpr++, 100); in _snd_emu10k1_init_efx()
2073 snd_emu10k1_init_stereo_control(controls + i++, "Front Playback Volume", gpr, 100); in _snd_emu10k1_init_efx()
2081 snd_emu10k1_init_stereo_control(controls + i++, "Front Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2082 snd_emu10k1_init_mono_onoff_control(controls + i++, "Front Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2093 snd_emu10k1_init_stereo_control(controls + i++, "AC97 Playback Volume", gpr-2, 0); in _snd_emu10k1_init_efx()
2097 snd_emu10k1_init_stereo_control(controls + i++, "AC97 Capture Volume", gpr-2, 100); in _snd_emu10k1_init_efx()
2104 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("TTL ",PLAYBACK,VOLUME), gpr… in _snd_emu10k1_init_efx()
2112 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("TTL ",CAPTURE,VOLUME), gpr,… in _snd_emu10k1_init_efx()
2113 …snd_emu10k1_init_stereo_onoff_control(controls + i++, SNDRV_CTL_NAME_IEC958("TTL ",CAPTURE,SWITCH)… in _snd_emu10k1_init_efx()
2121 snd_emu10k1_init_stereo_control(controls + i++, "Zoom Video Playback Volume", gpr, 0); in _snd_emu10k1_init_efx()
2129 snd_emu10k1_init_stereo_control(controls + i++, "Zoom Video Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2130 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Zoom Video Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2138 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("LiveDrive ",PLAYBACK,VOLUME… in _snd_emu10k1_init_efx()
2146 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("LiveDrive ",CAPTURE,VOLUME)… in _snd_emu10k1_init_efx()
2147 …snd_emu10k1_init_stereo_onoff_control(controls + i++, SNDRV_CTL_NAME_IEC958("LiveDrive ",CAPTURE,S… in _snd_emu10k1_init_efx()
2155 snd_emu10k1_init_stereo_control(controls + i++, "Line LiveDrive Playback Volume", gpr, 0); in _snd_emu10k1_init_efx()
2163 snd_emu10k1_init_stereo_control(controls + i++, "Line LiveDrive Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2164 …snd_emu10k1_init_stereo_onoff_control(controls + i++, "Line LiveDrive Capture Switch", gpr + 2, 0); in _snd_emu10k1_init_efx()
2172 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("Coaxial ",PLAYBACK,VOLUME),… in _snd_emu10k1_init_efx()
2180 …snd_emu10k1_init_stereo_control(controls + i++, SNDRV_CTL_NAME_IEC958("Coaxial ",CAPTURE,VOLUME), … in _snd_emu10k1_init_efx()
2181 …snd_emu10k1_init_stereo_onoff_control(controls + i++, SNDRV_CTL_NAME_IEC958("Coaxial ",CAPTURE,SWI… in _snd_emu10k1_init_efx()
2189 snd_emu10k1_init_stereo_control(controls + i++, "Line2 LiveDrive Playback Volume", gpr, 0); in _snd_emu10k1_init_efx()
2190 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2198 snd_emu10k1_init_stereo_control(controls + i++, "Line2 LiveDrive Capture Volume", gpr, 0); in _snd_emu10k1_init_efx()
2199 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2200 …snd_emu10k1_init_stereo_onoff_control(controls + i++, "Line2 LiveDrive Capture Switch", gpr + 2, 0… in _snd_emu10k1_init_efx()
2201 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2215 ctl = &controls[i + 0]; in _snd_emu10k1_init_efx()
2225 ctl = &controls[i + 1]; in _snd_emu10k1_init_efx()
2242 controls[i + 0].gpr[z * 2 + j] = BASS_GPR + z * 2 + j; in _snd_emu10k1_init_efx()
2243 controls[i + 1].gpr[z * 2 + j] = TREBLE_GPR + z * 2 + j; in _snd_emu10k1_init_efx()
2284 snd_emu10k1_init_stereo_onoff_control(controls + i++, "Tone Control - Switch", gpr, 0); in _snd_emu10k1_init_efx()
2310 …snd_emu10k1_init_stereo_onoff_control(controls + i++, SNDRV_CTL_NAME_IEC958("Optical Raw ",PLAYBAC… in _snd_emu10k1_init_efx()
2325 snd_emu10k1_init_stereo_control(controls + i++, "Headphone Playback Volume", gpr + 0, 0); in _snd_emu10k1_init_efx()
2326 controls[i-1].id.index = 1; /* AC'97 can have also Headphone control */ in _snd_emu10k1_init_efx()
2327 …snd_emu10k1_init_mono_onoff_control(controls + i++, "Headphone Center Playback Switch", gpr + 2, 0… in _snd_emu10k1_init_efx()
2328 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2329 snd_emu10k1_init_mono_onoff_control(controls + i++, "Headphone LFE Playback Switch", gpr + 3, 0); in _snd_emu10k1_init_efx()
2330 controls[i-1].id.index = 1; in _snd_emu10k1_init_efx()
2413 icode->gpr_add_controls = controls; in _snd_emu10k1_init_efx()
2422 kfree(controls); in _snd_emu10k1_init_efx()