• Home
  • Raw
  • Download

Lines Matching refs:w

356 static int msm8x16_wcd_codec_set_iir_gain(struct snd_soc_dapm_widget *w,  in msm8x16_wcd_codec_set_iir_gain()  argument
360 snd_soc_dapm_to_component(w->dapm); in msm8x16_wcd_codec_set_iir_gain()
365 if (w->shift == 0) in msm8x16_wcd_codec_set_iir_gain()
367 else if (w->shift == 1) in msm8x16_wcd_codec_set_iir_gain()
576 struct snd_soc_dapm_widget *w, in msm8916_wcd_digital_enable_interpolator() argument
580 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in msm8916_wcd_digital_enable_interpolator()
586 snd_soc_component_write(component, rx_gain_reg[w->shift], in msm8916_wcd_digital_enable_interpolator()
587 snd_soc_component_read32(component, rx_gain_reg[w->shift])); in msm8916_wcd_digital_enable_interpolator()
591 1 << w->shift, 1 << w->shift); in msm8916_wcd_digital_enable_interpolator()
593 1 << w->shift, 0x0); in msm8916_wcd_digital_enable_interpolator()
599 static int msm8916_wcd_digital_enable_dec(struct snd_soc_dapm_widget *w, in msm8916_wcd_digital_enable_dec() argument
603 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in msm8916_wcd_digital_enable_dec()
604 unsigned int decimator = w->shift + 1; in msm8916_wcd_digital_enable_dec()
634 snd_soc_component_write(component, tx_gain_reg[w->shift], in msm8916_wcd_digital_enable_dec()
635 snd_soc_component_read32(component, tx_gain_reg[w->shift])); in msm8916_wcd_digital_enable_dec()
648 snd_soc_component_update_bits(component, dec_reset_reg, 1 << w->shift, in msm8916_wcd_digital_enable_dec()
649 1 << w->shift); in msm8916_wcd_digital_enable_dec()
650 snd_soc_component_update_bits(component, dec_reset_reg, 1 << w->shift, 0x0); in msm8916_wcd_digital_enable_dec()
662 static int msm8916_wcd_digital_enable_dmic(struct snd_soc_dapm_widget *w, in msm8916_wcd_digital_enable_dmic() argument
666 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in msm8916_wcd_digital_enable_dmic()
670 char *dmic_num = strpbrk(w->name, "12"); in msm8916_wcd_digital_enable_dmic()