Home
last modified time | relevance | path

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

12

/drivers/staging/r8188eu/hal/
Drtl8188e_phycfg.c182 else if (eRFPath == RF_PATH_B) in phy_RFSerialRead()
394 …pHalData->PHYRegDef[RF_PATH_B].rfintfs = rFPGA0_XAB_RFInterfaceSW; /* 16 MSBs if read 32-bit from… in phy_InitBBRFRegisterDefinition()
400 …pHalData->PHYRegDef[RF_PATH_B].rfintfi = rFPGA0_XAB_RFInterfaceRB;/* 16 MSBs if read 32-bit from … in phy_InitBBRFRegisterDefinition()
406 …pHalData->PHYRegDef[RF_PATH_B].rfintfo = rFPGA0_XB_RFInterfaceOE; /* 16 LSBs if read 32-bit from … in phy_InitBBRFRegisterDefinition()
410 …pHalData->PHYRegDef[RF_PATH_B].rfintfe = rFPGA0_XB_RFInterfaceOE; /* 16 MSBs if read 32-bit from … in phy_InitBBRFRegisterDefinition()
414 pHalData->PHYRegDef[RF_PATH_B].rf3wireOffset = rFPGA0_XB_LSSIParameter; in phy_InitBBRFRegisterDefinition()
418 pHalData->PHYRegDef[RF_PATH_B].rfLSSI_Select = rFPGA0_XAB_RFParameter; in phy_InitBBRFRegisterDefinition()
424 pHalData->PHYRegDef[RF_PATH_B].rfTxGainStage = rFPGA0_TxGainStage; /* Tx gain stage */ in phy_InitBBRFRegisterDefinition()
430 …pHalData->PHYRegDef[RF_PATH_B].rfHSSIPara1 = rFPGA0_XB_HSSIParameter1; /* wire control parameter1… in phy_InitBBRFRegisterDefinition()
434 …pHalData->PHYRegDef[RF_PATH_B].rfHSSIPara2 = rFPGA0_XB_HSSIParameter2; /* wire control parameter2… in phy_InitBBRFRegisterDefinition()
[all …]
Drtl8188e_rf6052.c143 TxAGC[RF_PATH_B] = 0x3f3f3f3f; in rtl8188e_PHY_RF6052SetCckTxPower()
148 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl8188e_PHY_RF6052SetCckTxPower()
167 TxAGC[RF_PATH_B] = 0x10101010; in rtl8188e_PHY_RF6052SetCckTxPower()
170 TxAGC[RF_PATH_B] = 0x00000000; in rtl8188e_PHY_RF6052SetCckTxPower()
172 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl8188e_PHY_RF6052SetCckTxPower()
184 TxAGC[RF_PATH_B] += tmpval; in rtl8188e_PHY_RF6052SetCckTxPower()
188 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl8188e_PHY_RF6052SetCckTxPower()
215 tmpval = TxAGC[RF_PATH_B] >> 24; in rtl8188e_PHY_RF6052SetCckTxPower()
217 tmpval = TxAGC[RF_PATH_B] & 0x00ffffff; in rtl8188e_PHY_RF6052SetCckTxPower()
476 case RF_PATH_B: in phy_RF6052_Config_ParaFile()
[all …]
Drtl8188e_mp.c61 pmp->MptCtx.backup0x52_RF_B = (u8)PHY_QueryRFReg(pAdapter, RF_PATH_B, RF_0x52, 0x000F0); in Hal_mpt_SwitchRfSetting()
63 PHY_SetRFReg(pAdapter, RF_PATH_B, RF_0x52, 0x000F0, 0xD); in Hal_mpt_SwitchRfSetting()
254 write_bbreg(pAdapter, rTxAGC_B_CCK11_A_CCK2_11, bMaskByte0, TxPower[RF_PATH_B]); in Hal_SetCCKTxPower()
255 tmpval = (TxPower[RF_PATH_B] << 16) | (TxPower[RF_PATH_B] << 8) | TxPower[RF_PATH_B]; in Hal_SetCCKTxPower()
276 tmpval = TxPower[RF_PATH_B]; in Hal_SetOFDMTxPower()
294 TxPowerLevel[RF_PATH_B] = pAdapter->mppriv.txpoweridx_b; in Hal_SetAntennaPathPower()
302 rfPath = RF_PATH_B; in Hal_SetAntennaPathPower()
339 rfPath = RF_PATH_B; in Hal_SetTxPower()
599 rfPath = RF_PATH_B; in Hal_SetSingleToneTx()
623 write_rfreg(pAdapter, RF_PATH_B, 0x00, 0x10000); /* PAD all on. */ in Hal_SetSingleToneTx()
[all …]
Dodm_HWConfig.c112 pPhyInfo->RxMIMOSignalQuality[RF_PATH_B] = -1; in odm_RxPhyStatus92CSeries_Parsing()
261 pPhyInfo->RxMIMOSignalQuality[RF_PATH_B] = -1; in odm_RxPhyStatus92CSeries_Parsing()
416 if (pPhyInfo->RxMIMOSignalStrength[RF_PATH_B] == 0) { in odm_Process_RSSIForDM()
419 if (pPhyInfo->RxMIMOSignalStrength[RF_PATH_A] > pPhyInfo->RxMIMOSignalStrength[RF_PATH_B]) { in odm_Process_RSSIForDM()
421 RSSI_min = pPhyInfo->RxMIMOSignalStrength[RF_PATH_B]; in odm_Process_RSSIForDM()
423 RSSI_max = pPhyInfo->RxMIMOSignalStrength[RF_PATH_B]; in odm_Process_RSSIForDM()
Dodm_RegConfig8188E.c42 odm_ConfigRFReg_8188E(pDM_Odm, Addr, Data, RF_PATH_B, Addr | maskforPhySet); in odm_ConfigRF_RadioB_8188E()
DHalPhyRf_8188e.c1029 RF_Bmode = PHY_QueryRFReg(adapt, RF_PATH_B, RF_AC, bMask12Bits); in phy_LCCalibrate_8188E()
1037 ODM_SetRFReg(dm_odm, RF_PATH_B, RF_AC, bMask12Bits, (RF_Bmode & 0x8FFFF) | 0x10000); in phy_LCCalibrate_8188E()
1057 ODM_SetRFReg(dm_odm, RF_PATH_B, RF_AC, bMask12Bits, RF_Bmode); in phy_LCCalibrate_8188E()
/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_NoiseMonitor.c71 noise_data.value[RF_PATH_B] = (u8)((tmp4b&0xff00)>>8); in odm_InbandNoise_Monitor_NSeries()
112 pDM_Odm->noise_level.noise[RF_PATH_B] = -110 + reg_c58 + noise_data.sum[RF_PATH_B]; in odm_InbandNoise_Monitor_NSeries()
113 pDM_Odm->noise_level.noise_all += pDM_Odm->noise_level.noise[RF_PATH_B]; in odm_InbandNoise_Monitor_NSeries()
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()
/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.c2202 swing_table->p[RF_PATH_B] = tbl->pwrtrk_2g_cckb_p; in rtw_phy_config_swing_table()
2203 swing_table->n[RF_PATH_B] = tbl->pwrtrk_2g_cckb_n; in rtw_phy_config_swing_table()
2207 swing_table->p[RF_PATH_B] = tbl->pwrtrk_2gb_p; in rtw_phy_config_swing_table()
2208 swing_table->n[RF_PATH_B] = tbl->pwrtrk_2gb_n; in rtw_phy_config_swing_table()
2213 swing_table->p[RF_PATH_B] = tbl->pwrtrk_5gb_p[RTW_PWR_TRK_5G_1]; in rtw_phy_config_swing_table()
2214 swing_table->n[RF_PATH_B] = tbl->pwrtrk_5gb_n[RTW_PWR_TRK_5G_1]; in rtw_phy_config_swing_table()
2218 swing_table->p[RF_PATH_B] = tbl->pwrtrk_5gb_p[RTW_PWR_TRK_5G_2]; in rtw_phy_config_swing_table()
2219 swing_table->n[RF_PATH_B] = tbl->pwrtrk_5gb_n[RTW_PWR_TRK_5G_2]; in rtw_phy_config_swing_table()
2223 swing_table->p[RF_PATH_B] = tbl->pwrtrk_5gb_p[RTW_PWR_TRK_5G_3]; in rtw_phy_config_swing_table()
2224 swing_table->n[RF_PATH_B] = tbl->pwrtrk_5gb_n[RTW_PWR_TRK_5G_3]; in rtw_phy_config_swing_table()
[all …]
Drtw8822b.c542 rtw_write_rf(rtwdev, RF_PATH_B, 0x18, RFREG_MASK, rf_reg18); in rtw8822b_set_channel_rf()
859 pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110; in query_phy_status_page1()
863 pkt_stat->rx_power[RF_PATH_B], in query_phy_status_page1()
869 pkt_stat->rx_evm[RF_PATH_B] = GET_PHY_STAT_P1_RXEVM_B(phy_status); in query_phy_status_page1()
872 pkt_stat->rx_snr[RF_PATH_B] = GET_PHY_STAT_P1_RXSNR_B(phy_status); in query_phy_status_page1()
875 pkt_stat->cfo_tail[RF_PATH_B] = GET_PHY_STAT_P1_CFO_TAIL_B(phy_status); in query_phy_status_page1()
1351 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCKD, 0x2, 0x1); in rtw8822b_coex_cfg_wl_rx_gain()
1352 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCK, 0x3f, 0x3f); in rtw8822b_coex_cfg_wl_rx_gain()
1361 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCK, 0x3f, 0x4); in rtw8822b_coex_cfg_wl_rx_gain()
1362 rtw_write_rf(rtwdev, RF_PATH_B, RF_RCKD, 0x2, 0x0); in rtw8822b_coex_cfg_wl_rx_gain()
[all …]
Ddebug.c597 for (path = RF_PATH_A; path <= RF_PATH_B; path++) { in rtw_debugfs_get_tx_pwr_tbl()
735 dm_info->rssi[RF_PATH_B] - 100); in rtw_debugfs_get_phy_info()
738 dm_info->rx_evm_dbm[RF_PATH_B]); in rtw_debugfs_get_phy_info()
741 dm_info->rx_snr[RF_PATH_B]); in rtw_debugfs_get_phy_info()
744 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.c3461 rf_path = RF_PATH_B; in rtw_coex_val_info()
3907 -dm_info->rx_evm_dbm[RF_PATH_B], in rtw_coex_display_coex_info()
3909 -dm_info->rx_snr[RF_PATH_B]); in rtw_coex_display_coex_info()
/drivers/staging/rtl8723bs/include/
Dhal_phy.h32 RF_PATH_B, enumerator
/drivers/staging/r8188eu/include/
DHal8188EPhyCfg.h52 RF_PATH_B = 1, /* Radio Path B */ enumerator
/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