Lines Matching refs:rfpath

31 u32 rtl8723be_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,  in rtl8723be_phy_query_rf_reg()  argument
39 regaddr, rfpath, bitmask); in rtl8723be_phy_query_rf_reg()
43 original_value = rtl8723_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8723be_phy_query_rf_reg()
51 regaddr, rfpath, bitmask, original_value); in rtl8723be_phy_query_rf_reg()
215 u32 data, enum radio_path rfpath, in _rtl8723be_config_rf_reg() argument
224 rtl_set_rfreg(hw, rfpath, regaddr, RFREG_OFFSET_MASK, data); in _rtl8723be_config_rf_reg()
440 u8 base = 0, rfpath = RF90_PATH_A; in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() local
443 BAND_ON_2_4G, rfpath, RF_1TX, CCK); in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
445 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][2], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
448 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][3], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
451 base = _rtl8723be_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfpath, in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
454 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][0], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
457 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][1], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
461 rfpath, RF_1TX, HT_MCS0_MCS7); in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
463 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][4], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
466 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][5], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
470 rfpath, RF_2TX, in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
473 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_2TX][6], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
477 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_2TX][7], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value()
678 u32 band, u32 rfpath, in _rtl8723be_store_tx_power_by_rate() argument
690 if (rfpath > MAX_RF_PATH - 1) { in _rtl8723be_store_tx_power_by_rate()
692 "Invalid RfPath %d\n", rfpath); in _rtl8723be_store_tx_power_by_rate()
700 rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section] = in _rtl8723be_store_tx_power_by_rate()
744 enum radio_path rfpath) in rtl8723be_phy_config_rf_with_headerfile() argument
750 rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl8723be_phy_config_rf_with_headerfile()
751 switch (rfpath) { in rtl8723be_phy_config_rf_with_headerfile()
766 "switch case %#x not processed\n", rfpath); in rtl8723be_phy_config_rf_with_headerfile()
877 enum radio_path rfpath, u8 rate) in _rtl8723be_get_txpower_by_rate() argument
884 rate_section = _rtl8723be_phy_get_ratesection_intxpower_byrate(rfpath, in _rtl8723be_get_txpower_by_rate()
936 tx_pwr_diff = (u8)(rtlphy->tx_power_by_rate_offset[band][rfpath][tx_num] in _rtl8723be_get_txpower_by_rate()
1344 u8 rfpath; in _rtl8723be_phy_sw_chnl_step_by_step() local
1419 for (rfpath = 0; rfpath < num_total_rfpath; rfpath++) { in _rtl8723be_phy_sw_chnl_step_by_step()
1420 rtlphy->rfreg_chnlval[rfpath] = in _rtl8723be_phy_sw_chnl_step_by_step()
1421 ((rtlphy->rfreg_chnlval[rfpath] & in _rtl8723be_phy_sw_chnl_step_by_step()
1424 rtl_set_rfreg(hw, (enum radio_path)rfpath, in _rtl8723be_phy_sw_chnl_step_by_step()
1427 rtlphy->rfreg_chnlval[rfpath]); in _rtl8723be_phy_sw_chnl_step_by_step()