Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath5k/
H A Dphy.c2416 s16 y_left, s16 y_right) in ath5k_get_interpolated_value() argument
2422 if ((x_left == x_right) || (y_left == y_right)) in ath5k_get_interpolated_value()
2423 return y_left; in ath5k_get_interpolated_value()
2431 ratio = ((100 * y_right - 100 * y_left) / (x_right - x_left)); in ath5k_get_interpolated_value()
2434 result = y_left + (ratio * (target - x_left) / 100); in ath5k_get_interpolated_value()