Home
last modified time | relevance | path

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

/drivers/media/dvb-frontends/
Dmb86a20s.c331 unsigned rf_max, rf_min, rf; in mb86a20s_read_signal_strength() local
342 rf_min = 0; in mb86a20s_read_signal_strength()
344 rf = (rf_max + rf_min) / 2; in mb86a20s_read_signal_strength()
362 rf_min = (rf_max + rf_min) / 2; in mb86a20s_read_signal_strength()
364 rf_max = (rf_max + rf_min) / 2; in mb86a20s_read_signal_strength()
365 if (rf_max - rf_min < 4) { in mb86a20s_read_signal_strength()
366 rf = (rf_max + rf_min) / 2; in mb86a20s_read_signal_strength()
375 __func__, rf, rf_min, rf >> 4, rf_max); in mb86a20s_read_signal_strength()
/drivers/net/wireless/broadcom/b43/
Dphy_g.c2789 const int rf_min = lo->rfatt_list.min_val; in b43_put_attenuation_into_ranges() local
2797 if (rfatt < rf_min && bbatt < bb_min + 4) in b43_put_attenuation_into_ranges()
2801 if (bbatt < bb_min && rfatt < rf_min + 1) in b43_put_attenuation_into_ranges()
2819 if (rfatt < rf_min) { in b43_put_attenuation_into_ranges()
2827 *_rfatt = clamp_val(rfatt, rf_min, rf_max); in b43_put_attenuation_into_ranges()