Lines Matching refs:kcontrol

298 static int wm8994_put_drc_sw(struct snd_kcontrol *kcontrol,  in wm8994_put_drc_sw()  argument
302 (struct soc_mixer_control *)kcontrol->private_value; in wm8994_put_drc_sw()
303 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_drc_sw()
319 return snd_soc_put_volsw(kcontrol, ucontrol); in wm8994_put_drc_sw()
357 static int wm8994_put_drc_enum(struct snd_kcontrol *kcontrol, in wm8994_put_drc_enum() argument
360 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_drc_enum()
364 int drc = wm8994_get_drc(kcontrol->id.name); in wm8994_put_drc_enum()
380 static int wm8994_get_drc_enum(struct snd_kcontrol *kcontrol, in wm8994_get_drc_enum() argument
383 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_get_drc_enum()
385 int drc = wm8994_get_drc(kcontrol->id.name); in wm8994_get_drc_enum()
464 static int wm8994_put_retune_mobile_enum(struct snd_kcontrol *kcontrol, in wm8994_put_retune_mobile_enum() argument
467 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_retune_mobile_enum()
471 int block = wm8994_get_retune_mobile_block(kcontrol->id.name); in wm8994_put_retune_mobile_enum()
487 static int wm8994_get_retune_mobile_enum(struct snd_kcontrol *kcontrol, in wm8994_get_retune_mobile_enum() argument
490 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_get_retune_mobile_enum()
492 int block = wm8994_get_retune_mobile_block(kcontrol->id.name); in wm8994_get_retune_mobile_enum()
809 struct snd_kcontrol *kcontrol, int event) in clk_sys_event() argument
984 struct snd_kcontrol *kcontrol, int event) in vmid_event() argument
1040 struct snd_kcontrol *kcontrol, int event) in aif1clk_ev() argument
1138 struct snd_kcontrol *kcontrol, int event) in aif2clk_ev() argument
1223 struct snd_kcontrol *kcontrol, int event) in aif1clk_late_ev() argument
1241 struct snd_kcontrol *kcontrol, int event) in aif2clk_late_ev() argument
1259 struct snd_kcontrol *kcontrol, int event) in late_enable_ev() argument
1267 aif1clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMU); in late_enable_ev()
1271 aif1clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMU); in late_enable_ev()
1275 aif2clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMU); in late_enable_ev()
1279 aif2clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMU); in late_enable_ev()
1286 wm8958_aif_ev(w, kcontrol, event); in late_enable_ev()
1292 struct snd_kcontrol *kcontrol, int event) in late_disable_ev() argument
1300 aif1clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMD); in late_disable_ev()
1303 aif1clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMD); in late_disable_ev()
1307 aif2clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMD); in late_disable_ev()
1310 aif2clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMD); in late_disable_ev()
1320 struct snd_kcontrol *kcontrol, int event) in adc_mux_ev() argument
1322 late_enable_ev(w, kcontrol, event); in adc_mux_ev()
1327 struct snd_kcontrol *kcontrol, int event) in micbias_ev() argument
1329 late_enable_ev(w, kcontrol, event); in micbias_ev()
1334 struct snd_kcontrol *kcontrol, int event) in dac_ev() argument
1375 struct snd_kcontrol *kcontrol, int event) in post_ev() argument
1442 static int wm8994_put_class_w(struct snd_kcontrol *kcontrol, in wm8994_put_class_w() argument
1445 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8994_put_class_w()
1448 ret = snd_soc_dapm_put_volsw(kcontrol, ucontrol); in wm8994_put_class_w()