Lines Matching refs:kcontrol
335 struct snd_kcontrol *kcontrol, in stac_capture_led_hook() argument
342 if (!kcontrol || !ucontrol) in stac_capture_led_hook()
345 mask = 1U << snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_capture_led_hook()
594 static int stac_aloopback_get(struct snd_kcontrol *kcontrol, in stac_aloopback_get() argument
597 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_aloopback_get()
598 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_aloopback_get()
606 static int stac_aloopback_put(struct snd_kcontrol *kcontrol, in stac_aloopback_put() argument
609 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_aloopback_put()
611 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_aloopback_put()
629 kcontrol->private_value & 0xFFFF, 0x0); in stac_aloopback_put()
641 kcontrol->private_value >> 16, dac_mode); in stac_aloopback_put()
895 static int stac_dig_beep_switch_get(struct snd_kcontrol *kcontrol, in stac_dig_beep_switch_get() argument
898 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_dig_beep_switch_get()
903 static int stac_dig_beep_switch_put(struct snd_kcontrol *kcontrol, in stac_dig_beep_switch_put() argument
906 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_dig_beep_switch_put()
932 static int stac_smux_enum_info(struct snd_kcontrol *kcontrol, in stac_smux_enum_info() argument
935 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_smux_enum_info()
940 static int stac_smux_enum_get(struct snd_kcontrol *kcontrol, in stac_smux_enum_get() argument
943 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_smux_enum_get()
945 unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_smux_enum_get()
951 static int stac_smux_enum_put(struct snd_kcontrol *kcontrol, in stac_smux_enum_put() argument
954 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_smux_enum_put()
956 unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac_smux_enum_put()
2932 static int stac_hp_bass_gpio_get(struct snd_kcontrol *kcontrol, in stac_hp_bass_gpio_get() argument
2935 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_hp_bass_gpio_get()
2941 static int stac_hp_bass_gpio_put(struct snd_kcontrol *kcontrol, in stac_hp_bass_gpio_put() argument
2944 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac_hp_bass_gpio_put()