Lines Matching refs:w
578 static int mt_reg_set_clr_event(struct snd_soc_dapm_widget *w, in mt_reg_set_clr_event() argument
582 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_reg_set_clr_event()
586 if (w->on_val) { in mt_reg_set_clr_event()
589 w->reg + REG_STRIDE, in mt_reg_set_clr_event()
590 0x1 << w->shift, in mt_reg_set_clr_event()
591 0x1 << w->shift); in mt_reg_set_clr_event()
595 w->reg + REG_STRIDE * 2, in mt_reg_set_clr_event()
596 0x1 << w->shift, in mt_reg_set_clr_event()
597 0x1 << w->shift); in mt_reg_set_clr_event()
601 if (w->off_val) { in mt_reg_set_clr_event()
604 w->reg + REG_STRIDE, in mt_reg_set_clr_event()
605 0x1 << w->shift, in mt_reg_set_clr_event()
606 0x1 << w->shift); in mt_reg_set_clr_event()
610 w->reg + REG_STRIDE * 2, in mt_reg_set_clr_event()
611 0x1 << w->shift, in mt_reg_set_clr_event()
612 0x1 << w->shift); in mt_reg_set_clr_event()
622 static int mt_ncp_event(struct snd_soc_dapm_widget *w, in mt_ncp_event() argument
626 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_ncp_event()
646 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event() argument
650 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event()
666 static int mt_aif_in_event(struct snd_soc_dapm_widget *w, in mt_aif_in_event() argument
670 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_aif_in_event()
711 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event() argument
715 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_event()
839 static int mt_aif_out_event(struct snd_soc_dapm_widget *w, in mt_aif_out_event() argument
843 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_aif_out_event()
902 static int mt_adc_clkgen_event(struct snd_soc_dapm_widget *w, in mt_adc_clkgen_event() argument
906 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_clkgen_event()
925 static int mt_pga_left_event(struct snd_soc_dapm_widget *w, in mt_pga_left_event() argument
929 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_left_event()
955 static int mt_pga_right_event(struct snd_soc_dapm_widget *w, in mt_pga_right_event() argument
959 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_right_event()
985 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event() argument
989 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_0_event()
1013 static int mt_mic_bias_1_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_1_event() argument
1017 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_1_event()
1041 static int mt_mic_bias_2_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_2_event() argument
1045 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_2_event()