Searched refs:adc_result (Results 1 – 2 of 2) sorted by relevance
785 u8 adc_result; in wcd_measure_adc_continuous() local811 adc_result = wcd_mbhc_read_field(mbhc, WCD_MBHC_ADC_RESULT); in wcd_measure_adc_continuous()817 output_mv = wcd_get_voltage_from_adc(adc_result, wcd_mbhc_get_micbias(mbhc)); in wcd_measure_adc_continuous()827 u8 adc_result; in wcd_measure_adc_once() local859 adc_result = wcd_mbhc_read_field(mbhc, WCD_MBHC_ADC_RESULT); in wcd_measure_adc_once()862 output_mv = wcd_get_voltage_from_adc(adc_result, in wcd_measure_adc_once()1006 static int wcd_mbhc_get_plug_from_adc(struct wcd_mbhc *mbhc, int adc_result) in wcd_mbhc_get_plug_from_adc() argument1015 if (adc_result < hph_thr) in wcd_mbhc_get_plug_from_adc()1017 else if (adc_result > hs_thr) in wcd_mbhc_get_plug_from_adc()
154 static int adc_result(struct pcf50633 *pcf) in adc_result() function188 res = adc_result(pcf); in pcf50633_adc_irq()