Lines Matching refs:rfpath

37 				       enum radio_path rfpath, u32 offset);
39 enum radio_path rfpath, u32 offset,
105 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_rf_reg() argument
113 regaddr, rfpath, bitmask); in rtl92ee_phy_query_rf_reg()
117 original_value = _rtl92ee_phy_rf_serial_read(hw , rfpath, regaddr); in rtl92ee_phy_query_rf_reg()
125 regaddr, rfpath, bitmask, original_value); in rtl92ee_phy_query_rf_reg()
131 enum radio_path rfpath, in rtl92ee_phy_set_rf_reg() argument
140 addr, bitmask, data, rfpath); in rtl92ee_phy_set_rf_reg()
145 original_value = _rtl92ee_phy_rf_serial_read(hw, rfpath, addr); in rtl92ee_phy_set_rf_reg()
150 _rtl92ee_phy_rf_serial_write(hw, rfpath, addr, data); in rtl92ee_phy_set_rf_reg()
156 addr, bitmask, data, rfpath); in rtl92ee_phy_set_rf_reg()
160 enum radio_path rfpath, u32 offset) in _rtl92ee_phy_rf_serial_read() argument
164 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_read()
177 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read()
188 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read()
191 else if (rfpath == RF90_PATH_B) in _rtl92ee_phy_rf_serial_read()
202 rfpath, pphyreg->rf_rb, retvalue); in _rtl92ee_phy_rf_serial_read()
207 enum radio_path rfpath, u32 offset, in _rtl92ee_phy_rf_serial_write() argument
214 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_write()
225 "RFW-%d Addr[0x%x]=0x%x\n", rfpath, in _rtl92ee_phy_rf_serial_write()
312 enum radio_path rfpath, u32 regaddr) in _rtl92ee_config_rf_reg() argument
317 rtl_set_rfreg(hw, rfpath, regaddr, RFREG_OFFSET_MASK, data); in _rtl92ee_config_rf_reg()
324 getvalue = rtl_get_rfreg(hw, rfpath, addr, MASKDWORD); in _rtl92ee_config_rf_reg()
329 rtl_set_rfreg(hw, rfpath, regaddr, in _rtl92ee_config_rf_reg()
332 getvalue = rtl_get_rfreg(hw, rfpath, addr, in _rtl92ee_config_rf_reg()
343 getvalue = rtl_get_rfreg(hw, rfpath, addr, MASKDWORD); in _rtl92ee_config_rf_reg()
348 rtl_set_rfreg(hw, rfpath, regaddr, in _rtl92ee_config_rf_reg()
351 rtl_set_rfreg(hw, rfpath, 0x18, in _rtl92ee_config_rf_reg()
354 getvalue = rtl_get_rfreg(hw, rfpath, addr, in _rtl92ee_config_rf_reg()
862 enum radio_path rfpath, in _rtl92ee_store_tx_power_by_rate() argument
875 if (rfpath > MAX_RF_PATH - 1) { in _rtl92ee_store_tx_power_by_rate()
877 "Invalid RfPath %d\n", rfpath); in _rtl92ee_store_tx_power_by_rate()
885 rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][section] = data; in _rtl92ee_store_tx_power_by_rate()
930 enum radio_path rfpath) in rtl92ee_phy_config_rf_with_headerfile() argument
938 switch (rfpath) { in rtl92ee_phy_config_rf_with_headerfile()
944 RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl92ee_phy_config_rf_with_headerfile()
991 RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl92ee_phy_config_rf_with_headerfile()
1253 enum radio_path rfpath, u8 rate, in _rtl92ee_get_txpower_index() argument
1269 tx_power = rtlefuse->txpwrlevel_cck[rfpath][index]; in _rtl92ee_get_txpower_index()
1271 tx_power = rtlefuse->txpwrlevel_ht40_1s[rfpath][index]; in _rtl92ee_get_txpower_index()
1276 tx_power += rtlefuse->txpwr_legacyhtdiff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1281 tx_power += rtlefuse->txpwr_ht20diff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1283 tx_power += rtlefuse->txpwr_ht20diff[rfpath][TX_2S]; in _rtl92ee_get_txpower_index()
1286 tx_power += rtlefuse->txpwr_ht40diff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1288 tx_power += rtlefuse->txpwr_ht40diff[rfpath][TX_2S]; in _rtl92ee_get_txpower_index()
1293 rfpath, rate); in _rtl92ee_get_txpower_index()
1304 enum radio_path rfpath, u8 rate) in _rtl92ee_set_txpower_index() argument
1308 if (rfpath == RF90_PATH_A) { in _rtl92ee_set_txpower_index()
1427 } else if (rfpath == RF90_PATH_B) { in _rtl92ee_set_txpower_index()
1552 enum radio_path rfpath, u8 bw, in phy_set_txpower_index_by_rate_array() argument
1559 power_index = _rtl92ee_get_txpower_index(hw, rfpath, rates[i], in phy_set_txpower_index_by_rate_array()
1561 _rtl92ee_set_txpower_index(hw, power_index, rfpath, rates[i]); in phy_set_txpower_index_by_rate_array()
1566 enum radio_path rfpath, in phy_set_txpower_index_by_rate_section() argument
1578 phy_set_txpower_index_by_rate_array(hw, rfpath, in phy_set_txpower_index_by_rate_section()
1586 phy_set_txpower_index_by_rate_array(hw, rfpath, in phy_set_txpower_index_by_rate_section()
1594 phy_set_txpower_index_by_rate_array(hw, rfpath, in phy_set_txpower_index_by_rate_section()
1602 phy_set_txpower_index_by_rate_array(hw, rfpath, in phy_set_txpower_index_by_rate_section()
1614 enum radio_path rfpath; in rtl92ee_phy_set_txpower_level() local
1618 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl92ee_phy_set_txpower_level()
1619 rfpath++) { in rtl92ee_phy_set_txpower_level()
1620 phy_set_txpower_index_by_rate_section(hw, rfpath, in rtl92ee_phy_set_txpower_level()
1622 phy_set_txpower_index_by_rate_section(hw, rfpath, in rtl92ee_phy_set_txpower_level()
1624 phy_set_txpower_index_by_rate_section(hw, rfpath, in rtl92ee_phy_set_txpower_level()
1630 rfpath, channel, in rtl92ee_phy_set_txpower_level()
1846 u8 rfpath; in _rtl92ee_phy_sw_chnl_step_by_step() local
1917 for (rfpath = 0; rfpath < num_total_rfpath; rfpath++) { in _rtl92ee_phy_sw_chnl_step_by_step()
1918 rtlphy->rfreg_chnlval[rfpath] = in _rtl92ee_phy_sw_chnl_step_by_step()
1919 ((rtlphy->rfreg_chnlval[rfpath] & in _rtl92ee_phy_sw_chnl_step_by_step()
1922 rtl_set_rfreg(hw, (enum radio_path)rfpath, in _rtl92ee_phy_sw_chnl_step_by_step()
1925 rtlphy->rfreg_chnlval[rfpath]); in _rtl92ee_phy_sw_chnl_step_by_step()