Lines Matching refs:w
391 static int pm8916_wcd_analog_enable_micbias_int(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_micbias_int() argument
395 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias_int()
408 static int pm8916_wcd_analog_enable_micbias1(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_micbias1() argument
412 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias1()
419 static int pm8916_wcd_analog_enable_micbias2(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_micbias2() argument
423 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias2()
530 *w, struct snd_kcontrol in pm8916_wcd_analog_enable_micbias_int2()
533 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias_int2()
549 return pm8916_wcd_analog_enable_micbias_int(w, kcontrol, event); in pm8916_wcd_analog_enable_micbias_int2()
552 static int pm8916_wcd_analog_enable_adc(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_adc() argument
556 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_adc()
560 if (w->reg == CDC_A_TX_1_EN) in pm8916_wcd_analog_enable_adc()
567 if (w->reg == CDC_A_TX_2_EN) in pm8916_wcd_analog_enable_adc()
579 switch (w->reg) { in pm8916_wcd_analog_enable_adc()
602 switch (w->reg) { in pm8916_wcd_analog_enable_adc()
625 static int pm8916_wcd_analog_enable_spk_pa(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_spk_pa() argument
629 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_spk_pa()
651 snd_soc_component_update_bits(component, w->reg, in pm8916_wcd_analog_enable_spk_pa()
672 static int pm8916_wcd_analog_enable_ear_pa(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_ear_pa() argument
676 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_ear_pa()