Searched refs:INT_TO_Q52 (Results 1 – 3 of 3) sorted by relevance
1102 #define INT_TO_Q52(i) ((i) << 2) macro
2920 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()
5900 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()