Searched refs:delta_v (Results 1 – 3 of 3) sorted by relevance
196 uint32_t delta_v = TP_HIGH_VOLTAGE - TP_LOW_VOLTAGE; in characterize_using_two_point() local198 …*coeff_a = (delta_v * atten_scales[atten] + (delta_x / 2)) / delta_x; //+(delta_x/2) for rounding in characterize_using_two_point()200 … *coeff_b = TP_HIGH_VOLTAGE - ((delta_v * high + (delta_x / 2)) / delta_x) + atten_offsets[atten]; in characterize_using_two_point()
202 uint32_t delta_v = TP_HIGH_VOLTAGE - TP_LOW_VOLTAGE; in characterize_using_two_point() local204 …*coeff_a = (delta_v * atten_scales[atten] + (delta_x / 2)) / delta_x; //+(delta_x/2) for rounding in characterize_using_two_point()206 … *coeff_b = TP_HIGH_VOLTAGE - ((delta_v * high + (delta_x / 2)) / delta_x) + atten_offsets[atten]; in characterize_using_two_point()
374 uint32_t delta_v = TP_HIGH_VOLTAGE - TP_LOW_VOLTAGE; in characterize_using_two_point() local376 …*coeff_a = (delta_v * atten_scales[atten] + (delta_x / 2)) / delta_x; //+(delta_x/2) for rounding in characterize_using_two_point()378 … *coeff_b = TP_HIGH_VOLTAGE - ((delta_v * high + (delta_x / 2)) / delta_x) + atten_offsets[atten]; in characterize_using_two_point()