Searched refs:hs_threshold (Results 1 – 1 of 1) sorted by relevance
949 int hs_threshold, micbias_mv; in wcd_mbhc_adc_get_hs_thres() local954 hs_threshold = mbhc->cfg->hs_thr; in wcd_mbhc_adc_get_hs_thres()956 hs_threshold = (mbhc->cfg->hs_thr * in wcd_mbhc_adc_get_hs_thres()959 hs_threshold = ((WCD_MBHC_ADC_HS_THRESHOLD_MV * in wcd_mbhc_adc_get_hs_thres()962 return hs_threshold; in wcd_mbhc_adc_get_hs_thres()1041 int hs_threshold, micbias_mv; in wcd_mbhc_get_spl_hs_thres() local1046 hs_threshold = mbhc->cfg->hs_thr; 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()1053 return hs_threshold; in wcd_mbhc_get_spl_hs_thres()[all …]