Searched refs:hs_threshold (Results 1 – 1 of 1) sorted by relevance
935 int hs_threshold, micbias_mv; in wcd_mbhc_adc_get_hs_thres() local940 hs_threshold = mbhc->cfg->hs_thr; in wcd_mbhc_adc_get_hs_thres()942 hs_threshold = (mbhc->cfg->hs_thr * in wcd_mbhc_adc_get_hs_thres()945 hs_threshold = ((WCD_MBHC_ADC_HS_THRESHOLD_MV * in wcd_mbhc_adc_get_hs_thres()948 return hs_threshold; in wcd_mbhc_adc_get_hs_thres()1032 int output_mv, cross_conn, hs_threshold, try = 0; in wcd_correct_swch_plug() local1038 hs_threshold = wcd_mbhc_adc_get_hs_thres(mbhc); in wcd_correct_swch_plug()1100 if ((output_mv <= hs_threshold) && !is_pa_on) { in wcd_correct_swch_plug()1125 if (output_mv > hs_threshold) /* cable is extension cable */ in wcd_correct_swch_plug()