Lines Matching refs:kctrl
60 static int tse850_get_mux1(struct snd_kcontrol *kctrl,
63 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl);
72 static int tse850_put_mux1(struct snd_kcontrol *kctrl,
75 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl);
78 struct soc_enum *e = (struct soc_enum *)kctrl->private_value;
87 return snd_soc_dapm_put_enum_double(kctrl, ucontrol);
90 static int tse850_get_mux2(struct snd_kcontrol *kctrl,
93 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl);
102 static int tse850_put_mux2(struct snd_kcontrol *kctrl,
105 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl);
108 struct soc_enum *e = (struct soc_enum *)kctrl->private_value;
117 return snd_soc_dapm_put_enum_double(kctrl, ucontrol);
120 static int tse850_get_mix(struct snd_kcontrol *kctrl,
123 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl);
132 static int tse850_put_mix(struct snd_kcontrol *kctrl,
135 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl);
150 snd_soc_dapm_mixer_update_power(dapm, kctrl, connect, NULL);
154 static int tse850_get_ana(struct snd_kcontrol *kctrl,
157 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl);
187 static int tse850_put_ana(struct snd_kcontrol *kctrl,
190 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl);
193 struct soc_enum *e = (struct soc_enum *)kctrl->private_value;
218 return snd_soc_dapm_put_enum_double(kctrl, ucontrol);