Lines Matching refs:rfpath

26 					 enum radio_path rfpath, u32 offset);
28 enum radio_path rfpath, u32 offset,
142 enum radio_path rfpath, u32 regaddr, in rtl8821ae_phy_query_rf_reg() argument
150 regaddr, rfpath, bitmask); in rtl8821ae_phy_query_rf_reg()
154 original_value = _rtl8821ae_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8821ae_phy_query_rf_reg()
162 regaddr, rfpath, bitmask, original_value); in rtl8821ae_phy_query_rf_reg()
168 enum radio_path rfpath, in rtl8821ae_phy_set_rf_reg() argument
176 regaddr, bitmask, data, rfpath); in rtl8821ae_phy_set_rf_reg()
182 _rtl8821ae_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8821ae_phy_set_rf_reg()
187 _rtl8821ae_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl8821ae_phy_set_rf_reg()
193 regaddr, bitmask, data, rfpath); in rtl8821ae_phy_set_rf_reg()
197 enum radio_path rfpath, u32 offset) in _rtl8821ae_phy_rf_serial_read() argument
218 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read()
220 else if (rfpath == RF90_PATH_B) in _rtl8821ae_phy_rf_serial_read()
230 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read()
233 else if (rfpath == RF90_PATH_B) in _rtl8821ae_phy_rf_serial_read()
237 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read()
240 else if (rfpath == RF90_PATH_B) in _rtl8821ae_phy_rf_serial_read()
257 enum radio_path rfpath, u32 offset, in _rtl8821ae_phy_rf_serial_write() argument
262 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8821ae_phy_rf_serial_write()
277 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl8821ae_phy_rf_serial_write()
835 enum radio_path rfpath, u32 regaddr) in _rtl8821ae_config_rf_reg() argument
843 rtl_set_rfreg(hw, rfpath, regaddr, RFREG_OFFSET_MASK, data); in _rtl8821ae_config_rf_reg()
893 u8 band, rfpath, txnum, rate_section; in _rtl8821ae_phy_init_tx_power_by_rate() local
896 for (rfpath = 0; rfpath < TX_PWR_BY_RATE_NUM_RF; ++rfpath) in _rtl8821ae_phy_init_tx_power_by_rate()
902 [rfpath][txnum][rate_section] = 0; in _rtl8821ae_phy_init_tx_power_by_rate()
1469 u8 base = 0, rfpath = 0; in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() local
1471 for (rfpath = RF90_PATH_A; rfpath <= RF90_PATH_B; ++rfpath) { in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1472 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfpath, RF_1TX, CCK); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1474 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][0], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1477 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfpath, RF_1TX, OFDM); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1479 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][1], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1482 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][2], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1485 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfpath, RF_1TX, HT_MCS0_MCS7); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1487 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][3], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1490 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][4], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1493 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfpath, RF_2TX, HT_MCS8_MCS15); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1496 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_2TX][5], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1500 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_2TX][6], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1503 …base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfpath, RF_1TX, VHT_1SSMCS0_1SSMC… in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1505 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][7], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1508 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][8], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1511 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][9], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1514 …base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfpath, RF_2TX, VHT_2SSMCS0_2SSMC… in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1516 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][9], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1519 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_2TX][10], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1522 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_2TX][11], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1525 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_5G, rfpath, RF_1TX, OFDM); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1527 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_1TX][1], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1530 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_1TX][2], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1533 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_5G, rfpath, RF_1TX, HT_MCS0_MCS7); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1535 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_1TX][3], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1538 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_1TX][4], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1541 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_5G, rfpath, RF_2TX, HT_MCS8_MCS15); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1543 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_2TX][5], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1546 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_2TX][6], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1549 …base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_5G, rfpath, RF_1TX, VHT_1SSMCS0_1SSMCS9… in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1551 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_1TX][7], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1554 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_1TX][8], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1557 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_1TX][9], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1560 …base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_5G, rfpath, RF_2TX, VHT_2SSMCS0_2SSMCS9… in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1562 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_1TX][9], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1565 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_2TX][10], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1568 &rtlphy->tx_power_by_rate_offset[BAND_ON_5G][rfpath][RF_2TX][11], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value()
1967 u32 band, u32 rfpath, in _rtl8821ae_store_tx_power_by_rate() argument
1979 if (rfpath >= MAX_RF_PATH) { in _rtl8821ae_store_tx_power_by_rate()
1980 rtl_dbg(rtlpriv, COMP_INIT, DBG_WARNING, "Invalid RfPath %d\n", rfpath); in _rtl8821ae_store_tx_power_by_rate()
1981 rfpath = MAX_RF_PATH - 1; in _rtl8821ae_store_tx_power_by_rate()
1987 rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section] = data; in _rtl8821ae_store_tx_power_by_rate()
1990 band, rfpath, txnum, rate_section, in _rtl8821ae_store_tx_power_by_rate()
1991 rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section]); in _rtl8821ae_store_tx_power_by_rate()
2070 enum radio_path rfpath) in rtl8812ae_phy_config_rf_with_headerfile() argument
2082 rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl8812ae_phy_config_rf_with_headerfile()
2083 switch (rfpath) { in rtl8812ae_phy_config_rf_with_headerfile()
2094 pr_err("switch case %#x not processed\n", rfpath); in rtl8812ae_phy_config_rf_with_headerfile()
2101 enum radio_path rfpath) in rtl8821ae_phy_config_rf_with_headerfile() argument
2111 rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl8821ae_phy_config_rf_with_headerfile()
2112 switch (rfpath) { in rtl8821ae_phy_config_rf_with_headerfile()
2121 pr_err("switch case %#x not processed\n", rfpath); in rtl8821ae_phy_config_rf_with_headerfile()