Searched refs:hs_threshold (Results 1 – 1 of 1) sorted by relevance
1012 int hs_threshold, micbias_mv; in wcd_mbhc_adc_get_hs_thres() local1017 hs_threshold = mbhc->cfg->hs_thr; in wcd_mbhc_adc_get_hs_thres()1019 hs_threshold = (mbhc->cfg->hs_thr * in wcd_mbhc_adc_get_hs_thres()1022 hs_threshold = ((WCD_MBHC_ADC_HS_THRESHOLD_MV * in wcd_mbhc_adc_get_hs_thres()1025 return hs_threshold; in wcd_mbhc_adc_get_hs_thres()1104 int hs_threshold, micbias_mv; in wcd_mbhc_get_spl_hs_thres() local1109 hs_threshold = mbhc->cfg->hs_thr; in wcd_mbhc_get_spl_hs_thres()1111 hs_threshold = (mbhc->cfg->hs_thr * micbias_mv) / mbhc->cfg->micb_mv; in wcd_mbhc_get_spl_hs_thres()1113 hs_threshold = ((WCD_MBHC_ADC_HS_THRESHOLD_MV * micbias_mv) / in wcd_mbhc_get_spl_hs_thres()1116 return hs_threshold; in wcd_mbhc_get_spl_hs_thres()[all …]