Searched refs:adc_result (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/mfd/
H A Dpcf50633-adc.c159 static int adc_result(struct pcf50633 *pcf) function
193 res = adc_result(pcf);
/linux-master/sound/soc/codecs/
H A Dwcd-mbhc-v2.c862 u8 adc_result; local
888 adc_result = wcd_mbhc_read_field(mbhc, WCD_MBHC_ADC_RESULT);
894 output_mv = wcd_get_voltage_from_adc(adc_result, wcd_mbhc_get_micbias(mbhc));
904 u8 adc_result; local
936 adc_result = wcd_mbhc_read_field(mbhc, WCD_MBHC_ADC_RESULT);
939 output_mv = wcd_get_voltage_from_adc(adc_result,
1083 static int wcd_mbhc_get_plug_from_adc(struct wcd_mbhc *mbhc, int adc_result) argument
1092 if (adc_result < hph_thr)
1094 else if (adc_result > hs_thr)
/linux-master/drivers/iio/addac/
H A Dad74413r.c879 static void ad74413r_adc_to_resistance_result(int adc_result, int *val) argument
881 if (adc_result == AD74413R_ADC_RESULT_MAX)
882 adc_result = AD74413R_ADC_RESULT_MAX - 1;
884 *val = DIV_ROUND_CLOSEST(adc_result * 2100,
885 AD74413R_ADC_RESULT_MAX - adc_result);

Completed in 84 milliseconds