Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/iio/adc/
Dqcom-vadc-common.h27 #define VADC_DEF_CALIB_TYPE VADC_CALIB_ABSOLUTE
64 VADC_CALIB_ABSOLUTE = 0, enumerator
/linux-6.12.1/drivers/iio/adc/
Dqcom-pm8xxx-xoadc.c590 adc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in pm8xxx_calibrate_device()
615 adc->graph[VADC_CALIB_ABSOLUTE].dy = read_1250v - read_0625v; in pm8xxx_calibrate_device()
616 adc->graph[VADC_CALIB_ABSOLUTE].gnd = read_0625v; in pm8xxx_calibrate_device()
619 VADC_ABSOLUTE_RANGE_UV, adc->graph[VADC_CALIB_ABSOLUTE].dy); in pm8xxx_calibrate_device()
672 (ch->calibration == VADC_CALIB_ABSOLUTE), in pm8xxx_read_raw()
776 ch->calibration = VADC_CALIB_ABSOLUTE; in pm8xxx_xoadc_parse_channel()
Dqcom-spmi-vadc.c361 vadc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in vadc_measure_ref_points()
382 vadc->graph[VADC_CALIB_ABSOLUTE].dy = read_1 - read_2; in vadc_measure_ref_points()
383 vadc->graph[VADC_CALIB_ABSOLUTE].gnd = read_2; in vadc_measure_ref_points()
465 (prop->calibration == VADC_CALIB_ABSOLUTE), in vadc_read_raw()
745 prop->calibration = VADC_CALIB_ABSOLUTE; in vadc_get_fw_channel_data()