Lines Matching refs:kctrl

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