Lines Matching refs:kctl
276 struct snd_kcontrol *kctl; in alc_update_knob_master() local
279 kctl = snd_hda_find_mixer_ctl(codec, "Master Playback Volume"); in alc_update_knob_master()
280 if (!kctl) in alc_update_knob_master()
290 kctl->put(kctl, uctl); in alc_update_knob_master()
744 struct snd_kcontrol *kctl; in alc_build_controls() local
745 kctl = snd_ctl_new1(knew, codec); in alc_build_controls()
746 if (!kctl) in alc_build_controls()
748 kctl->private_value = spec->beep_amp; in alc_build_controls()
749 err = snd_hda_ctl_add(codec, 0, kctl); in alc_build_controls()
4639 struct snd_kcontrol *kctl; in alc282_fixup_asus_tx300() local
4654 kctl = snd_hda_find_mixer_ctl(codec, "Speaker Playback Switch"); in alc282_fixup_asus_tx300()
4655 if (kctl) in alc282_fixup_asus_tx300()
4656 strcpy(kctl->id.name, "Dock Speaker Playback Switch"); in alc282_fixup_asus_tx300()
4657 kctl = snd_hda_find_mixer_ctl(codec, "Bass Speaker Playback Switch"); in alc282_fixup_asus_tx300()
4658 if (kctl) in alc282_fixup_asus_tx300()
4659 strcpy(kctl->id.name, "Speaker Playback Switch"); in alc282_fixup_asus_tx300()