Lines Matching refs:w
609 static int da732x_adc_event(struct snd_soc_dapm_widget *w, in da732x_adc_event() argument
612 struct snd_soc_codec *codec = w->codec; in da732x_adc_event()
616 switch (w->reg) { in da732x_adc_event()
631 snd_soc_update_bits(codec, w->reg, DA732X_ADC_RST_MASK, in da732x_adc_event()
633 snd_soc_update_bits(codec, w->reg, DA732X_ADC_PD_MASK, in da732x_adc_event()
637 snd_soc_update_bits(codec, w->reg, DA732X_ADC_PD_MASK, in da732x_adc_event()
639 snd_soc_update_bits(codec, w->reg, DA732X_ADC_RST_MASK, in da732x_adc_event()
642 switch (w->reg) { in da732x_adc_event()
663 static int da732x_out_pga_event(struct snd_soc_dapm_widget *w, in da732x_out_pga_event() argument
666 struct snd_soc_codec *codec = w->codec; in da732x_out_pga_event()
670 snd_soc_update_bits(codec, w->reg, in da732x_out_pga_event()
671 (1 << w->shift) | DA732X_OUT_HIZ_EN, in da732x_out_pga_event()
672 (1 << w->shift) | DA732X_OUT_HIZ_EN); in da732x_out_pga_event()
675 snd_soc_update_bits(codec, w->reg, in da732x_out_pga_event()
676 (1 << w->shift) | DA732X_OUT_HIZ_EN, in da732x_out_pga_event()
677 (1 << w->shift) | DA732X_OUT_HIZ_DIS); in da732x_out_pga_event()