Searched refs:read_2 (Results 1 – 1 of 1) sorted by relevance
357 u16 read_1, read_2; in vadc_measure_ref_points() local373 ret = vadc_do_conversion(vadc, prop, &read_2); 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()383 vadc->graph[VADC_CALIB_ABSOLUTE].gnd = read_2; in vadc_measure_ref_points()392 ret = vadc_do_conversion(vadc, prop, &read_2); 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()402 vadc->graph[VADC_CALIB_RATIOMETRIC].gnd = read_2; in vadc_measure_ref_points()