/linux-6.1.9/drivers/staging/rtl8723bs/hal/ |
D | hal_com.c | 979 u8 isCCKrate, rf_path; in rtw_get_raw_rssi_info() local 993 for (rf_path = 0; rf_path < pHalData->NumTotalRFPath; rf_path++) { in rtw_get_raw_rssi_info() 996 rf_path, in rtw_get_raw_rssi_info() 997 psample_pkt_rssi->mimo_signal_strength[rf_path], in rtw_get_raw_rssi_info() 998 psample_pkt_rssi->mimo_signal_quality[rf_path]); in rtw_get_raw_rssi_info() 1003 psample_pkt_rssi->ofdm_pwr[rf_path], in rtw_get_raw_rssi_info() 1004 psample_pkt_rssi->ofdm_snr[rf_path]); in rtw_get_raw_rssi_info() 1011 u8 isCCKrate, rf_path; in rtw_dump_raw_rssi_info() local 1020 for (rf_path = 0; rf_path < pHalData->NumTotalRFPath; rf_path++) { in rtw_dump_raw_rssi_info() 1023 psample_pkt_rssi->ofdm_pwr[rf_path], psample_pkt_rssi->ofdm_snr[rf_path]); in rtw_dump_raw_rssi_info() [all …]
|
D | odm_RegConfig8723B.h | 13 enum rf_path RF_PATH,
|
D | odm_HWConfig.h | 70 enum rf_path eRFPath
|
D | odm_RegConfig8723B.c | 14 enum rf_path RF_PATH, in odm_ConfigRFReg_8723B()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 1395 u8 rf_path, index, tempval; in _rtl8723e_read_txpower_info_from_hwpg() local 1398 for (rf_path = 0; rf_path < 1; rf_path++) { in _rtl8723e_read_txpower_info_from_hwpg() 1401 rtlefuse->eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl8723e_read_txpower_info_from_hwpg() 1402 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1403 rtlefuse->eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl8723e_read_txpower_info_from_hwpg() 1404 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1406 rtlefuse->eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl8723e_read_txpower_info_from_hwpg() 1408 rtlefuse->eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl8723e_read_txpower_info_from_hwpg() 1425 for (rf_path = 0; rf_path < 2; rf_path++) in _rtl8723e_read_txpower_info_from_hwpg() 1428 "RF(%d) EEPROM CCK Area(%d) = 0x%x\n", rf_path, in _rtl8723e_read_txpower_info_from_hwpg() [all …]
|
D | phy.c | 642 u8 rf_path; in rtl8723e_phy_update_txpower_dbm() local 657 for (rf_path = 0; rf_path < 2; rf_path++) { in rtl8723e_phy_update_txpower_dbm() 658 rtlefuse->txpwrlevel_cck[rf_path][idx] = ccktxpwridx; in rtl8723e_phy_update_txpower_dbm() 659 rtlefuse->txpwrlevel_ht40_1s[rf_path][idx] = in rtl8723e_phy_update_txpower_dbm() 661 rtlefuse->txpwrlevel_ht40_2s[rf_path][idx] = in rtl8723e_phy_update_txpower_dbm()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 1426 u8 rf_path, index, tempval; in _rtl92ce_read_txpower_info_from_hwpg() local 1429 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl92ce_read_txpower_info_from_hwpg() 1433 eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92ce_read_txpower_info_from_hwpg() 1434 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92ce_read_txpower_info_from_hwpg() 1436 eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92ce_read_txpower_info_from_hwpg() 1437 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92ce_read_txpower_info_from_hwpg() 1441 eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92ce_read_txpower_info_from_hwpg() 1444 eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92ce_read_txpower_info_from_hwpg() 1461 for (rf_path = 0; rf_path < 2; rf_path++) in _rtl92ce_read_txpower_info_from_hwpg() 1465 rf_path, i, in _rtl92ce_read_txpower_info_from_hwpg() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 104 u8 rf_path, index, tempval; in _rtl92cu_read_txpower_info_from_hwpg() local 107 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl92cu_read_txpower_info_from_hwpg() 111 eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92cu_read_txpower_info_from_hwpg() 112 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92cu_read_txpower_info_from_hwpg() 114 eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92cu_read_txpower_info_from_hwpg() 115 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92cu_read_txpower_info_from_hwpg() 119 eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92cu_read_txpower_info_from_hwpg() 122 eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92cu_read_txpower_info_from_hwpg() 137 for (rf_path = 0; rf_path < 2; rf_path++) in _rtl92cu_read_txpower_info_from_hwpg() 141 rf_path, i, in _rtl92cu_read_txpower_info_from_hwpg() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 1649 u8 rf_path, index; in _rtl92se_read_adapter_info() local 1718 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl92se_read_adapter_info() 1721 rtlefuse->eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92se_read_adapter_info() 1722 hwinfo[EEPROM_TXPOWERBASE + rf_path * 3 + i]; in _rtl92se_read_adapter_info() 1725 rtlefuse->eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92se_read_adapter_info() 1726 hwinfo[EEPROM_TXPOWERBASE + 6 + rf_path * 3 + i]; in _rtl92se_read_adapter_info() 1729 rtlefuse->eprom_chnl_txpwr_ht40_2sdf[rf_path][i] in _rtl92se_read_adapter_info() 1731 rf_path * 3 + i]; in _rtl92se_read_adapter_info() 1735 for (rf_path = 0; rf_path < 2; rf_path++) in _rtl92se_read_adapter_info() 1739 rf_path, i, in _rtl92se_read_adapter_info() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | phy.h | 22 u32 rtw_phy_read_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 24 u32 rtw_phy_read_rf_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 26 bool rtw_phy_write_rf_reg_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 28 bool rtw_phy_write_rf_reg(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 30 bool rtw_phy_write_rf_reg_mix(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, 46 u8 rtw_phy_get_tx_power_index(struct rtw_dev *rtwdev, u8 rf_path, u8 rate, 79 u32 rf_path; member 92 .rf_path = path, \
|
D | phy.c | 894 u32 rtw_phy_read_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_read_rf() argument 902 if (rf_path >= hal->rf_phy_num) { in rtw_phy_read_rf() 903 rtw_err(rtwdev, "unsupported rf path (%d)\n", rf_path); in rtw_phy_read_rf() 908 direct_addr = base_addr[rf_path] + (addr << 2); in rtw_phy_read_rf() 917 u32 rtw_phy_read_rf_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_read_rf_sipi() argument 929 if (rf_path >= hal->rf_phy_num) { in rtw_phy_read_rf_sipi() 930 rtw_err(rtwdev, "unsupported rf path (%d)\n", rf_path); in rtw_phy_read_rf_sipi() 939 rf_sipi_addr = &chip->rf_sipi_read_addr[rf_path]; in rtw_phy_read_rf_sipi() 966 bool rtw_phy_write_rf_reg_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_write_rf_reg_sipi() argument 976 if (rf_path >= hal->rf_phy_num) { in rtw_phy_write_rf_reg_sipi() [all …]
|
D | hci.h | 166 rtw_read_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_read_rf() argument 173 val = rtwdev->chip->ops->read_rf(rtwdev, rf_path, addr, mask); in rtw_read_rf() 180 rtw_write_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_write_rf() argument 186 rtwdev->chip->ops->write_rf(rtwdev, rf_path, addr, mask, data); in rtw_write_rf()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 2756 u8 rf_path, index; 2762 for (rf_path = 0; rf_path < 2; rf_path++) { 2767 rtlefuse->txpwrlevel_cck[rf_path][i] = 2768 pwrinfo24g.index_cck_base[rf_path][5]; 2769 rtlefuse->txpwrlevel_ht40_1s[rf_path][i] = 2770 pwrinfo24g.index_bw40_base[rf_path][index]; 2772 rtlefuse->txpwrlevel_cck[rf_path][i] = 2773 pwrinfo24g.index_cck_base[rf_path][index]; 2774 rtlefuse->txpwrlevel_ht40_1s[rf_path][i] = 2775 pwrinfo24g.index_bw40_base[rf_path][index]; [all …]
|
D | dm.c | 1175 u8 rf_path, u8 channel_mapped_index) in rtl8812ae_dm_txpwr_track_set_pwr() argument 1269 if (rf_path == RF90_PATH_A) { in rtl8812ae_dm_txpwr_track_set_pwr() 1306 rtldm->absolute_ofdm_swing_idx[rf_path], in rtl8812ae_dm_txpwr_track_set_pwr() 1307 rf_path); in rtl8812ae_dm_txpwr_track_set_pwr() 1310 rtldm->absolute_ofdm_swing_idx[rf_path]; in rtl8812ae_dm_txpwr_track_set_pwr() 1312 if (rf_path == RF90_PATH_A) { in rtl8812ae_dm_txpwr_track_set_pwr() 1321 rtldm->remnant_ofdm_swing_idx[rf_path] = in rtl8812ae_dm_txpwr_track_set_pwr() 1338 rtldm->remnant_ofdm_swing_idx[rf_path]); in rtl8812ae_dm_txpwr_track_set_pwr() 1342 rtldm->remnant_ofdm_swing_idx[rf_path] = in rtl8812ae_dm_txpwr_track_set_pwr() 1356 rtldm->remnant_ofdm_swing_idx[rf_path]); in rtl8812ae_dm_txpwr_track_set_pwr() [all …]
|
D | dm.h | 282 u8 rf_path, 286 u8 rf_path, u8 channel_mapped_index);
|
D | phy.c | 434 u8 rf_path) in phy_get_tx_swing_8812A() argument 1302 u8 rf_path = 0; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() local 1336 for (rf_path = RF90_PATH_A; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() 1337 rf_path < MAX_RF_PATH_NUM; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() 1338 ++rf_path) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index() 1341 rtlphy->txpwr_by_rate_base_24g[rf_path][RF_2TX][base_index2_4G]; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() 1344 rtlphy->txpwr_by_rate_base_24g[rf_path][RF_1TX][base_index2_4G]; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() 1349 [bw][rate_section][channel][rf_path] = in _rtl8812ae_phy_convert_txpower_limit_to_power_index() 1357 [rate_section][channel][rf_path], (temp_pwrlmt == 63) in _rtl8812ae_phy_convert_txpower_limit_to_power_index() 1358 ? 0 : temp_pwrlmt/2, channel, rf_path, in _rtl8812ae_phy_convert_txpower_limit_to_power_index() [all …]
|
D | phy.h | 235 u32 phy_get_tx_swing_8812A(struct ieee80211_hw *hw, u8 band, u8 rf_path);
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 653 u32 rtw89_phy_read_rf(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, in rtw89_phy_read_rf() argument 660 if (rf_path >= rtwdev->chip->rf_path_num) { in rtw89_phy_read_rf() 661 rtw89_err(rtwdev, "unsupported rf path (%d)\n", rf_path); in rtw89_phy_read_rf() 666 direct_addr = base_addr[rf_path] + (addr << 2); in rtw89_phy_read_rf() 676 enum rtw89_rf_path rf_path, u32 addr, u32 mask) in rtw89_phy_read_rf_a() argument 692 val = FIELD_PREP(B_SWSI_READ_ADDR_PATH_V1, rf_path) | in rtw89_phy_read_rf_a() 708 u32 rtw89_phy_read_rf_v1(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, in rtw89_phy_read_rf_v1() argument 713 if (rf_path >= rtwdev->chip->rf_path_num) { in rtw89_phy_read_rf_v1() 714 rtw89_err(rtwdev, "unsupported rf path (%d)\n", rf_path); in rtw89_phy_read_rf_v1() 719 return rtw89_phy_read_rf(rtwdev, rf_path, addr, mask); in rtw89_phy_read_rf_v1() [all …]
|
D | phy.h | 444 u32 rtw89_phy_read_rf(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, 446 u32 rtw89_phy_read_rf_v1(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, 448 bool rtw89_phy_write_rf(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, 450 bool rtw89_phy_write_rf_v1(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, 456 enum rtw89_rf_path rf_path,
|
/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_iol.c | 112 int rtw_IOL_append_WRF_cmd(struct xmit_frame *xmit_frame, u8 rf_path, u16 addr, u32 value, u32 mask) in rtw_IOL_append_WRF_cmd() argument 116 cmd.address = cpu_to_le16((rf_path << 8) | ((addr) & 0xFF)); in rtw_IOL_append_WRF_cmd()
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | hal_phy.h | 30 enum rf_path { enum
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 1948 u8 rf_path, index; in _rtl8723be_read_txpower_info_from_hwpg() local 1954 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl8723be_read_txpower_info_from_hwpg() 1958 rtlefuse->txpwrlevel_cck[rf_path][i] = in _rtl8723be_read_txpower_info_from_hwpg() 1959 pw2g.index_cck_base[rf_path][index]; in _rtl8723be_read_txpower_info_from_hwpg() 1960 rtlefuse->txpwrlevel_ht40_1s[rf_path][i] = in _rtl8723be_read_txpower_info_from_hwpg() 1961 pw2g.index_bw40_base[rf_path][index]; in _rtl8723be_read_txpower_info_from_hwpg() 1964 rtlefuse->txpwr_ht20diff[rf_path][i] = in _rtl8723be_read_txpower_info_from_hwpg() 1965 pw2g.bw20_diff[rf_path][i]; in _rtl8723be_read_txpower_info_from_hwpg() 1966 rtlefuse->txpwr_ht40diff[rf_path][i] = in _rtl8723be_read_txpower_info_from_hwpg() 1967 pw2g.bw40_diff[rf_path][i]; in _rtl8723be_read_txpower_info_from_hwpg() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1750 u8 rf_path, index; in _rtl88ee_read_txpower_info_from_hwpg() local 1756 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl88ee_read_txpower_info_from_hwpg() 1760 rtlefuse->txpwrlevel_cck[rf_path][i] = in _rtl88ee_read_txpower_info_from_hwpg() 1761 pwrinfo24g.index_cck_base[rf_path][index]; in _rtl88ee_read_txpower_info_from_hwpg() 1762 rtlefuse->txpwrlevel_ht40_1s[rf_path][i] = in _rtl88ee_read_txpower_info_from_hwpg() 1763 pwrinfo24g.index_bw40_base[rf_path][index]; in _rtl88ee_read_txpower_info_from_hwpg() 1764 rtlefuse->txpwr_ht20diff[rf_path][i] = in _rtl88ee_read_txpower_info_from_hwpg() 1765 pwrinfo24g.bw20_diff[rf_path][0]; in _rtl88ee_read_txpower_info_from_hwpg() 1766 rtlefuse->txpwr_legacyhtdiff[rf_path][i] = in _rtl88ee_read_txpower_info_from_hwpg() 1767 pwrinfo24g.ofdm_diff[rf_path][0]; in _rtl88ee_read_txpower_info_from_hwpg() [all …]
|
/linux-6.1.9/drivers/staging/r8188eu/include/ |
D | rtw_iol.h | 50 int rtw_IOL_append_WRF_cmd(struct xmit_frame *xmit_frame, u8 rf_path,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | phy_common.c | 578 u8 rf_path; in rtl92c_phy_update_txpower_dbm() local 591 for (rf_path = 0; rf_path < 2; rf_path++) { in rtl92c_phy_update_txpower_dbm() 592 rtlefuse->txpwrlevel_cck[rf_path][idx] = ccktxpwridx; in rtl92c_phy_update_txpower_dbm() 593 rtlefuse->txpwrlevel_ht40_1s[rf_path][idx] = in rtl92c_phy_update_txpower_dbm() 595 rtlefuse->txpwrlevel_ht40_2s[rf_path][idx] = in rtl92c_phy_update_txpower_dbm()
|