Lines Matching refs:rfpath

52 u32 rtl8723be_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,  in rtl8723be_phy_query_rf_reg()  argument
61 regaddr, rfpath, bitmask); in rtl8723be_phy_query_rf_reg()
65 original_value = rtl8723_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8723be_phy_query_rf_reg()
73 regaddr, rfpath, bitmask, original_value); in rtl8723be_phy_query_rf_reg()
185 u32 data, enum radio_path rfpath, in _rtl8723be_config_rf_reg() argument
194 rtl_set_rfreg(hw, rfpath, regaddr, RFREG_OFFSET_MASK, data); in _rtl8723be_config_rf_reg()
410 u8 base = 0, rfpath = RF90_PATH_A; in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() local
413 BAND_ON_2_4G, rfpath, RF_1TX, CCK); in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
415 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][2], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
418 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][3], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
421 base = _rtl8723be_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfpath, in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
424 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][0], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
427 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][1], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
431 rfpath, RF_1TX, HT_MCS0_MCS7); in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
433 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][4], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
436 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][5], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
440 rfpath, RF_2TX, in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
443 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_2TX][6], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
447 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_2TX][7], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
696 u32 band, u32 rfpath, in _rtl8723be_store_tx_power_by_rate() argument
708 if (rfpath > MAX_RF_PATH - 1) { in _rtl8723be_store_tx_power_by_rate()
710 "Invalid RfPath %d\n", rfpath); in _rtl8723be_store_tx_power_by_rate()
718 rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section] = in _rtl8723be_store_tx_power_by_rate()
762 enum radio_path rfpath) in rtl8723be_phy_config_rf_with_headerfile() argument
783 RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl8723be_phy_config_rf_with_headerfile()
785 switch (rfpath) { in rtl8723be_phy_config_rf_with_headerfile()
951 enum radio_path rfpath, u8 rate) in _rtl8723be_get_txpower_by_rate() argument
958 rate_section = _rtl8723be_phy_get_ratesection_intxpower_byrate(rfpath, in _rtl8723be_get_txpower_by_rate()
1010 tx_pwr_diff = (u8)(rtlphy->tx_power_by_rate_offset[band][rfpath][tx_num] in _rtl8723be_get_txpower_by_rate()
1422 u8 rfpath; in _rtl8723be_phy_sw_chnl_step_by_step() local
1497 for (rfpath = 0; rfpath < num_total_rfpath; rfpath++) { in _rtl8723be_phy_sw_chnl_step_by_step()
1498 rtlphy->rfreg_chnlval[rfpath] = in _rtl8723be_phy_sw_chnl_step_by_step()
1499 ((rtlphy->rfreg_chnlval[rfpath] & in _rtl8723be_phy_sw_chnl_step_by_step()
1502 rtl_set_rfreg(hw, (enum radio_path)rfpath, in _rtl8723be_phy_sw_chnl_step_by_step()
1505 rtlphy->rfreg_chnlval[rfpath]); in _rtl8723be_phy_sw_chnl_step_by_step()