Lines Matching refs:kcontrol

297 static int wm8994_put_drc_sw(struct snd_kcontrol *kcontrol,  in wm8994_put_drc_sw()  argument
301 (struct soc_mixer_control *)kcontrol->private_value; in wm8994_put_drc_sw()
302 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_drc_sw()
318 return snd_soc_put_volsw(kcontrol, ucontrol); in wm8994_put_drc_sw()
356 static int wm8994_put_drc_enum(struct snd_kcontrol *kcontrol, in wm8994_put_drc_enum() argument
359 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_drc_enum()
363 int drc = wm8994_get_drc(kcontrol->id.name); in wm8994_put_drc_enum()
379 static int wm8994_get_drc_enum(struct snd_kcontrol *kcontrol, in wm8994_get_drc_enum() argument
382 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_get_drc_enum()
384 int drc = wm8994_get_drc(kcontrol->id.name); in wm8994_get_drc_enum()
463 static int wm8994_put_retune_mobile_enum(struct snd_kcontrol *kcontrol, in wm8994_put_retune_mobile_enum() argument
466 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_retune_mobile_enum()
470 int block = wm8994_get_retune_mobile_block(kcontrol->id.name); in wm8994_put_retune_mobile_enum()
486 static int wm8994_get_retune_mobile_enum(struct snd_kcontrol *kcontrol, in wm8994_get_retune_mobile_enum() argument
489 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_get_retune_mobile_enum()
491 int block = wm8994_get_retune_mobile_block(kcontrol->id.name); in wm8994_get_retune_mobile_enum()
808 struct snd_kcontrol *kcontrol, int event) in clk_sys_event() argument
983 struct snd_kcontrol *kcontrol, int event) in vmid_event() argument
1039 struct snd_kcontrol *kcontrol, int event) in aif1clk_ev() argument
1137 struct snd_kcontrol *kcontrol, int event) in aif2clk_ev() argument
1222 struct snd_kcontrol *kcontrol, int event) in aif1clk_late_ev() argument
1240 struct snd_kcontrol *kcontrol, int event) in aif2clk_late_ev() argument
1258 struct snd_kcontrol *kcontrol, int event) in late_enable_ev() argument
1266 aif1clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMU); in late_enable_ev()
1270 aif1clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMU); in late_enable_ev()
1274 aif2clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMU); in late_enable_ev()
1278 aif2clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMU); in late_enable_ev()
1285 wm8958_aif_ev(w, kcontrol, event); in late_enable_ev()
1291 struct snd_kcontrol *kcontrol, int event) in late_disable_ev() argument
1299 aif1clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMD); in late_disable_ev()
1302 aif1clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMD); in late_disable_ev()
1306 aif2clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMD); in late_disable_ev()
1309 aif2clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMD); in late_disable_ev()
1319 struct snd_kcontrol *kcontrol, int event) in adc_mux_ev() argument
1321 late_enable_ev(w, kcontrol, event); in adc_mux_ev()
1326 struct snd_kcontrol *kcontrol, int event) in micbias_ev() argument
1328 late_enable_ev(w, kcontrol, event); in micbias_ev()
1333 struct snd_kcontrol *kcontrol, int event) in dac_ev() argument
1374 struct snd_kcontrol *kcontrol, int event) in post_ev() argument
1441 static int wm8994_put_class_w(struct snd_kcontrol *kcontrol, in wm8994_put_class_w() argument
1444 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8994_put_class_w()
1447 ret = snd_soc_dapm_put_volsw(kcontrol, ucontrol); in wm8994_put_class_w()