Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath5k/
Dphy.c2422 ath5k_get_interpolated_value(s16 target, s16 x_left, s16 x_right, in ath5k_get_interpolated_value() argument
2429 if ((x_left == x_right) || (y_left == y_right)) in ath5k_get_interpolated_value()
2438 ratio = ((100 * y_right - 100 * y_left) / (x_right - x_left)); in ath5k_get_interpolated_value()
2441 result = y_left + (ratio * (target - x_left) / 100); in ath5k_get_interpolated_value()