Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/dvb-frontends/
Dmb86a20s.c323 unsigned rf_max, rf_min, rf; in mb86a20s_read_signal_strength() local
334 rf_min = 0; in mb86a20s_read_signal_strength()
336 rf = (rf_max + rf_min) / 2; in mb86a20s_read_signal_strength()
354 rf_min = (rf_max + rf_min) / 2; in mb86a20s_read_signal_strength()
356 rf_max = (rf_max + rf_min) / 2; in mb86a20s_read_signal_strength()
357 if (rf_max - rf_min < 4) { in mb86a20s_read_signal_strength()
358 rf = (rf_max + rf_min) / 2; in mb86a20s_read_signal_strength()
367 __func__, rf, rf_min, rf >> 4, rf_max); in mb86a20s_read_signal_strength()
/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dphy_g.c2776 const int rf_min = lo->rfatt_list.min_val; in b43_put_attenuation_into_ranges() local
2784 if (rfatt < rf_min && bbatt < bb_min + 4) in b43_put_attenuation_into_ranges()
2788 if (bbatt < bb_min && rfatt < rf_min + 1) in b43_put_attenuation_into_ranges()
2806 if (rfatt < rf_min) { in b43_put_attenuation_into_ranges()
2814 *_rfatt = clamp_val(rfatt, rf_min, rf_max); in b43_put_attenuation_into_ranges()