Home
last modified time | relevance | path

Searched refs:RF_PATH_B (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723b_rf6052.c67 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()
DHalPhyRf.c167 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()
Drtl8723b_phycfg.c134 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 …]
Dodm_HWConfig.c117 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()
DHalPhyRf_8723B.c85 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()
Dodm_CfoTracking.c202 for (i = RF_PATH_A; i <= RF_PATH_B; i++) in odm_parsing_cfo()
Dhal_com_phycfg.c70 for (path = RF_PATH_A; path <= RF_PATH_B; ++path) { in phy_StoreTxPowerByRateBase()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Drtw8852c.c358 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852c_efuse_parsing_tssi()
401 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_2G_CCK]); in rtw8852c_efuse_parsing_gain_offset()
404 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_2G_OFDM]); in rtw8852c_efuse_parsing_gain_offset()
407 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_LOW]); in rtw8852c_efuse_parsing_gain_offset()
410 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_MID]); in rtw8852c_efuse_parsing_gain_offset()
413 &gain->offset[RF_PATH_B][RTW89_GAIN_OFFSET_5G_HIGH]); in rtw8852c_efuse_parsing_gain_offset()
967 if (rtwdev->dbcc_en && path == RF_PATH_B) in rtw8852c_set_gain_offset()
1039 rtw8852c_set_gain_error(rtwdev, subband, RF_PATH_B); in rtw8852c_ctrl_ch()
1040 rtw8852c_set_gain_offset(rtwdev, chan, phy_idx, RF_PATH_B); in rtw8852c_ctrl_ch()
1068 rtw8852c_set_gain_error(rtwdev, subband, RF_PATH_B); in rtw8852c_ctrl_ch()
[all …]
Drtw8852a.c498 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852a_efuse_parsing_tssi()
835 rtw8852a_ch_setting(rtwdev, central_ch, RF_PATH_B); in rtw8852a_ctrl_ch()
858 rtw8852a_ch_setting(rtwdev, central_ch, RF_PATH_B); in rtw8852a_ctrl_ch()
1021 rtw8852a_bw_setting(rtwdev, bw, RF_PATH_B); in rtw8852a_ctrl_bw()
1023 rtw8852a_bw_setting(rtwdev, bw, RF_PATH_B); in rtw8852a_ctrl_bw()
1222 rtw8852a_tssi_cont_en(rtwdev, en, RF_PATH_B); in rtw8852a_tssi_cont_en_phyidx()
1227 rtw8852a_tssi_cont_en(rtwdev, en, RF_PATH_B); in rtw8852a_tssi_cont_en_phyidx()
1295 rtwdev->is_tssi_mode[RF_PATH_B] = false; in rtw8852a_rfk_init()
1698 } else if (tx_path == RF_PATH_B) { in rtw8852a_bb_cfg_tx_path()
1839 rtw89_write_rf(rtwdev, RF_PATH_B, RR_WLSEL, 0xfffff, 0x0); in rtw8852a_btc_init_cfg()
[all …]
Drtw8852c_rfk.c502 rtw8852c_txck_force(rtwdev, RF_PATH_B, true, DAC_160M); in _dack_s1()
505 _dack_reset(rtwdev, RF_PATH_B); in _dack_s1()
515 rtw8852c_txck_force(rtwdev, RF_PATH_B, false, DAC_960M); in _dack_s1()
519 _dack_reload(rtwdev, RF_PATH_B); in _dack_s1()
559 rf1_0 = rtw89_read_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK); in _dac_cal()
563 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal()
565 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, 0x337e1); in _dac_cal()
573 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal()
581 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, rf1_0); in _dac_cal()
583 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x1); in _dac_cal()
[all …]
Drtw8852a_rfk.c378 _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 …]
Drtw8852c_rfk_table.c93 RTW89_DECL_RFK_WRF(RF_PATH_B, 0x10005, 0x00001, 0x1),
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_rf6052.c96 TxAGC[RF_PATH_B] = 0x3f3f3f3f; in rtl8188e_PHY_RF6052SetCckTxPower()
98 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl8188e_PHY_RF6052SetCckTxPower()
104 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl8188e_PHY_RF6052SetCckTxPower()
116 TxAGC[RF_PATH_B] += tmpval; in rtl8188e_PHY_RF6052SetCckTxPower()
119 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl8188e_PHY_RF6052SetCckTxPower()
146 tmpval = TxAGC[RF_PATH_B] >> 24; in rtl8188e_PHY_RF6052SetCckTxPower()
148 tmpval = TxAGC[RF_PATH_B] & 0x00ffffff; in rtl8188e_PHY_RF6052SetCckTxPower()
Dodm_HWConfig.c256 if (pPhyInfo->RxMIMOSignalStrength[RF_PATH_B] == 0) { in odm_Process_RSSIForDM()
259 if (pPhyInfo->RxMIMOSignalStrength[RF_PATH_A] > pPhyInfo->RxMIMOSignalStrength[RF_PATH_B]) { in odm_Process_RSSIForDM()
261 RSSI_min = pPhyInfo->RxMIMOSignalStrength[RF_PATH_B]; in odm_Process_RSSIForDM()
263 RSSI_max = pPhyInfo->RxMIMOSignalStrength[RF_PATH_B]; in odm_Process_RSSIForDM()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c49 efuse->thermal_meter[RF_PATH_B] = map->path_b_thermal; in rtw8822c_read_efuse()
225 case RF_PATH_B: in rtw8822c_get_path_write_addr()
244 case RF_PATH_B: in rtw8822c_get_path_read_addr()
350 rf_b = rtw_read_rf(rtwdev, RF_PATH_B, 0x0, RFREG_MASK); in rtw8822c_dac_cal_rf_mode()
391 case RF_PATH_B: in rtw8822c_dac_cal_adc()
401 if (path == RF_PATH_B) in rtw8822c_dac_cal_adc()
408 rtw_write_rf(rtwdev, RF_PATH_B, 0x0, RFREG_MASK, 0x10000); in rtw8822c_dac_cal_adc()
686 dm_info->dack_dck[RF_PATH_B][0][0] = val; in rtw8822c_dac_cal_backup_dck()
688 dm_info->dack_dck[RF_PATH_B][1][0] = val; in rtw8822c_dac_cal_backup_dck()
690 dm_info->dack_dck[RF_PATH_B][0][1] = val; in rtw8822c_dac_cal_backup_dck()
[all …]
Dphy.c2347 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 …]
Drtw8822b.c545 rtw_write_rf(rtwdev, RF_PATH_B, 0x18, RFREG_MASK, rf_reg18); in rtw8822b_set_channel_rf()
862 pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110; in query_phy_status_page1()
866 pkt_stat->rx_power[RF_PATH_B], in query_phy_status_page1()
872 pkt_stat->rx_evm[RF_PATH_B] = GET_PHY_STAT_P1_RXEVM_B(phy_status); in query_phy_status_page1()
875 pkt_stat->rx_snr[RF_PATH_B] = GET_PHY_STAT_P1_RXSNR_B(phy_status); in query_phy_status_page1()
878 pkt_stat->cfo_tail[RF_PATH_B] = GET_PHY_STAT_P1_CFO_TAIL_B(phy_status); in query_phy_status_page1()
1354 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCKD, 0x2, 0x1); in rtw8822b_coex_cfg_wl_rx_gain()
1355 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCK, 0x3f, 0x3f); in rtw8822b_coex_cfg_wl_rx_gain()
1364 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCK, 0x3f, 0x4); in rtw8822b_coex_cfg_wl_rx_gain()
1365 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCKD, 0x2, 0x0); in rtw8822b_coex_cfg_wl_rx_gain()
[all …]
Ddebug.c639 for (path = RF_PATH_A; path <= RF_PATH_B; path++) { in rtw_debugfs_get_tx_pwr_tbl()
782 dm_info->rssi[RF_PATH_B] - 100); in rtw_debugfs_get_phy_info()
785 dm_info->rx_evm_dbm[RF_PATH_B]); in rtw_debugfs_get_phy_info()
788 dm_info->rx_snr[RF_PATH_B]); in rtw_debugfs_get_phy_info()
791 dm_info->cfo_tail[RF_PATH_B]); in rtw_debugfs_get_phy_info()
Drtw8723d.c449 rf_cfgch_b = rtw_read_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK); in rtw8723d_set_channel_rf()
469 rtw_write_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK, rf_cfgch_b); in rtw8723d_set_channel_rf()
1301 rtw8723d_iqk_rf_standby(rtwdev, RF_PATH_B); in rtw8723d_iqk_precfg_path()
1705 case RF_PATH_B: in rtw8723d_set_iqk_matrix_by_result()
1736 case RF_PATH_B: in rtw8723d_set_iqk_matrix_by_result()
1782 case RF_PATH_B: in rtw8723d_set_iqk_matrix()
1807 rtw8723d_set_iqk_matrix(rtwdev, swing_idx, RF_PATH_B); in rtw8723d_pwrtrack_set_ofdm_pwr()
2604 [RF_PATH_B] = { .hssi_1 = 0x828, .lssi_read = 0x8a4,
Dcoex.c3726 rf_path = RF_PATH_B; in rtw_coex_val_info()
4161 -dm_info->rx_evm_dbm[RF_PATH_B], in rtw_coex_display_coex_info()
4163 -dm_info->rx_snr[RF_PATH_B]); in rtw_coex_display_coex_info()
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dhal_phy.h32 RF_PATH_B, enumerator
/linux-6.1.9/drivers/staging/r8188eu/include/
DHal8188EPhyCfg.h11 RF_PATH_B = 1, /* Radio Path B */ enumerator
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_mp.h139 #define RF_PATH_B 1 macro
Drtl871x_mp_ioctl.c114 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()
Drtl871x_mp.c534 rfPath = RF_PATH_B; in r8712_SetSingleToneTx()

12