Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath5k/
Dphy.c2419 s16 y_left, s16 y_right) in ath5k_get_interpolated_value() argument
2425 if ((x_left == x_right) || (y_left == y_right)) in ath5k_get_interpolated_value()
2426 return y_left; 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()