Lines Matching refs:rf
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()
227 ((rf == 0) ? 'A' : 'B'), in get_txpower_writeval_by_regulatory()
228 rtlefuse->pwrgroup_ht40[rf][channel - 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()
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()
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()
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()