Lines Matching full:rf

8 #include "rf.h"
107 "CCK PWR 1~11M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl8821ae_phy_rf6052_set_cck_txpower()
114 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl8821ae_phy_rf6052_set_cck_txpower()
136 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl8821ae_phy_get_power_base()
153 " [MCS power base index rf(%c) = 0x%x]\n", in rtl8821ae_phy_get_power_base()
168 u32 writeval, customer_limit, rf; in get_txpower_writeval_by_regulatory() local
170 for (rf = 0; rf < 2; rf++) { in get_txpower_writeval_by_regulatory()
177 (rf ? 8 : 0)] in get_txpower_writeval_by_regulatory()
178 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_regulatory()
182 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_regulatory()
204 [index + (rf ? 8 : 0)] + ((index < 2) ? in get_txpower_writeval_by_regulatory()
205 powerbase0[rf] : in get_txpower_writeval_by_regulatory()
206 powerbase1[rf]); in get_txpower_writeval_by_regulatory()
210 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_regulatory()
215 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_regulatory()
219 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_regulatory()
226 "customer's limit, 40MHz rf(%c) = 0x%x\n", in get_txpower_writeval_by_regulatory()
227 ((rf == 0) ? 'A' : 'B'), in get_txpower_writeval_by_regulatory()
228 rtlefuse->pwrgroup_ht40[rf][channel - in get_txpower_writeval_by_regulatory()
232 "customer's limit, 20MHz rf(%c) = 0x%x\n", in get_txpower_writeval_by_regulatory()
233 ((rf == 0) ? 'A' : 'B'), in get_txpower_writeval_by_regulatory()
234 rtlefuse->pwrgroup_ht20[rf][channel - in get_txpower_writeval_by_regulatory()
239 pwr_diff = rtlefuse->txpwr_legacyhtdiff[rf][channel-1]; in get_txpower_writeval_by_regulatory()
242 rtlefuse->txpwr_ht20diff[rf][channel-1]; in get_txpower_writeval_by_regulatory()
246 rtlefuse->pwrgroup_ht40[rf][channel-1]; in get_txpower_writeval_by_regulatory()
249 rtlefuse->pwrgroup_ht20[rf][channel-1]; in get_txpower_writeval_by_regulatory()
259 [chnlgroup][index + (rf ? 8 : 0)] & in get_txpower_writeval_by_regulatory()
271 "Customer's limit rf(%c) = 0x%x\n", in get_txpower_writeval_by_regulatory()
272 ((rf == 0) ? 'A' : 'B'), customer_limit); in get_txpower_writeval_by_regulatory()
275 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_regulatory()
278 "Customer, writeval rf(%c)= 0x%x\n", in get_txpower_writeval_by_regulatory()
279 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_regulatory()
285 [index + (rf ? 8 : 0)] in get_txpower_writeval_by_regulatory()
286 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_regulatory()
289 "RTK better performance, writeval rf(%c) = 0x%x\n", in get_txpower_writeval_by_regulatory()
290 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_regulatory()
299 *(p_outwriteval + rf) = writeval; in get_txpower_writeval_by_regulatory()
317 u8 i, rf, pwr_val[4]; in _rtl8821ae_write_ofdm_power_reg() local
321 for (rf = 0; rf < 2; rf++) { in _rtl8821ae_write_ofdm_power_reg()
322 writeval = pvalue[rf]; in _rtl8821ae_write_ofdm_power_reg()
333 if (rf == 0) in _rtl8821ae_write_ofdm_power_reg()