Home
last modified time | relevance | path

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

/Linux-v6.1/sound/soc/codecs/
Dwcd-mbhc-v2.c949 int hs_threshold, micbias_mv; in wcd_mbhc_adc_get_hs_thres() local
954 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() local
1046 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 …]