Lines Matching refs:micbias_mv
949 int hs_threshold, micbias_mv; in wcd_mbhc_adc_get_hs_thres() local
951 micbias_mv = wcd_mbhc_get_micbias(mbhc); in wcd_mbhc_adc_get_hs_thres()
953 if (mbhc->cfg->micb_mv == micbias_mv) in wcd_mbhc_adc_get_hs_thres()
957 micbias_mv) / mbhc->cfg->micb_mv; in wcd_mbhc_adc_get_hs_thres()
960 micbias_mv) / WCD_MBHC_ADC_MICBIAS_MV); in wcd_mbhc_adc_get_hs_thres()
967 int hph_threshold, micbias_mv; in wcd_mbhc_adc_get_hph_thres() local
969 micbias_mv = wcd_mbhc_get_micbias(mbhc); in wcd_mbhc_adc_get_hph_thres()
971 if (mbhc->cfg->micb_mv == micbias_mv) in wcd_mbhc_adc_get_hph_thres()
975 micbias_mv) / mbhc->cfg->micb_mv; in wcd_mbhc_adc_get_hph_thres()
978 micbias_mv) / WCD_MBHC_ADC_MICBIAS_MV); in wcd_mbhc_adc_get_hph_thres()
1041 int hs_threshold, micbias_mv; in wcd_mbhc_get_spl_hs_thres() local
1043 micbias_mv = wcd_mbhc_get_micbias(mbhc); in wcd_mbhc_get_spl_hs_thres()
1045 if (mbhc->cfg->micb_mv == micbias_mv) in wcd_mbhc_get_spl_hs_thres()
1048 hs_threshold = (mbhc->cfg->hs_thr * micbias_mv) / mbhc->cfg->micb_mv; in wcd_mbhc_get_spl_hs_thres()
1050 hs_threshold = ((WCD_MBHC_ADC_HS_THRESHOLD_MV * micbias_mv) / in wcd_mbhc_get_spl_hs_thres()
1092 int output_mv, cross_conn, hs_threshold, try = 0, micbias_mv; in wcd_correct_swch_plug() local
1108 micbias_mv = wcd_mbhc_get_micbias(mbhc); in wcd_correct_swch_plug()
1177 hs_threshold /= micbias_mv; in wcd_correct_swch_plug()