Lines Matching defs:kcontrol
572 static int stac_aloopback_get(struct snd_kcontrol *kcontrol,
575 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
576 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
584 static int stac_aloopback_put(struct snd_kcontrol *kcontrol,
587 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
589 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
607 kcontrol->private_value & 0xFFFF, 0x0);
619 kcontrol->private_value >> 16, dac_mode);
873 static int stac_dig_beep_switch_get(struct snd_kcontrol *kcontrol,
876 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
881 static int stac_dig_beep_switch_put(struct snd_kcontrol *kcontrol,
884 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
910 static int stac_smux_enum_info(struct snd_kcontrol *kcontrol,
913 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
918 static int stac_smux_enum_get(struct snd_kcontrol *kcontrol,
921 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
923 unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
929 static int stac_smux_enum_put(struct snd_kcontrol *kcontrol,
932 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
934 unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
2953 static int stac_hp_bass_gpio_get(struct snd_kcontrol *kcontrol,
2956 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2962 static int stac_hp_bass_gpio_put(struct snd_kcontrol *kcontrol,
2965 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);