Lines Matching full:rf
8 #include "rf.h"
108 "CCK PWR 1M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl88e_phy_rf6052_set_cck_txpower()
118 "CCK PWR 2~11M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl88e_phy_rf6052_set_cck_txpower()
125 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl88e_phy_rf6052_set_cck_txpower()
132 "CCK PWR 1~5.5M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl88e_phy_rf6052_set_cck_txpower()
154 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl88e_phy_get_power_base()
171 " [MCS power base index rf(%c) = 0x%x]\n", in rtl88e_phy_get_power_base()
186 u32 writeval, customer_limit, rf; in _rtl88e_get_txpower_writeval_by_regulatory() local
188 for (rf = 0; rf < 2; rf++) { in _rtl88e_get_txpower_writeval_by_regulatory()
195 [chnlgroup][index + (rf ? 8 : 0)] in _rtl88e_get_txpower_writeval_by_regulatory()
196 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
200 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl88e_get_txpower_writeval_by_regulatory()
222 [index + (rf ? 8 : 0)] + ((index < 2) ? in _rtl88e_get_txpower_writeval_by_regulatory()
223 powerbase0[rf] : in _rtl88e_get_txpower_writeval_by_regulatory()
224 powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
228 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl88e_get_txpower_writeval_by_regulatory()
233 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
237 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl88e_get_txpower_writeval_by_regulatory()
244 "customer's limit, 40MHz rf(%c) = 0x%x\n", in _rtl88e_get_txpower_writeval_by_regulatory()
245 ((rf == 0) ? 'A' : 'B'), in _rtl88e_get_txpower_writeval_by_regulatory()
246 rtlefuse->pwrgroup_ht40[rf][channel - in _rtl88e_get_txpower_writeval_by_regulatory()
250 "customer's limit, 20MHz rf(%c) = 0x%x\n", in _rtl88e_get_txpower_writeval_by_regulatory()
251 ((rf == 0) ? 'A' : 'B'), in _rtl88e_get_txpower_writeval_by_regulatory()
252 rtlefuse->pwrgroup_ht20[rf][channel - in _rtl88e_get_txpower_writeval_by_regulatory()
258 rtlefuse->txpwr_legacyhtdiff[rf][channel-1]; in _rtl88e_get_txpower_writeval_by_regulatory()
261 rtlefuse->txpwr_ht20diff[rf][channel-1]; in _rtl88e_get_txpower_writeval_by_regulatory()
265 rtlefuse->pwrgroup_ht40[rf][channel-1]; in _rtl88e_get_txpower_writeval_by_regulatory()
268 rtlefuse->pwrgroup_ht20[rf][channel-1]; in _rtl88e_get_txpower_writeval_by_regulatory()
279 (rf ? 8 : 0)] & (0x7f << in _rtl88e_get_txpower_writeval_by_regulatory()
291 "Customer's limit rf(%c) = 0x%x\n", in _rtl88e_get_txpower_writeval_by_regulatory()
292 ((rf == 0) ? 'A' : 'B'), customer_limit); in _rtl88e_get_txpower_writeval_by_regulatory()
295 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
298 "Customer, writeval rf(%c)= 0x%x\n", in _rtl88e_get_txpower_writeval_by_regulatory()
299 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl88e_get_txpower_writeval_by_regulatory()
305 [index + (rf ? 8 : 0)] in _rtl88e_get_txpower_writeval_by_regulatory()
306 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
309 "RTK better performance, writeval rf(%c) = 0x%x\n", in _rtl88e_get_txpower_writeval_by_regulatory()
310 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl88e_get_txpower_writeval_by_regulatory()
319 *(p_outwriteval + rf) = writeval; in _rtl88e_get_txpower_writeval_by_regulatory()
337 u8 i, rf, pwr_val[4]; in _rtl88e_write_ofdm_power_reg() local
341 for (rf = 0; rf < 2; rf++) { in _rtl88e_write_ofdm_power_reg()
342 writeval = value[rf]; in _rtl88e_write_ofdm_power_reg()
353 if (rf == 0) in _rtl88e_write_ofdm_power_reg()