Home
last modified time | relevance | path

Searched refs:vout_ctl (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Dwcd937x.c2435 int vout_ctl[3]; in wcd937x_set_micbias_data() local
2438 vout_ctl[0] = wcd937x_get_micb_vout_ctl_val(wcd937x->micb1_mv); in wcd937x_set_micbias_data()
2439 vout_ctl[1] = wcd937x_get_micb_vout_ctl_val(wcd937x->micb2_mv); in wcd937x_set_micbias_data()
2440 vout_ctl[2] = wcd937x_get_micb_vout_ctl_val(wcd937x->micb3_mv); in wcd937x_set_micbias_data()
2441 if ((vout_ctl[0] | vout_ctl[1] | vout_ctl[2]) < 0) in wcd937x_set_micbias_data()
2444 regmap_update_bits(wcd937x->regmap, WCD937X_ANA_MICB1, WCD937X_ANA_MICB_VOUT, vout_ctl[0]); in wcd937x_set_micbias_data()
2445 regmap_update_bits(wcd937x->regmap, WCD937X_ANA_MICB2, WCD937X_ANA_MICB_VOUT, vout_ctl[1]); in wcd937x_set_micbias_data()
2446 regmap_update_bits(wcd937x->regmap, WCD937X_ANA_MICB3, WCD937X_ANA_MICB_VOUT, vout_ctl[2]); in wcd937x_set_micbias_data()
Dwcd-mbhc-v2.c841 u8 vout_ctl = 0; in wcd_mbhc_get_micbias() local
843 vout_ctl = wcd_mbhc_read_field(mbhc, WCD_MBHC_MICB2_VOUT); in wcd_mbhc_get_micbias()
847 micbias = 1000 + (vout_ctl * 50); in wcd_mbhc_get_micbias()