Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/adc/
Dqcom-vadc-common.h24 #define VADC_DEF_CALIB_TYPE VADC_CALIB_ABSOLUTE
54 VADC_CALIB_ABSOLUTE = 0, enumerator
Dqcom-pm8xxx-xoadc.c592 adc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in pm8xxx_calibrate_device()
617 adc->graph[VADC_CALIB_ABSOLUTE].dy = read_1250v - read_0625v; in pm8xxx_calibrate_device()
618 adc->graph[VADC_CALIB_ABSOLUTE].gnd = read_0625v; in pm8xxx_calibrate_device()
621 VADC_ABSOLUTE_RANGE_UV, adc->graph[VADC_CALIB_ABSOLUTE].dy); in pm8xxx_calibrate_device()
674 (ch->calibration == VADC_CALIB_ABSOLUTE), in pm8xxx_read_raw()
778 ch->calibration = VADC_CALIB_ABSOLUTE; in pm8xxx_xoadc_parse_channel()
Dqcom-spmi-vadc.c367 vadc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in vadc_measure_ref_points()
388 vadc->graph[VADC_CALIB_ABSOLUTE].dy = read_1 - read_2; in vadc_measure_ref_points()
389 vadc->graph[VADC_CALIB_ABSOLUTE].gnd = read_2; in vadc_measure_ref_points()
471 (prop->calibration == VADC_CALIB_ABSOLUTE), in vadc_read_raw()
736 prop->calibration = VADC_CALIB_ABSOLUTE; in vadc_get_dt_channel_data()