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

/linux-master/drivers/iio/adc/
H A Dqcom-spmi-vadc.c357 u16 read_1, read_2; local
373 ret = vadc_do_conversion(vadc, prop, &read_2);
377 if (read_1 == read_2) {
382 vadc->graph[VADC_CALIB_ABSOLUTE].dy = read_1 - read_2;
383 vadc->graph[VADC_CALIB_ABSOLUTE].gnd = read_2;
392 ret = vadc_do_conversion(vadc, prop, &read_2);
396 if (read_1 == read_2) {
401 vadc->graph[VADC_CALIB_RATIOMETRIC].dy = read_1 - read_2;
402 vadc->graph[VADC_CALIB_RATIOMETRIC].gnd = read_2;

Completed in 104 milliseconds