Lines Matching refs:rfpath

15 				       enum radio_path rfpath, u32 offset);
17 enum radio_path rfpath, u32 offset,
83 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_rf_reg() argument
90 regaddr, rfpath, bitmask); in rtl92ee_phy_query_rf_reg()
94 original_value = _rtl92ee_phy_rf_serial_read(hw , rfpath, regaddr); in rtl92ee_phy_query_rf_reg()
102 regaddr, rfpath, bitmask, original_value); in rtl92ee_phy_query_rf_reg()
108 enum radio_path rfpath, in rtl92ee_phy_set_rf_reg() argument
116 addr, bitmask, data, rfpath); in rtl92ee_phy_set_rf_reg()
121 original_value = _rtl92ee_phy_rf_serial_read(hw, rfpath, addr); in rtl92ee_phy_set_rf_reg()
126 _rtl92ee_phy_rf_serial_write(hw, rfpath, addr, data); in rtl92ee_phy_set_rf_reg()
132 addr, bitmask, data, rfpath); in rtl92ee_phy_set_rf_reg()
136 enum radio_path rfpath, u32 offset) in _rtl92ee_phy_rf_serial_read() argument
140 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_read()
153 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read()
163 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read()
166 else if (rfpath == RF90_PATH_B) in _rtl92ee_phy_rf_serial_read()
177 rfpath, pphyreg->rf_rb, retvalue); in _rtl92ee_phy_rf_serial_read()
182 enum radio_path rfpath, u32 offset, in _rtl92ee_phy_rf_serial_write() argument
189 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_write()
200 "RFW-%d Addr[0x%x]=0x%x\n", rfpath, in _rtl92ee_phy_rf_serial_write()
283 enum radio_path rfpath, u32 regaddr) in _rtl92ee_config_rf_reg() argument
288 rtl_set_rfreg(hw, rfpath, regaddr, RFREG_OFFSET_MASK, data); in _rtl92ee_config_rf_reg()
295 getvalue = rtl_get_rfreg(hw, rfpath, addr, MASKDWORD); in _rtl92ee_config_rf_reg()
300 rtl_set_rfreg(hw, rfpath, regaddr, in _rtl92ee_config_rf_reg()
303 getvalue = rtl_get_rfreg(hw, rfpath, addr, in _rtl92ee_config_rf_reg()
314 getvalue = rtl_get_rfreg(hw, rfpath, addr, MASKDWORD); in _rtl92ee_config_rf_reg()
319 rtl_set_rfreg(hw, rfpath, regaddr, in _rtl92ee_config_rf_reg()
322 rtl_set_rfreg(hw, rfpath, 0x18, in _rtl92ee_config_rf_reg()
325 getvalue = rtl_get_rfreg(hw, rfpath, addr, in _rtl92ee_config_rf_reg()
833 enum radio_path rfpath, in _rtl92ee_store_tx_power_by_rate() argument
846 if (rfpath > MAX_RF_PATH - 1) { in _rtl92ee_store_tx_power_by_rate()
848 "Invalid RfPath %d\n", rfpath); in _rtl92ee_store_tx_power_by_rate()
856 rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][section] = data; in _rtl92ee_store_tx_power_by_rate()
901 enum radio_path rfpath) in rtl92ee_phy_config_rf_with_headerfile() argument
909 switch (rfpath) { in rtl92ee_phy_config_rf_with_headerfile()
915 rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl92ee_phy_config_rf_with_headerfile()
962 rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl92ee_phy_config_rf_with_headerfile()
1224 enum radio_path rfpath, u8 rate, in _rtl92ee_get_txpower_index() argument
1240 tx_power = rtlefuse->txpwrlevel_cck[rfpath][index]; in _rtl92ee_get_txpower_index()
1242 tx_power = rtlefuse->txpwrlevel_ht40_1s[rfpath][index]; in _rtl92ee_get_txpower_index()
1247 tx_power += rtlefuse->txpwr_legacyhtdiff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1252 tx_power += rtlefuse->txpwr_ht20diff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1254 tx_power += rtlefuse->txpwr_ht20diff[rfpath][TX_2S]; in _rtl92ee_get_txpower_index()
1257 tx_power += rtlefuse->txpwr_ht40diff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1259 tx_power += rtlefuse->txpwr_ht40diff[rfpath][TX_2S]; in _rtl92ee_get_txpower_index()
1264 rfpath, rate); in _rtl92ee_get_txpower_index()
1275 enum radio_path rfpath, u8 rate) in _rtl92ee_set_txpower_index() argument
1279 if (rfpath == RF90_PATH_A) { in _rtl92ee_set_txpower_index()
1398 } else if (rfpath == RF90_PATH_B) { in _rtl92ee_set_txpower_index()
1523 enum radio_path rfpath, u8 bw, in phy_set_txpower_index_by_rate_array() argument
1530 power_index = _rtl92ee_get_txpower_index(hw, rfpath, rates[i], in phy_set_txpower_index_by_rate_array()
1532 _rtl92ee_set_txpower_index(hw, power_index, rfpath, rates[i]); in phy_set_txpower_index_by_rate_array()
1537 enum radio_path rfpath, in phy_set_txpower_index_by_rate_section() argument
1549 phy_set_txpower_index_by_rate_array(hw, rfpath, in phy_set_txpower_index_by_rate_section()
1557 phy_set_txpower_index_by_rate_array(hw, rfpath, in phy_set_txpower_index_by_rate_section()
1565 phy_set_txpower_index_by_rate_array(hw, rfpath, in phy_set_txpower_index_by_rate_section()
1573 phy_set_txpower_index_by_rate_array(hw, rfpath, in phy_set_txpower_index_by_rate_section()
1585 enum radio_path rfpath; in rtl92ee_phy_set_txpower_level() local
1589 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl92ee_phy_set_txpower_level()
1590 rfpath++) { in rtl92ee_phy_set_txpower_level()
1591 phy_set_txpower_index_by_rate_section(hw, rfpath, in rtl92ee_phy_set_txpower_level()
1593 phy_set_txpower_index_by_rate_section(hw, rfpath, in rtl92ee_phy_set_txpower_level()
1595 phy_set_txpower_index_by_rate_section(hw, rfpath, in rtl92ee_phy_set_txpower_level()
1601 rfpath, channel, in rtl92ee_phy_set_txpower_level()
1816 u8 rfpath; in _rtl92ee_phy_sw_chnl_step_by_step() local
1887 for (rfpath = 0; rfpath < num_total_rfpath; rfpath++) { in _rtl92ee_phy_sw_chnl_step_by_step()
1888 rtlphy->rfreg_chnlval[rfpath] = in _rtl92ee_phy_sw_chnl_step_by_step()
1889 ((rtlphy->rfreg_chnlval[rfpath] & in _rtl92ee_phy_sw_chnl_step_by_step()
1892 rtl_set_rfreg(hw, (enum radio_path)rfpath, in _rtl92ee_phy_sw_chnl_step_by_step()
1895 rtlphy->rfreg_chnlval[rfpath]); in _rtl92ee_phy_sw_chnl_step_by_step()