Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/iio/adc/
A Dqcom-vadc-common.h27 #define VADC_DEF_CALIB_TYPE VADC_CALIB_ABSOLUTE
64 VADC_CALIB_ABSOLUTE = 0, enumerator
/linux-6.3-rc2/drivers/iio/adc/
A Dqcom-pm8xxx-xoadc.c591 adc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in pm8xxx_calibrate_device()
616 adc->graph[VADC_CALIB_ABSOLUTE].dy = read_1250v - read_0625v; in pm8xxx_calibrate_device()
617 adc->graph[VADC_CALIB_ABSOLUTE].gnd = read_0625v; in pm8xxx_calibrate_device()
620 VADC_ABSOLUTE_RANGE_UV, adc->graph[VADC_CALIB_ABSOLUTE].dy); in pm8xxx_calibrate_device()
673 (ch->calibration == VADC_CALIB_ABSOLUTE), in pm8xxx_read_raw()
777 ch->calibration = VADC_CALIB_ABSOLUTE; in pm8xxx_xoadc_parse_channel()
A Dqcom-spmi-vadc.c359 vadc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in vadc_measure_ref_points()
380 vadc->graph[VADC_CALIB_ABSOLUTE].dy = read_1 - read_2; in vadc_measure_ref_points()
381 vadc->graph[VADC_CALIB_ABSOLUTE].gnd = read_2; in vadc_measure_ref_points()
463 (prop->calibration == VADC_CALIB_ABSOLUTE), in vadc_read_raw()
728 prop->calibration = VADC_CALIB_ABSOLUTE; in vadc_get_fw_channel_data()

Completed in 8 milliseconds