Home
last modified time | relevance | path

Searched refs:RF_PATH_A (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Drtw8851b_rfk_table.c110 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x51, 0x80000, 0x0),
111 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x51, 0x00800, 0x0),
112 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x52, 0x00800, 0x0),
113 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x55, 0x0001f, 0x4),
114 RTW89_DECL_RFK_WRF(RF_PATH_A, 0xef, 0x00004, 0x1),
115 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x00, 0xffff0, 0x403e),
116 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x11, 0x00003, 0x0),
117 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x11, 0x00070, 0x6),
118 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x11, 0x1f000, 0x10),
125 RTW89_DECL_RFK_WRF(RF_PATH_A, 0x60, 0x00007, 0x0),
[all …]
Drtw8851b_rfk.c281 if (path == RF_PATH_A) in _dack_reload_by_path()
433 _dack_reset(rtwdev, RF_PATH_A); in _dack_s0()
450 _dack_reload(rtwdev, RF_PATH_A); in _dack_s0()
500 rf0_0 = rtw89_read_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK); in _dac_cal()
505 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, 0x337e1); in _dac_cal()
506 rtw89_write_rf(rtwdev, RF_PATH_A, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal()
511 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, 0x40001); in _dac_cal()
516 rtw89_write_rf(rtwdev, RF_PATH_A, RR_RSV1, RR_RSV1_RST, 0x1); in _dac_cal()
853 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RR_MOD_RGM, a_idxrxgain[idx]); in _rxk_5g_group_sel()
854 rtw89_write_rf(rtwdev, RF_PATH_A, RR_RXA2, RR_RXA2_ATT, a_idxattc2[idx]); in _rxk_5g_group_sel()
[all …]
Drtw8852b_rfk.c492 rtw89_rfk_parser_by_cond(rtwdev, path == RF_PATH_A, in _check_addc()
528 _check_addc(rtwdev, RF_PATH_A); in _addck()
543 _check_addc(rtwdev, RF_PATH_A); in _addck()
588 rtw89_rfk_parser_by_cond(rtwdev, path == RF_PATH_A, in _check_dadc()
594 rtw89_rfk_parser_by_cond(rtwdev, path == RF_PATH_A, in _check_dadc()
763 rf0_0 = rtw89_read_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK); in _dac_cal()
768 rtw89_write_rf(rtwdev, RF_PATH_A, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal()
770 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, 0x337e1); in _dac_cal()
776 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal()
782 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, rf0_0); in _dac_cal()
[all …]
Drtw8851b.c445 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8851b_efuse_parsing_tssi()
485 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_2G_CCK], in rtw8851b_efuse_parsing_gain_offset()
488 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_2G_OFDM], in rtw8851b_efuse_parsing_gain_offset()
491 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_LOW], in rtw8851b_efuse_parsing_gain_offset()
494 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_MID], in rtw8851b_efuse_parsing_gain_offset()
497 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_HIGH], in rtw8851b_efuse_parsing_gain_offset()
702 rtw89_phy_write32_mask(rtwdev, addr, mask, RF_PATH_A); in rtw8851b_set_bb_gpio()
935 for (path = RF_PATH_A; path < BB_PATH_NUM_8851B; path++) { in rtw8851b_set_gain_offset()
947 offset_a = -efuse_gain->offset[RF_PATH_A][gain_ofdm_band]; in rtw8851b_set_gain_offset()
951 rtw89_phy_write32_mask(rtwdev, rssi_ofst_addr[RF_PATH_A], B_PATH0_R_G_OFST_MASK, tmp); in rtw8851b_set_gain_offset()
[all …]
Drtw8852a_rfk.c266 if (path == RF_PATH_A) in _dack_reload_by_path()
319 rtw89_rfk_parser_by_cond(rtwdev, path == RF_PATH_A, in _dack_reload()
331 rtw89_rfk_parser_by_cond(rtwdev, path == RF_PATH_A, in _check_addc()
358 _check_addc(rtwdev, RF_PATH_A); in _addck()
370 _check_addc(rtwdev, RF_PATH_A); in _addck()
397 rtw89_rfk_parser_by_cond(rtwdev, path == RF_PATH_A, in _check_dadc()
403 rtw89_rfk_parser_by_cond(rtwdev, path == RF_PATH_A, in _check_dadc()
441 _check_dadc(rtwdev, RF_PATH_A); in _dack_s0()
444 _dack_reload(rtwdev, RF_PATH_A); in _dack_s0()
505 rf0_0 = rtw89_read_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK); in _dac_cal()
[all …]
Drtw8852c_rfk.c310 path_offset = (path == RF_PATH_A ? 0 : 0x28); in _dack_reload_by_path()
407 rtw89_rfk_parser_by_cond(rtwdev, path == RF_PATH_A, in _dack_reset()
512 rtw8852c_txck_force(rtwdev, RF_PATH_A, true, DAC_160M); in _dack_s0()
515 _dack_reset(rtwdev, RF_PATH_A); in _dack_s0()
525 rtw8852c_txck_force(rtwdev, RF_PATH_A, false, DAC_960M); in _dack_s0()
529 _dack_reload(rtwdev, RF_PATH_A); in _dack_s0()
595 rf0_0 = rtw89_read_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK); in _dac_cal()
599 rtw89_write_rf(rtwdev, RF_PATH_A, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal()
601 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, 0x337e1); in _dac_cal()
609 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal()
[all …]
Drtw8852b.c582 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8852b_efuse_parsing_tssi()
623 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_2G_CCK], in rtw8852b_efuse_parsing_gain_offset()
626 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_2G_OFDM], in rtw8852b_efuse_parsing_gain_offset()
629 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_LOW], in rtw8852b_efuse_parsing_gain_offset()
632 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_MID], in rtw8852b_efuse_parsing_gain_offset()
635 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_HIGH], in rtw8852b_efuse_parsing_gain_offset()
1024 for (path = RF_PATH_A; path < BB_PATH_NUM_8852B; path++) { in rtw8852b_set_gain_offset()
1036 offset_a = -efuse_gain->offset[RF_PATH_A][gain_ofdm_band]; in rtw8852b_set_gain_offset()
1041 rtw89_phy_write32_mask(rtwdev, rssi_ofst_addr[RF_PATH_A], B_PATH0_R_G_OFST_MASK, tmp); in rtw8852b_set_gain_offset()
1051 offset_ofdm = -efuse_gain->offset[RF_PATH_A][gain_ofdm_band]; in rtw8852b_set_gain_offset()
[all …]
Drtw8852c.c369 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8852c_efuse_parsing_tssi()
412 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_2G_CCK], in rtw8852c_efuse_parsing_gain_offset()
415 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_2G_OFDM], in rtw8852c_efuse_parsing_gain_offset()
418 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_LOW], in rtw8852c_efuse_parsing_gain_offset()
421 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_MID], in rtw8852c_efuse_parsing_gain_offset()
424 &gain->offset[RF_PATH_A][RTW89_GAIN_OFFSET_5G_HIGH], in rtw8852c_efuse_parsing_gain_offset()
925 rtw8852c_set_gain_error(rtwdev, subband, RF_PATH_A); in rtw8852c_ctrl_ch()
926 rtw8852c_set_gain_offset(rtwdev, chan, phy_idx, RF_PATH_A); in rtw8852c_ctrl_ch()
1165 rtw8852c_bw_setting(rtwdev, bw, RF_PATH_A); in rtw8852c_ctrl_bw()
1236 [RF_PATH_A] = {
[all …]
Drtw8852a.c516 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8852a_efuse_parsing_tssi()
841 rtw8852a_ch_setting(rtwdev, central_ch, RF_PATH_A); in rtw8852a_ctrl_ch()
1037 rtw8852a_bw_setting(rtwdev, bw, RF_PATH_A); in rtw8852a_ctrl_bw()
1239 rtw8852a_tssi_cont_en(rtwdev, en, RF_PATH_A); in rtw8852a_tssi_cont_en_phyidx()
1243 rtw8852a_tssi_cont_en(rtwdev, en, RF_PATH_A); in rtw8852a_tssi_cont_en_phyidx()
1312 rtwdev->is_tssi_mode[RF_PATH_A] = false; in rtw8852a_rfk_init()
1573 if (tx_path == RF_PATH_A) { in rtw8852a_bb_cfg_tx_path()
1603 if (tx_path == RF_PATH_A) { in rtw8852a_bb_cfg_tx_path()
1718 rtw89_write_rf(rtwdev, RF_PATH_A, RR_WLSEL, 0xfffff, 0x0); in rtw8852a_btc_init_cfg()
1724 RF_PATH_A, BTC_BT_SS_GROUP, 0x5ff); in rtw8852a_btc_init_cfg()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/hal/
DHalPhyRf.c33 for (p = RF_PATH_A; p < MAX_RF_PATH; ++p) { in ODM_ClearTxPowerTrackingState()
96 …ThermalValue = (u8)PHY_QueryRFReg(pDM_Odm->Adapter, RF_PATH_A, c.ThermalRegAddr, 0xfc00); /* 0x42:… in ODM_TXPowerTrackingCallback_ThermalMeter()
157 pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[RF_PATH_A] = in ODM_TXPowerTrackingCallback_ThermalMeter()
158 pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[RF_PATH_A]; in ODM_TXPowerTrackingCallback_ThermalMeter()
159 pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[RF_PATH_A] = in ODM_TXPowerTrackingCallback_ThermalMeter()
163 pDM_Odm->Absolute_OFDMSwingIdx[RF_PATH_A] = in ODM_TXPowerTrackingCallback_ThermalMeter()
178 pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[RF_PATH_A] = in ODM_TXPowerTrackingCallback_ThermalMeter()
179 pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[RF_PATH_A]; in ODM_TXPowerTrackingCallback_ThermalMeter()
180 pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[RF_PATH_A] = in ODM_TXPowerTrackingCallback_ThermalMeter()
184 pDM_Odm->Absolute_OFDMSwingIdx[RF_PATH_A] = in ODM_TXPowerTrackingCallback_ThermalMeter()
[all …]
DHalPhyRf_8723B.c72 case RF_PATH_A: in setIqkMatrix_8723B()
104 case RF_PATH_A: in setIqkMatrix_8723B()
383 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); in phy_PathA_IQK_8723B()
384 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x18000); in phy_PathA_IQK_8723B()
385 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0003f); in phy_PathA_IQK_8723B()
386 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xc7f87); in phy_PathA_IQK_8723B()
483 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); in phy_PathA_RxIQK8723B()
484 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x18000); in phy_PathA_RxIQK8723B()
485 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0001f); in phy_PathA_RxIQK8723B()
487 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xf7fb7); in phy_PathA_RxIQK8723B()
[all …]
Drtl8723b_phycfg.c112 if (eRFPath == RF_PATH_A) { in phy_RFSerialRead_8723B()
132 if (eRFPath == RF_PATH_A) in phy_RFSerialRead_8723B()
311 …pHalData->PHYRegDef[RF_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; /* 16 LSBs if read 32-bit from… in phy_InitBBRFRegisterDefinition()
315 …pHalData->PHYRegDef[RF_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; /* 16 LSBs if read 32-bit from … in phy_InitBBRFRegisterDefinition()
319 …pHalData->PHYRegDef[RF_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; /* 16 MSBs if read 32-bit from … in phy_InitBBRFRegisterDefinition()
322 pHalData->PHYRegDef[RF_PATH_A].rf3wireOffset = rFPGA0_XA_LSSIParameter; /* LSSI Parameter */ in phy_InitBBRFRegisterDefinition()
325 …pHalData->PHYRegDef[RF_PATH_A].rfHSSIPara2 = rFPGA0_XA_HSSIParameter2; /* wire control parameter2… in phy_InitBBRFRegisterDefinition()
329 pHalData->PHYRegDef[RF_PATH_A].rfLSSIReadBack = rFPGA0_XA_LSSIReadBack; in phy_InitBBRFRegisterDefinition()
331 pHalData->PHYRegDef[RF_PATH_A].rfLSSIReadBackPi = TransceiverA_HSPI_Readback; in phy_InitBBRFRegisterDefinition()
402 PHY_SetRFReg(Adapter, RF_PATH_A, 0x1, 0xfffff, 0x780); in PHY_BBConfig8723B()
[all …]
Drtl8723b_rf6052.c66 PHY_SetRFReg(Adapter, RF_PATH_A, RF_CHNLBW, bRFRegOffsetMask, pHalData->RfRegChnlVal[0]); in PHY_RF6052SetBandwidth8723B()
72 PHY_SetRFReg(Adapter, RF_PATH_A, RF_CHNLBW, bRFRegOffsetMask, pHalData->RfRegChnlVal[0]); in PHY_RF6052SetBandwidth8723B()
99 case RF_PATH_A: in phy_RF6052_Config_ParaFile()
124 case RF_PATH_A: in phy_RF6052_Config_ParaFile()
133 case RF_PATH_A: in phy_RF6052_Config_ParaFile()
Dodm_HWConfig.c116 phy_info->rx_mimo_signal_quality[RF_PATH_A] = -1; in odm_rx_phy_status_parsing()
169 phy_info->rx_mimo_signal_quality[RF_PATH_A] = sq; in odm_rx_phy_status_parsing()
179 for (i = RF_PATH_A; i < RF_PATH_MAX; i++) { in odm_rx_phy_status_parsing()
230 phy_info->rx_mimo_signal_quality[RF_PATH_A] = (u8)(evm & 0xff); in odm_rx_phy_status_parsing()
294 RSSI_Ave = pPhyInfo->rx_mimo_signal_strength[RF_PATH_A]; in odm_Process_RSSIForDM()
295 pDM_Odm->RSSI_A = pPhyInfo->rx_mimo_signal_strength[RF_PATH_A]; in odm_Process_RSSIForDM()
298 pDM_Odm->RSSI_A = pPhyInfo->rx_mimo_signal_strength[RF_PATH_A]; in odm_Process_RSSIForDM()
302 pPhyInfo->rx_mimo_signal_strength[RF_PATH_A] > in odm_Process_RSSIForDM()
305 RSSI_max = pPhyInfo->rx_mimo_signal_strength[RF_PATH_A]; in odm_Process_RSSIForDM()
309 RSSI_min = pPhyInfo->rx_mimo_signal_strength[RF_PATH_A]; in odm_Process_RSSIForDM()
Dhal_com_phycfg.c70 for (path = RF_PATH_A; path <= RF_PATH_B; ++path) { in phy_StoreTxPowerByRateBase()
350 for (rfPath = RF_PATH_A; rfPath < MAX_RF_PATH_NUM; ++rfPath) in PHY_InitTxPowerByRate()
388 for (path = RF_PATH_A; path < RF_PATH_MAX; ++path) { in phy_ConvertTxPowerByRateInDbmToRelativeValues()
767 tempPwrLmt = pHalData->TxPwrLimit_2_4G[regulation][bw][rateSection][channel][RF_PATH_A]; in PHY_ConvertTxPowerLimitToPowerIndex()
769 for (rfPath = RF_PATH_A; rfPath < MAX_RF_PATH_NUM; ++rfPath) { in PHY_ConvertTxPowerLimitToPowerIndex()
852 …owerLimit = pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][RF_PATH_A]; in PHY_SetTxPowerLimit()
855 …pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][RF_PATH_A] = powerLimi… in PHY_SetTxPowerLimit()
Dodm_RegConfig8723B.c96 RF_PATH_A, in odm_ConfigRF_RadioA_8723B()
Dodm_CfoTracking.c202 for (i = RF_PATH_A; i <= RF_PATH_B; i++) in odm_parsing_cfo()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Drtw8723d.c79 lc_cal = rtw_read_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK); in rtw8723d_lck()
81 rtw_write_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK, lc_cal | BIT_LCK); in rtw8723d_lck()
85 rtwdev, RF_PATH_A, RF_CFGCH, BIT_LCK); in rtw8723d_lck()
89 rtw_write_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK, lc_cal); in rtw8723d_lck()
125 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8723d_pwrtrack_init()
275 pkt_stat->rx_power[RF_PATH_A] = pwdb - 97; in query_phy_status_page0()
278 pkt_stat->signal_power = max(pkt_stat->rx_power[RF_PATH_A], in query_phy_status_page0()
280 dm_info->rssi[RF_PATH_A] = pkt_stat->rssi; in query_phy_status_page0()
303 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in query_phy_status_page1()
306 pkt_stat->signal_power = max(pkt_stat->rx_power[RF_PATH_A], in query_phy_status_page1()
[all …]
Drtw8821c.c143 ewma_thermal_init(&dm_info->avg_thermal[RF_PATH_A]); in rtw8821c_pwrtrack_init()
144 dm_info->delta_power_index[RF_PATH_A] = 0; in rtw8821c_pwrtrack_init()
145 dm_info->delta_power_index_last[RF_PATH_A] = 0; in rtw8821c_pwrtrack_init()
315 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8821c_set_channel_rf()
348 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTDBG, BIT(6), 0x1); in rtw8821c_set_channel_rf()
349 rtw_write_rf(rtwdev, RF_PATH_A, 0x64, 0xf, 0xf); in rtw8821c_set_channel_rf()
352 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTDBG, BIT(6), 0x0); in rtw8821c_set_channel_rf()
355 rtw_write_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK, rf_reg18); in rtw8821c_set_channel_rf()
357 rtw_write_rf(rtwdev, RF_PATH_A, RF_XTALX2, BIT(19), 0); in rtw8821c_set_channel_rf()
358 rtw_write_rf(rtwdev, RF_PATH_A, RF_XTALX2, BIT(19), 1); in rtw8821c_set_channel_rf()
[all …]
Drtw8822b.c61 efuse->thermal_meter[RF_PATH_A] = map->thermal_meter; in rtw8822b_read_efuse()
135 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8822b_pwrtrack_init()
515 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8822b_set_channel_rf()
553 rtw_write_rf(rtwdev, RF_PATH_A, RF_MALSEL, RFBE_MASK, rf_reg_be); in rtw8822b_set_channel_rf()
557 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTDBG, BIT(18), 0x1); in rtw8822b_set_channel_rf()
559 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTDBG, BIT(18), 0x0); in rtw8822b_set_channel_rf()
561 rtw_write_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK, rf_reg18); in rtw8822b_set_channel_rf()
565 rtw_write_rf(rtwdev, RF_PATH_A, RF_XTALX2, BIT(19), 0); in rtw8822b_set_channel_rf()
566 rtw_write_rf(rtwdev, RF_PATH_A, RF_XTALX2, BIT(19), 1); in rtw8822b_set_channel_rf()
813 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTWE, RFREG_MASK, 0x80000); in rtw8822b_config_trx_mode()
[all …]
Drtw8822c.c60 efuse->thermal_meter[RF_PATH_A] = map->path_a_thermal; in rtw8822c_read_efuse()
240 case RF_PATH_A: in rtw8822c_get_path_write_addr()
259 case RF_PATH_A: in rtw8822c_get_path_read_addr()
367 rf_a = rtw_read_rf(rtwdev, RF_PATH_A, 0x0, RFREG_MASK); in rtw8822c_dac_cal_rf_mode()
406 case RF_PATH_A: in rtw8822c_dac_cal_adc()
425 rtw_write_rf(rtwdev, RF_PATH_A, 0x0, RFREG_MASK, 0x10000); in rtw8822c_dac_cal_adc()
482 if (path == RF_PATH_A) { in rtw8822c_dac_cal_step1()
695 dm_info->dack_dck[RF_PATH_A][0][0] = val; in rtw8822c_dac_cal_backup_dck()
697 dm_info->dack_dck[RF_PATH_A][0][1] = val; in rtw8822c_dac_cal_backup_dck()
699 dm_info->dack_dck[RF_PATH_A][1][0] = val; in rtw8822c_dac_cal_backup_dck()
[all …]
Dphy.c940 rf_sipi_addr_a = &chip->rf_sipi_read_addr[RF_PATH_A]; in rtw_phy_read_rf_sipi()
2345 swing_table->p[RF_PATH_A] = tbl->pwrtrk_2g_ccka_p; in rtw_phy_config_swing_table()
2346 swing_table->n[RF_PATH_A] = tbl->pwrtrk_2g_ccka_n; in rtw_phy_config_swing_table()
2350 swing_table->p[RF_PATH_A] = tbl->pwrtrk_2ga_p; in rtw_phy_config_swing_table()
2351 swing_table->n[RF_PATH_A] = tbl->pwrtrk_2ga_n; in rtw_phy_config_swing_table()
2356 swing_table->p[RF_PATH_A] = tbl->pwrtrk_5ga_p[RTW_PWR_TRK_5G_1]; in rtw_phy_config_swing_table()
2357 swing_table->n[RF_PATH_A] = tbl->pwrtrk_5ga_n[RTW_PWR_TRK_5G_1]; in rtw_phy_config_swing_table()
2361 swing_table->p[RF_PATH_A] = tbl->pwrtrk_5ga_p[RTW_PWR_TRK_5G_2]; in rtw_phy_config_swing_table()
2362 swing_table->n[RF_PATH_A] = tbl->pwrtrk_5ga_n[RTW_PWR_TRK_5G_2]; in rtw_phy_config_swing_table()
2366 swing_table->p[RF_PATH_A] = tbl->pwrtrk_5ga_p[RTW_PWR_TRK_5G_3]; in rtw_phy_config_swing_table()
[all …]
Ddebug.c672 for (path = RF_PATH_A; path <= RF_PATH_B; path++) { in rtw_debugfs_get_tx_pwr_tbl()
719 dm_info->rssi[RF_PATH_A] - 100, hal->current_channel); in rtw_debugfs_get_simple_phy_info()
814 dm_info->rssi[RF_PATH_A] - 100, in rtw_debugfs_get_phy_info()
817 dm_info->rx_evm_dbm[RF_PATH_A], in rtw_debugfs_get_phy_info()
820 dm_info->rx_snr[RF_PATH_A], in rtw_debugfs_get_phy_info()
823 dm_info->cfo_tail[RF_PATH_A], in rtw_debugfs_get_phy_info()
/linux-6.6.21/drivers/staging/rtl8712/
Drtl871x_mp.c325 u8 path = RF_PATH_A; in r8712_SetDataRate()
379 set_rf_reg(pAdapter, RF_PATH_A, RF_CHNLBW, in r8712_SwitchBandwidth()
383 set_rf_reg(pAdapter, RF_PATH_A, RF_CHNLBW, in r8712_SwitchBandwidth()
484 set_rf_reg(pAdapter, RF_PATH_A, RF_T_METER, bRFRegOffsetMask, 0x60); in TriggerRFThermalMeter()
490 return get_rf_reg(pAdapter, RF_PATH_A, RF_T_METER, 0x1F); in ReadRFThermalMeter()
538 rfPath = RF_PATH_A; in r8712_SetSingleToneTx()
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Dhal_phy.h31 RF_PATH_A = 0, enumerator

12