Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Dphy.c2418 ath5k_get_interpolated_value(s16 target, s16 x_left, s16 x_right, in ath5k_get_interpolated_value() argument
2425 if ((x_left == x_right) || (y_left == y_right)) in ath5k_get_interpolated_value()
2434 ratio = ((100 * y_right - 100 * y_left) / (x_right - x_left)); in ath5k_get_interpolated_value()
2437 result = y_left + (ratio * (target - x_left) / 100); in ath5k_get_interpolated_value()