Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dwcd-mbhc-v2.c935 int hs_threshold, micbias_mv; in wcd_mbhc_adc_get_hs_thres() local
937 micbias_mv = wcd_mbhc_get_micbias(mbhc); in wcd_mbhc_adc_get_hs_thres()
939 if (mbhc->cfg->micb_mv == micbias_mv) in wcd_mbhc_adc_get_hs_thres()
943 micbias_mv) / mbhc->cfg->micb_mv; in wcd_mbhc_adc_get_hs_thres()
946 micbias_mv) / WCD_MBHC_ADC_MICBIAS_MV); in wcd_mbhc_adc_get_hs_thres()
953 int hph_threshold, micbias_mv; in wcd_mbhc_adc_get_hph_thres() local
955 micbias_mv = wcd_mbhc_get_micbias(mbhc); in wcd_mbhc_adc_get_hph_thres()
957 if (mbhc->cfg->micb_mv == micbias_mv) in wcd_mbhc_adc_get_hph_thres()
961 micbias_mv) / mbhc->cfg->micb_mv; in wcd_mbhc_adc_get_hph_thres()
964 micbias_mv) / WCD_MBHC_ADC_MICBIAS_MV); in wcd_mbhc_adc_get_hph_thres()
Dmsm8916-wcd-analog.c309 unsigned int micbias_mv; member
359 if (wcd->micbias_mv) { in pm8916_wcd_analog_micbias_enable()
362 MICB_VOLTAGE_REGVAL(wcd->micbias_mv)); in pm8916_wcd_analog_micbias_enable()
367 if (wcd->micbias_mv >= 2700) in pm8916_wcd_analog_micbias_enable()
1149 &priv->micbias_mv); in pm8916_wcd_analog_parse_dt()