/linux-6.6.21/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_rf6052.c | 67 PHY_SetRFReg(Adapter, RF_PATH_B, RF_CHNLBW, bRFRegOffsetMask, pHalData->RfRegChnlVal[0]); in PHY_RF6052SetBandwidth8723B() 73 PHY_SetRFReg(Adapter, RF_PATH_B, RF_CHNLBW, bRFRegOffsetMask, pHalData->RfRegChnlVal[0]); in PHY_RF6052SetBandwidth8723B() 102 case RF_PATH_B: in phy_RF6052_Config_ParaFile() 125 case RF_PATH_B: in phy_RF6052_Config_ParaFile() 136 case RF_PATH_B: in phy_RF6052_Config_ParaFile()
|
D | HalPhyRf.c | 167 pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[RF_PATH_B] = in ODM_TXPowerTrackingCallback_ThermalMeter() 168 pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[RF_PATH_B]; in ODM_TXPowerTrackingCallback_ThermalMeter() 169 pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[RF_PATH_B] = in ODM_TXPowerTrackingCallback_ThermalMeter() 173 pDM_Odm->Absolute_OFDMSwingIdx[RF_PATH_B] = in ODM_TXPowerTrackingCallback_ThermalMeter() 188 pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[RF_PATH_B] = in ODM_TXPowerTrackingCallback_ThermalMeter() 189 pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[RF_PATH_B]; in ODM_TXPowerTrackingCallback_ThermalMeter() 190 pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[RF_PATH_B] = in ODM_TXPowerTrackingCallback_ThermalMeter() 194 pDM_Odm->Absolute_OFDMSwingIdx[RF_PATH_B] = in ODM_TXPowerTrackingCallback_ThermalMeter() 243 pDM_Odm->RFCalibrateInfo.PowerIndexOffset[RF_PATH_B] != 0) && in ODM_TXPowerTrackingCallback_ThermalMeter()
|
D | rtl8723b_phycfg.c | 134 else if (eRFPath == RF_PATH_B) in phy_RFSerialRead_8723B() 312 …pHalData->PHYRegDef[RF_PATH_B].rfintfs = rFPGA0_XAB_RFInterfaceSW; /* 16 MSBs if read 32-bit from… in phy_InitBBRFRegisterDefinition() 316 …pHalData->PHYRegDef[RF_PATH_B].rfintfo = rFPGA0_XB_RFInterfaceOE; /* 16 LSBs if read 32-bit from … in phy_InitBBRFRegisterDefinition() 320 …pHalData->PHYRegDef[RF_PATH_B].rfintfe = rFPGA0_XB_RFInterfaceOE; /* 16 MSBs if read 32-bit from … in phy_InitBBRFRegisterDefinition() 323 pHalData->PHYRegDef[RF_PATH_B].rf3wireOffset = rFPGA0_XB_LSSIParameter; in phy_InitBBRFRegisterDefinition() 326 …pHalData->PHYRegDef[RF_PATH_B].rfHSSIPara2 = rFPGA0_XB_HSSIParameter2; /* wire control parameter2… in phy_InitBBRFRegisterDefinition() 330 pHalData->PHYRegDef[RF_PATH_B].rfLSSIReadBack = rFPGA0_XB_LSSIReadBack; in phy_InitBBRFRegisterDefinition() 332 pHalData->PHYRegDef[RF_PATH_B].rfLSSIReadBackPi = TransceiverB_HSPI_Readback; in phy_InitBBRFRegisterDefinition() 456 if (RFPath == RF_PATH_A || RFPath == RF_PATH_B) { in PHY_SetTxPowerIndex() 571 RFPath = ((pDM_FatTable->RxIdleAnt == MAIN_ANT) ? RF_PATH_A : RF_PATH_B); in PHY_SetTxPowerLevel8723B() [all …]
|
D | odm_HWConfig.c | 117 phy_info->rx_mimo_signal_quality[RF_PATH_B] = -1; in odm_rx_phy_status_parsing() 170 phy_info->rx_mimo_signal_quality[RF_PATH_B] = -1; in odm_rx_phy_status_parsing() 293 if (pPhyInfo->rx_mimo_signal_strength[RF_PATH_B] == 0) { in odm_Process_RSSIForDM() 299 pDM_Odm->RSSI_B = pPhyInfo->rx_mimo_signal_strength[RF_PATH_B]; in odm_Process_RSSIForDM() 303 pPhyInfo->rx_mimo_signal_strength[RF_PATH_B] in odm_Process_RSSIForDM() 306 RSSI_min = pPhyInfo->rx_mimo_signal_strength[RF_PATH_B]; in odm_Process_RSSIForDM() 308 RSSI_max = pPhyInfo->rx_mimo_signal_strength[RF_PATH_B]; in odm_Process_RSSIForDM()
|
D | HalPhyRf_8723B.c | 85 case RF_PATH_B: in setIqkMatrix_8723B() 110 case RF_PATH_B: in setIqkMatrix_8723B() 1455 …pDM_Odm->RFCalibrateInfo.TxLOK[RF_PATH_B] = PHY_QueryRFReg(pDM_Odm->Adapter, RF_PATH_B, 0x8, bRFRe… in phy_IQCalibrate_8723B() 1533 RF_Bmode = PHY_QueryRFReg(padapter, RF_PATH_B, RF_AC, bMask12Bits); in phy_LCCalibrate_8723B() 1541 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_B, RF_AC, bMask12Bits, (RF_Bmode&0x8FFFF)|0x10000); in phy_LCCalibrate_8723B() 1568 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_B, RF_AC, bMask12Bits, RF_Bmode); in phy_LCCalibrate_8723B() 1628 …= (PHY_QueryBBReg(pDM_Odm->Adapter, rS0S1_PathSwitch, bMaskByte0) == 0x00) ? RF_PATH_A : RF_PATH_B; in PHY_IQCalibrate_8723B() 1656 …PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_B, RF_TXM_IDAC, bRFRegOffsetMask, pDM_Odm->RFCalibrateInfo.… in PHY_IQCalibrate_8723B()
|
D | odm_CfoTracking.c | 202 for (i = RF_PATH_A; i <= RF_PATH_B; i++) in odm_parsing_cfo()
|
D | hal_com_phycfg.c | 70 for (path = RF_PATH_A; path <= RF_PATH_B; ++path) { in phy_StoreTxPowerByRateBase()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | rtw8852b.c | 583 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852b_efuse_parsing_tssi() 624 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_2G_CCK]); in rtw8852b_efuse_parsing_gain_offset() 627 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_2G_OFDM]); in rtw8852b_efuse_parsing_gain_offset() 630 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_LOW]); in rtw8852b_efuse_parsing_gain_offset() 633 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_MID]); in rtw8852b_efuse_parsing_gain_offset() 636 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_HIGH]); in rtw8852b_efuse_parsing_gain_offset() 1037 offset_b = -efuse_gain->offset[RF_PATH_B][gain_ofdm_band]; in rtw8852b_set_gain_offset() 1045 rtw89_phy_write32_mask(rtwdev, rssi_ofst_addr[RF_PATH_B], B_PATH0_R_G_OFST_MASK, tmp); in rtw8852b_set_gain_offset() 1048 offset_ofdm = -efuse_gain->offset[RF_PATH_B][gain_ofdm_band]; in rtw8852b_set_gain_offset() 1049 offset_cck = -efuse_gain->offset[RF_PATH_B][0]; in rtw8852b_set_gain_offset() [all …]
|
D | rtw8852c.c | 370 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852c_efuse_parsing_tssi() 413 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_2G_CCK]); in rtw8852c_efuse_parsing_gain_offset() 416 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_2G_OFDM]); in rtw8852c_efuse_parsing_gain_offset() 419 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_LOW]); in rtw8852c_efuse_parsing_gain_offset() 422 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_MID]); in rtw8852c_efuse_parsing_gain_offset() 425 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_HIGH]); in rtw8852c_efuse_parsing_gain_offset() 880 if (rtwdev->dbcc_en && path == RF_PATH_B) in rtw8852c_set_gain_offset() 938 rtw8852c_set_gain_error(rtwdev, subband, RF_PATH_B); in rtw8852c_ctrl_ch() 939 rtw8852c_set_gain_offset(rtwdev, chan, phy_idx, RF_PATH_B); in rtw8852c_ctrl_ch() 967 rtw8852c_set_gain_error(rtwdev, subband, RF_PATH_B); in rtw8852c_ctrl_ch() [all …]
|
D | rtw8852a.c | 517 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852a_efuse_parsing_tssi() 853 rtw8852a_ch_setting(rtwdev, central_ch, RF_PATH_B); in rtw8852a_ctrl_ch() 876 rtw8852a_ch_setting(rtwdev, central_ch, RF_PATH_B); in rtw8852a_ctrl_ch() 1039 rtw8852a_bw_setting(rtwdev, bw, RF_PATH_B); in rtw8852a_ctrl_bw() 1041 rtw8852a_bw_setting(rtwdev, bw, RF_PATH_B); in rtw8852a_ctrl_bw() 1240 rtw8852a_tssi_cont_en(rtwdev, en, RF_PATH_B); in rtw8852a_tssi_cont_en_phyidx() 1245 rtw8852a_tssi_cont_en(rtwdev, en, RF_PATH_B); in rtw8852a_tssi_cont_en_phyidx() 1313 rtwdev->is_tssi_mode[RF_PATH_B] = false; in rtw8852a_rfk_init() 1578 } else if (tx_path == RF_PATH_B) { in rtw8852a_bb_cfg_tx_path() 1719 rtw89_write_rf(rtwdev, RF_PATH_B, RR_WLSEL, 0xfffff, 0x0); in rtw8852a_btc_init_cfg() [all …]
|
D | rtw8852c_rfk.c | 539 rtw8852c_txck_force(rtwdev, RF_PATH_B, true, DAC_160M); in _dack_s1() 542 _dack_reset(rtwdev, RF_PATH_B); in _dack_s1() 552 rtw8852c_txck_force(rtwdev, RF_PATH_B, false, DAC_960M); in _dack_s1() 556 _dack_reload(rtwdev, RF_PATH_B); in _dack_s1() 596 rf1_0 = rtw89_read_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK); in _dac_cal() 600 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal() 602 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, 0x337e1); in _dac_cal() 610 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal() 618 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, rf1_0); in _dac_cal() 620 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x1); in _dac_cal() [all …]
|
D | rtw8852a_rfk.c | 378 _check_addc(rtwdev, RF_PATH_B); in _addck() 390 _check_addc(rtwdev, RF_PATH_B); in _addck() 482 _check_dadc(rtwdev, RF_PATH_B); in _dack_s1() 485 _dack_reload(rtwdev, RF_PATH_B); in _dack_s1() 506 rf1_0 = rtw89_read_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK); in _dac_cal() 509 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal() 511 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, 0x30001); in _dac_cal() 518 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, 0x40001); in _dac_cal() 520 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal() 527 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, rf1_0); in _dac_cal() [all …]
|
D | rtw8852b_rfk.c | 562 _check_addc(rtwdev, RF_PATH_B); in _addck() 577 _check_addc(rtwdev, RF_PATH_B); in _addck() 693 _check_dadc(rtwdev, RF_PATH_B); in _dack_s1() 764 rf1_0 = rtw89_read_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK); in _dac_cal() 769 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal() 771 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, 0x337e1); in _dac_cal() 777 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal() 783 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, rf1_0); in _dac_cal() 785 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x1); in _dac_cal() 1649 _doiqk(rtwdev, force, phy_idx, RF_PATH_B); in _iqk() [all …]
|
D | rtw8852b_rfk_table.c | 63 RTW89_DECL_RFK_WRF(RF_PATH_B, 0x8f, BIT(13), 0x1), 80 RTW89_DECL_RFK_WRF(RF_PATH_B, 0x8f, BIT(13), 0x0),
|
D | rtw8852c_rfk_table.c | 93 RTW89_DECL_RFK_WRF(RF_PATH_B, 0x10005, 0x00001, 0x1),
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ |
D | rtw8822c.c | 61 efuse->thermal_meter[RF_PATH_B] = map->path_b_thermal; in rtw8822c_read_efuse() 243 case RF_PATH_B: in rtw8822c_get_path_write_addr() 262 case RF_PATH_B: in rtw8822c_get_path_read_addr() 368 rf_b = rtw_read_rf(rtwdev, RF_PATH_B, 0x0, RFREG_MASK); in rtw8822c_dac_cal_rf_mode() 409 case RF_PATH_B: in rtw8822c_dac_cal_adc() 419 if (path == RF_PATH_B) in rtw8822c_dac_cal_adc() 426 rtw_write_rf(rtwdev, RF_PATH_B, 0x0, RFREG_MASK, 0x10000); in rtw8822c_dac_cal_adc() 704 dm_info->dack_dck[RF_PATH_B][0][0] = val; in rtw8822c_dac_cal_backup_dck() 706 dm_info->dack_dck[RF_PATH_B][1][0] = val; in rtw8822c_dac_cal_backup_dck() 708 dm_info->dack_dck[RF_PATH_B][0][1] = val; in rtw8822c_dac_cal_backup_dck() [all …]
|
D | phy.c | 2347 swing_table->p[RF_PATH_B] = tbl->pwrtrk_2g_cckb_p; in rtw_phy_config_swing_table() 2348 swing_table->n[RF_PATH_B] = tbl->pwrtrk_2g_cckb_n; in rtw_phy_config_swing_table() 2352 swing_table->p[RF_PATH_B] = tbl->pwrtrk_2gb_p; in rtw_phy_config_swing_table() 2353 swing_table->n[RF_PATH_B] = tbl->pwrtrk_2gb_n; in rtw_phy_config_swing_table() 2358 swing_table->p[RF_PATH_B] = tbl->pwrtrk_5gb_p[RTW_PWR_TRK_5G_1]; in rtw_phy_config_swing_table() 2359 swing_table->n[RF_PATH_B] = tbl->pwrtrk_5gb_n[RTW_PWR_TRK_5G_1]; in rtw_phy_config_swing_table() 2363 swing_table->p[RF_PATH_B] = tbl->pwrtrk_5gb_p[RTW_PWR_TRK_5G_2]; in rtw_phy_config_swing_table() 2364 swing_table->n[RF_PATH_B] = tbl->pwrtrk_5gb_n[RTW_PWR_TRK_5G_2]; in rtw_phy_config_swing_table() 2368 swing_table->p[RF_PATH_B] = tbl->pwrtrk_5gb_p[RTW_PWR_TRK_5G_3]; in rtw_phy_config_swing_table() 2369 swing_table->n[RF_PATH_B] = tbl->pwrtrk_5gb_n[RTW_PWR_TRK_5G_3]; in rtw_phy_config_swing_table() [all …]
|
D | rtw8822b.c | 563 rtw_write_rf(rtwdev, RF_PATH_B, 0x18, RFREG_MASK, rf_reg18); in rtw8822b_set_channel_rf() 880 pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110; in query_phy_status_page1() 884 pkt_stat->rx_power[RF_PATH_B], in query_phy_status_page1() 890 pkt_stat->rx_evm[RF_PATH_B] = GET_PHY_STAT_P1_RXEVM_B(phy_status); in query_phy_status_page1() 893 pkt_stat->rx_snr[RF_PATH_B] = GET_PHY_STAT_P1_RXSNR_B(phy_status); in query_phy_status_page1() 896 pkt_stat->cfo_tail[RF_PATH_B] = GET_PHY_STAT_P1_CFO_TAIL_B(phy_status); in query_phy_status_page1() 1372 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCKD, 0x2, 0x1); in rtw8822b_coex_cfg_wl_rx_gain() 1373 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCK, 0x3f, 0x3f); in rtw8822b_coex_cfg_wl_rx_gain() 1382 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCK, 0x3f, 0x4); in rtw8822b_coex_cfg_wl_rx_gain() 1383 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCKD, 0x2, 0x0); in rtw8822b_coex_cfg_wl_rx_gain() [all …]
|
D | debug.c | 672 for (path = RF_PATH_A; path <= RF_PATH_B; path++) { in rtw_debugfs_get_tx_pwr_tbl() 815 dm_info->rssi[RF_PATH_B] - 100); in rtw_debugfs_get_phy_info() 818 dm_info->rx_evm_dbm[RF_PATH_B]); in rtw_debugfs_get_phy_info() 821 dm_info->rx_snr[RF_PATH_B]); in rtw_debugfs_get_phy_info() 824 dm_info->cfo_tail[RF_PATH_B]); in rtw_debugfs_get_phy_info()
|
D | rtw8723d.c | 467 rf_cfgch_b = rtw_read_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK); in rtw8723d_set_channel_rf() 487 rtw_write_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK, rf_cfgch_b); in rtw8723d_set_channel_rf() 1319 rtw8723d_iqk_rf_standby(rtwdev, RF_PATH_B); in rtw8723d_iqk_precfg_path() 1723 case RF_PATH_B: in rtw8723d_set_iqk_matrix_by_result() 1754 case RF_PATH_B: in rtw8723d_set_iqk_matrix_by_result() 1800 case RF_PATH_B: in rtw8723d_set_iqk_matrix() 1825 rtw8723d_set_iqk_matrix(rtwdev, swing_idx, RF_PATH_B); in rtw8723d_pwrtrack_set_ofdm_pwr() 2643 [RF_PATH_B] = { .hssi_1 = 0x828, .lssi_read = 0x8a4,
|
D | coex.c | 3725 rf_path = RF_PATH_B; in rtw_coex_val_info() 4160 -dm_info->rx_evm_dbm[RF_PATH_B], in rtw_coex_display_coex_info() 4162 -dm_info->rx_snr[RF_PATH_B]); in rtw_coex_display_coex_info()
|
/linux-6.6.21/drivers/staging/rtl8723bs/include/ |
D | hal_phy.h | 32 RF_PATH_B, enumerator
|
/linux-6.6.21/drivers/staging/rtl8712/ |
D | rtl871x_mp.h | 139 #define RF_PATH_B 1 macro
|
D | rtl871x_mp_ioctl.c | 114 if (path > RF_PATH_B) in oid_rt_pro_write_rf_reg_hdl() 137 if (path > RF_PATH_B) /* 1T2R path_a /path_b */ in oid_rt_pro_read_rf_reg_hdl()
|
D | rtl871x_mp.c | 534 rfPath = RF_PATH_B; in r8712_SetSingleToneTx()
|