• Home
  • Raw
  • Download

Lines Matching refs:w

617 static int max98088_mic_event(struct snd_soc_dapm_widget *w,  in max98088_mic_event()  argument
620 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98088_mic_event()
625 if (w->reg == M98088_REG_35_LVL_MIC1) { in max98088_mic_event()
626 snd_soc_component_update_bits(component, w->reg, M98088_MICPRE_MASK, in max98088_mic_event()
629 snd_soc_component_update_bits(component, w->reg, M98088_MICPRE_MASK, in max98088_mic_event()
634 snd_soc_component_update_bits(component, w->reg, M98088_MICPRE_MASK, 0); in max98088_mic_event()
647 static int max98088_line_pga(struct snd_soc_dapm_widget *w, in max98088_line_pga() argument
650 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98088_line_pga()
671 snd_soc_component_update_bits(component, w->reg, in max98088_line_pga()
672 (1 << w->shift), (1 << w->shift)); in max98088_line_pga()
677 snd_soc_component_update_bits(component, w->reg, in max98088_line_pga()
678 (1 << w->shift), 0); in max98088_line_pga()
688 static int max98088_pga_ina1_event(struct snd_soc_dapm_widget *w, in max98088_pga_ina1_event() argument
691 return max98088_line_pga(w, event, LINE_INA, 1); in max98088_pga_ina1_event()
694 static int max98088_pga_ina2_event(struct snd_soc_dapm_widget *w, in max98088_pga_ina2_event() argument
697 return max98088_line_pga(w, event, LINE_INA, 2); in max98088_pga_ina2_event()
700 static int max98088_pga_inb1_event(struct snd_soc_dapm_widget *w, in max98088_pga_inb1_event() argument
703 return max98088_line_pga(w, event, LINE_INB, 1); in max98088_pga_inb1_event()
706 static int max98088_pga_inb2_event(struct snd_soc_dapm_widget *w, in max98088_pga_inb2_event() argument
709 return max98088_line_pga(w, event, LINE_INB, 2); in max98088_pga_inb2_event()