Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Db43.h1102 #define INT_TO_Q52(i) ((i) << 2) macro
Dphy_g.c2920 if (unlikely(max_pwr >= INT_TO_Q52(30/*dBm*/))) { in b43_gphy_op_recalc_txpower()
2923 max_pwr = INT_TO_Q52(20); /* fake it */ in b43_gphy_op_recalc_txpower()
2929 desired_pwr = INT_TO_Q52(0); in b43_gphy_op_recalc_txpower()
2931 desired_pwr = INT_TO_Q52(phy->desired_txpower); in b43_gphy_op_recalc_txpower()
Dphy_n.c5900 max = INT_TO_Q52(phy->chandef->chan->max_power); in b43_nphy_op_recalc_txpower()
5902 max = min_t(u8, max, INT_TO_Q52(phy->desired_txpower)); in b43_nphy_op_recalc_txpower()
5920 b43_ppr_apply_min(dev, ppr, INT_TO_Q52(8)); in b43_nphy_op_recalc_txpower()