Lines Matching refs:kctl
271 struct snd_kcontrol *kctl; in alc_update_knob_master() local
274 kctl = snd_hda_find_mixer_ctl(codec, "Master Playback Volume"); in alc_update_knob_master()
275 if (!kctl) in alc_update_knob_master()
285 kctl->put(kctl, uctl); in alc_update_knob_master()
729 struct snd_kcontrol *kctl; in alc_build_controls() local
730 kctl = snd_ctl_new1(knew, codec); in alc_build_controls()
731 if (!kctl) in alc_build_controls()
733 kctl->private_value = spec->beep_amp; in alc_build_controls()
734 err = snd_hda_ctl_add(codec, 0, kctl); in alc_build_controls()
4549 struct snd_kcontrol *kctl; in alc282_fixup_asus_tx300() local
4564 kctl = snd_hda_find_mixer_ctl(codec, "Speaker Playback Switch"); in alc282_fixup_asus_tx300()
4565 if (kctl) in alc282_fixup_asus_tx300()
4566 strcpy(kctl->id.name, "Dock Speaker Playback Switch"); in alc282_fixup_asus_tx300()
4567 kctl = snd_hda_find_mixer_ctl(codec, "Bass Speaker Playback Switch"); in alc282_fixup_asus_tx300()
4568 if (kctl) in alc282_fixup_asus_tx300()
4569 strcpy(kctl->id.name, "Speaker Playback Switch"); in alc282_fixup_asus_tx300()