Searched refs:micb_mv (Results 1 – 4 of 4) sorted by relevance
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()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()1044 if (mbhc->cfg->hs_thr && mbhc->cfg->micb_mv != WCD_MBHC_ADC_MICBIAS_MV) { 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()
208 u32 micb_mv; member
2026 static int wcd938x_get_micb_vout_ctl_val(u32 micb_mv) in wcd938x_get_micb_vout_ctl_val() argument2029 if (micb_mv < 1000 || micb_mv > 2850) in wcd938x_get_micb_vout_ctl_val()2032 return (micb_mv - 1000) / 50; in wcd938x_get_micb_vout_ctl_val()2110 int micb_mv; in wcd938x_mbhc_micb_ctrl_threshold_mic() local2122 micb_mv = req_en ? WCD_MBHC_THR_HS_MICB_MV : wcd938x->micb2_mv; in wcd938x_mbhc_micb_ctrl_threshold_mic()2124 return wcd938x_mbhc_micb_adjust_voltage(component, micb_mv, MIC_BIAS_2); in wcd938x_mbhc_micb_ctrl_threshold_mic()3339 cfg->micb_mv = wcd938x->micb2_mv; in wcd938x_populate_dt_data()
2192 u32 *micb_mv) in wcd934x_get_micbias_val() argument2210 *micb_mv = mv; in wcd934x_get_micbias_val()2542 static int wcd934x_get_micb_vout_ctl_val(u32 micb_mv) in wcd934x_get_micb_vout_ctl_val() argument2545 if (micb_mv < 1000 || micb_mv > 2850) in wcd934x_get_micb_vout_ctl_val()2548 return (micb_mv - 1000) / 50; in wcd934x_get_micb_vout_ctl_val()2626 int rc, micb_mv; in wcd934x_mbhc_micb_ctrl_threshold_mic() local2638 micb_mv = req_en ? WCD_MBHC_THR_HS_MICB_MV : wcd934x->micb2_mv; in wcd934x_mbhc_micb_ctrl_threshold_mic()2640 rc = wcd934x_mbhc_micb_adjust_voltage(component, micb_mv, MIC_BIAS_2); in wcd934x_mbhc_micb_ctrl_threshold_mic()5894 cfg->micb_mv = wcd->micb2_mv; in wcd934x_codec_parse_data()