Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dqcom-spmi-vadc.c357 u16 read_1, read_2; in vadc_measure_ref_points() local
364 ret = vadc_do_conversion(vadc, prop, &read_1); in vadc_measure_ref_points()
377 if (read_1 == read_2) { in vadc_measure_ref_points()
382 vadc->graph[VADC_CALIB_ABSOLUTE].dy = read_1 - read_2; in vadc_measure_ref_points()
387 ret = vadc_do_conversion(vadc, prop, &read_1); in vadc_measure_ref_points()
396 if (read_1 == read_2) { in vadc_measure_ref_points()
401 vadc->graph[VADC_CALIB_RATIOMETRIC].dy = read_1 - read_2; in vadc_measure_ref_points()