Home
last modified time | relevance | path

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

/Linux-v5.15/sound/soc/codecs/
Dwcd-mbhc-v2.c785 u8 adc_result; in wcd_measure_adc_continuous() local
811 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() local
859 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() argument
1015 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()
/Linux-v5.15/drivers/mfd/
Dpcf50633-adc.c154 static int adc_result(struct pcf50633 *pcf) in adc_result() function
188 res = adc_result(pcf); in pcf50633_adc_irq()