Home
last modified time | relevance | path

Searched refs:eRFPath (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dhal_phy.c63 u32 PHY_RFShadowRead(IN PADAPTER Adapter, IN u8 eRFPath, IN u32 Offset) in PHY_RFShadowRead() argument
65 return RF_Shadow[eRFPath][Offset].Value; in PHY_RFShadowRead()
71 IN PADAPTER Adapter, IN u8 eRFPath, IN u32 Offset, IN u32 Data in PHY_RFShadowWrite() argument
74 RF_Shadow[eRFPath][Offset].Value = (Data & bRFRegOffsetMask); in PHY_RFShadowWrite()
75 RF_Shadow[eRFPath][Offset].Driver_Write = true; in PHY_RFShadowWrite()
80 bool PHY_RFShadowCompare(IN PADAPTER Adapter, IN u8 eRFPath, IN u32 Offset) in PHY_RFShadowCompare() argument
84 if (RF_Shadow[eRFPath][Offset].Compare == true) { in PHY_RFShadowCompare()
85 reg = rtw_hal_read_rfreg(Adapter, eRFPath, Offset, bRFRegOffsetMask); in PHY_RFShadowCompare()
87 if (RF_Shadow[eRFPath][Offset].Value != reg) { in PHY_RFShadowCompare()
89 RF_Shadow[eRFPath][Offset].ErrorOrNot = true; in PHY_RFShadowCompare()
[all …]
Drtl8723b_rf6052.c86 u8 eRFPath; in phy_RF6052_Config_ParaFile() local
105 for (eRFPath = 0; eRFPath < pHalData->NumTotalRFPath; eRFPath++) { in phy_RF6052_Config_ParaFile()
107 pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RF6052_Config_ParaFile()
110 switch (eRFPath) { in phy_RF6052_Config_ParaFile()
137 switch (eRFPath) { in phy_RF6052_Config_ParaFile()
140 eRFPath) == _FAIL) { in phy_RF6052_Config_ParaFile()
141 …E == ODM_ConfigRFWithHeaderFile(&pHalData->odmpriv, CONFIG_RF_RADIO, (ODM_RF_RADIO_PATH_E)eRFPath)) in phy_RF6052_Config_ParaFile()
147 eRFPath) == _FAIL) { in phy_RF6052_Config_ParaFile()
148 …E == ODM_ConfigRFWithHeaderFile(&pHalData->odmpriv, CONFIG_RF_RADIO, (ODM_RF_RADIO_PATH_E)eRFPath)) in phy_RF6052_Config_ParaFile()
159 switch (eRFPath) { in phy_RF6052_Config_ParaFile()
Drtl8723b_phycfg.c128 struct adapter *Adapter, enum RF_PATH eRFPath, u32 Offset in phy_RFSerialRead_8723B() argument
133 struct bb_register_def *pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RFSerialRead_8723B()
147 if (eRFPath == RF_PATH_A) { in phy_RFSerialRead_8723B()
167 if (eRFPath == RF_PATH_A) in phy_RFSerialRead_8723B()
169 else if (eRFPath == RF_PATH_B) in phy_RFSerialRead_8723B()
232 enum RF_PATH eRFPath, in phy_RFSerialWrite_8723B() argument
239 struct bb_register_def *pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RFSerialWrite_8723B()
282 u8 eRFPath, in PHY_QueryRFReg_8723B() argument
293 Original_Value = phy_RFSerialRead_8723B(Adapter, eRFPath, RegAddr); in PHY_QueryRFReg_8723B()
321 u8 eRFPath, in PHY_SetRFReg_8723B() argument
[all …]
Dhal_intf.c329 u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask) in rtw_hal_read_rfreg() argument
333 data = padapter->HalFunc.read_rfreg(padapter, eRFPath, RegAddr, BitMask); in rtw_hal_read_rfreg()
336 void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data) in rtw_hal_write_rfreg() argument
339 padapter->HalFunc.write_rfreg(padapter, eRFPath, RegAddr, BitMask, Data); in rtw_hal_write_rfreg()
Dodm_HWConfig.h136 ODM_RF_RADIO_PATH_E eRFPath
DHalBtcOutSrc.h394 void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data
397 void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask
Dhal_btcoex.c858 static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data) in halbtcoutsrc_SetRfReg() argument
867 PHY_SetRFReg(padapter, eRFPath, RegAddr, BitMask, Data); in halbtcoutsrc_SetRfReg()
870 static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask) in halbtcoutsrc_GetRfReg() argument
879 return PHY_QueryRFReg(padapter, eRFPath, RegAddr, BitMask); in halbtcoutsrc_GetRfReg()
Dhal_com_phycfg.c2716 struct adapter *Adapter, char *pFileName, u8 eRFPath in PHY_ConfigRFWithParaFile() argument
2730 switch (eRFPath) { in PHY_ConfigRFWithParaFile()
2740 DBG_871X("Unknown RF path!! %d\r\n", eRFPath); in PHY_ConfigRFWithParaFile()
2758 switch (eRFPath) { in PHY_ConfigRFWithParaFile()
2767 DBG_871X("%s(): eRFPath =%d alloc fail !\n", __func__, eRFPath); in PHY_ConfigRFWithParaFile()
2808 PHY_SetRFReg(Adapter, eRFPath, u4bRegOffset, bRFRegOffsetMask, u4bRegValue); in PHY_ConfigRFWithParaFile()
Dodm_HWConfig.c448 ODM_RF_RADIO_PATH_E eRFPath in ODM_ConfigRFWithHeaderFile() argument
/Linux-v4.19/drivers/staging/rtl8192u/
Dr8190_rtl8256.c28 u8 eRFPath; in PHY_SetRF8256Bandwidth() local
34 for (eRFPath = 0; eRFPath < RF90_PATH_MAX; eRFPath++) { in PHY_SetRF8256Bandwidth()
35 if (!rtl8192_phy_CheckIsLegalRFPath(dev, eRFPath)) in PHY_SetRF8256Bandwidth()
44 (enum rf90_radio_path_e)eRFPath, in PHY_SetRF8256Bandwidth()
47 (enum rf90_radio_path_e)eRFPath, in PHY_SetRF8256Bandwidth()
50 (enum rf90_radio_path_e)eRFPath, in PHY_SetRF8256Bandwidth()
53 (enum rf90_radio_path_e)eRFPath, in PHY_SetRF8256Bandwidth()
61 …rtl8192_phy_SetRFReg(dev, (enum rf90_radio_path_e)eRFPath, 0x0b, bMask12Bits, 0x300); /* phy para:… in PHY_SetRF8256Bandwidth()
62 rtl8192_phy_SetRFReg(dev, (enum rf90_radio_path_e)eRFPath, 0x2c, bMask12Bits, 0x3df); in PHY_SetRF8256Bandwidth()
63 rtl8192_phy_SetRFReg(dev, (enum rf90_radio_path_e)eRFPath, 0x0e, bMask12Bits, 0x0a1); in PHY_SetRF8256Bandwidth()
[all …]
Dr8192U_core.c2898 for (eRFPath = 0; eRFPath < pHalData->NumTotalRFPath; eRFPath++) in rtl8192_adapter_start()
2900 (enum rf90_radio_path_e)eRFPath, in rtl8192_adapter_start()
2924 for (eRFPath = 0; eRFPath < pHalData->NumTotalRFPath; eRFPath++) in rtl8192_adapter_start()
2926 (enum rf90_radio_path_e)eRFPath, in rtl8192_adapter_start()
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Dr8190P_rtl8256.c24 u8 eRFPath; in rtl92e_set_bandwidth() local
33 for (eRFPath = 0; eRFPath < priv->NumTotalRFPath; eRFPath++) { in rtl92e_set_bandwidth()
34 if (!rtl92e_is_legal_rf_path(dev, eRFPath)) in rtl92e_set_bandwidth()
39 rtl92e_set_rf_reg(dev, (enum rf90_radio_path)eRFPath, in rtl92e_set_bandwidth()
41 rtl92e_set_rf_reg(dev, (enum rf90_radio_path)eRFPath, in rtl92e_set_bandwidth()
43 rtl92e_set_rf_reg(dev, (enum rf90_radio_path)eRFPath, in rtl92e_set_bandwidth()
47 rtl92e_set_rf_reg(dev, (enum rf90_radio_path)eRFPath, in rtl92e_set_bandwidth()
49 rtl92e_set_rf_reg(dev, (enum rf90_radio_path)eRFPath, in rtl92e_set_bandwidth()
51 rtl92e_set_rf_reg(dev, (enum rf90_radio_path)eRFPath, in rtl92e_set_bandwidth()
66 u8 eRFPath; in rtl92e_config_rf() local
[all …]
Dr8192E_phy.c47 enum rf90_radio_path eRFPath, u32 Offset);
49 enum rf90_radio_path eRFPath, u32 Offset,
59 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath) in rtl92e_is_legal_rf_path() argument
67 if (eRFPath == RF90_PATH_A || eRFPath == RF90_PATH_B) in rtl92e_is_legal_rf_path()
69 else if (eRFPath == RF90_PATH_C || eRFPath == RF90_PATH_D) in rtl92e_is_legal_rf_path()
102 enum rf90_radio_path eRFPath, u32 Offset) in _rtl92e_phy_rf_read() argument
107 struct bb_reg_definition *pPhyReg = &priv->PHYRegDef[eRFPath]; in _rtl92e_phy_rf_read()
114 priv->RfReg0Value[eRFPath] |= 0x140; in _rtl92e_phy_rf_read()
117 (priv->RfReg0Value[eRFPath]<<16)); in _rtl92e_phy_rf_read()
120 priv->RfReg0Value[eRFPath] |= 0x100; in _rtl92e_phy_rf_read()
[all …]
Dr8192E_phy.h66 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath);
70 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
72 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
77 enum rf90_radio_path eRFPath);
82 u8 rtl92e_config_rf_path(struct net_device *dev, enum rf90_radio_path eRFPath);
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dhal_intf.h246 u32 (*read_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask);
247 void (*write_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data);
369 u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask);
370 void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data);
374 #define PHY_QueryRFReg(Adapter, eRFPath, RegAddr, BitMask) rtw_hal_read_rfreg((Adapter), (eRFPath),… argument
375 #define PHY_SetRFReg(Adapter, eRFPath, RegAddr, BitMask, Data) rtw_hal_write_rfreg((Adapter), (eRFP… argument
Dhal_phy_cfg.h46 u8 eRFPath,
54 u8 eRFPath,
Dhal_com_phycfg.h257 int PHY_ConfigRFWithParaFile(struct adapter *Adapter, char*pFileName, u8 eRFPath);
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dhal_intf.h204 u32 rtw_hal_read_rfreg(struct adapter *padapter, enum rf_radio_path eRFPath,
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1037 u8 eRFPath = 0, value8 = 0; in _DisableRFAFEAndResetBB() local
1039 rtl_set_rfreg(hw, (enum radio_path)eRFPath, 0x0, MASKBYTE0, 0x0); in _DisableRFAFEAndResetBB()