/linux-4.1.27/drivers/staging/rtl8192u/ |
H A D | r8190_rtl8256.c | 108 BB_REGISTER_DEFINITION_T *pPhyReg; phy_RF8256_Config_ParaFile() local 120 pPhyReg = &priv->PHYRegDef[eRFPath]; phy_RF8256_Config_ParaFile() 129 u4RegValue = rtl8192_QueryBBReg(dev, pPhyReg->rfintfs, bRFSI_RFENV); phy_RF8256_Config_ParaFile() 133 u4RegValue = rtl8192_QueryBBReg(dev, pPhyReg->rfintfs, bRFSI_RFENV<<16); phy_RF8256_Config_ParaFile() 138 rtl8192_setBBreg(dev, pPhyReg->rfintfe, bRFSI_RFENV<<16, 0x1); phy_RF8256_Config_ParaFile() 141 rtl8192_setBBreg(dev, pPhyReg->rfintfo, bRFSI_RFENV, 0x1); phy_RF8256_Config_ParaFile() 144 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, b3WireAddressLength, 0x0); /* Set 0 to 4 bits for Z-serial and set 1 to 6 bits for 8258 */ phy_RF8256_Config_ParaFile() 145 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, b3WireDataLength, 0x0); /* Set 0 to 12 bits for Z-serial and 8258, and set 1 to 14 bits for ??? */ phy_RF8256_Config_ParaFile() 199 rtl8192_setBBreg(dev, pPhyReg->rfintfs, bRFSI_RFENV, u4RegValue); phy_RF8256_Config_ParaFile() 203 rtl8192_setBBreg(dev, pPhyReg->rfintfs, bRFSI_RFENV<<16, u4RegValue); phy_RF8256_Config_ParaFile()
|
H A D | r819xU_phy.c | 152 BB_REGISTER_DEFINITION_T *pPhyReg = &priv->PHYRegDef[eRFPath]; rtl8192_phy_RFSerialRead() local 154 rtl8192_setBBreg(dev, pPhyReg->rfLSSIReadBack, bLSSIReadBackData, 0); rtl8192_phy_RFSerialRead() 163 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialRead() 172 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialRead() 186 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, bLSSIReadAddress, rtl8192_phy_RFSerialRead() 189 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, bLSSIReadEdge, 0x0); rtl8192_phy_RFSerialRead() 190 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, bLSSIReadEdge, 0x1); rtl8192_phy_RFSerialRead() 196 ret = rtl8192_QueryBBReg(dev, pPhyReg->rfLSSIReadBack, rtl8192_phy_RFSerialRead() 204 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, bMaskDWord, rtl8192_phy_RFSerialRead() 237 BB_REGISTER_DEFINITION_T *pPhyReg = &priv->PHYRegDef[eRFPath]; rtl8192_phy_RFSerialWrite() local 244 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialWrite() 251 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialWrite() 268 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, bMaskDWord, DataAndAddr); rtl8192_phy_RFSerialWrite() 278 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialWrite()
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8190P_rtl8256.c | 98 struct bb_reg_definition *pPhyReg; phy_RF8256_Config_ParaFile() local 111 pPhyReg = &priv->PHYRegDef[eRFPath]; phy_RF8256_Config_ParaFile() 117 u4RegValue = rtl8192_QueryBBReg(dev, pPhyReg->rfintfs, phy_RF8256_Config_ParaFile() 122 u4RegValue = rtl8192_QueryBBReg(dev, pPhyReg->rfintfs, phy_RF8256_Config_ParaFile() 127 rtl8192_setBBreg(dev, pPhyReg->rfintfe, bRFSI_RFENV<<16, 0x1); phy_RF8256_Config_ParaFile() 129 rtl8192_setBBreg(dev, pPhyReg->rfintfo, bRFSI_RFENV, 0x1); phy_RF8256_Config_ParaFile() 131 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, phy_RF8256_Config_ParaFile() 133 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, phy_RF8256_Config_ParaFile() 219 rtl8192_setBBreg(dev, pPhyReg->rfintfs, bRFSI_RFENV, phy_RF8256_Config_ParaFile() 224 rtl8192_setBBreg(dev, pPhyReg->rfintfs, bRFSI_RFENV<<16, phy_RF8256_Config_ParaFile()
|
H A D | r8192E_phy.c | 115 struct bb_reg_definition *pPhyReg = &priv->PHYRegDef[eRFPath]; rtl8192_phy_RFSerialRead() local 123 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialRead() 130 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialRead() 142 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, bLSSIReadAddress, rtl8192_phy_RFSerialRead() 144 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, bLSSIReadEdge, 0x0); rtl8192_phy_RFSerialRead() 145 rtl8192_setBBreg(dev, pPhyReg->rfHSSIPara2, bLSSIReadEdge, 0x1); rtl8192_phy_RFSerialRead() 149 ret = rtl8192_QueryBBReg(dev, pPhyReg->rfLSSIReadBack, rtl8192_phy_RFSerialRead() 155 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, bMaskDWord, rtl8192_phy_RFSerialRead() 172 struct bb_reg_definition *pPhyReg = &priv->PHYRegDef[eRFPath]; rtl8192_phy_RFSerialWrite() local 180 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialWrite() 187 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialWrite() 201 rtl8192_setBBreg(dev, pPhyReg->rf3wireOffset, bMaskDWord, DataAndAddr); rtl8192_phy_RFSerialWrite() 211 pPhyReg->rf3wireOffset, rtl8192_phy_RFSerialWrite()
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723a_rf6052.c | 431 struct bb_reg_define *pPhyReg; phy_RF6052_Config_ParaFile() local 440 pPhyReg = &pHalData->PHYRegDef[eRFPath]; phy_RF6052_Config_ParaFile() 445 u4RegValue = PHY_QueryBBReg(Adapter, pPhyReg->rfintfs, phy_RF6052_Config_ParaFile() 449 u4RegValue = PHY_QueryBBReg(Adapter, pPhyReg->rfintfs, phy_RF6052_Config_ParaFile() 455 PHY_SetBBReg(Adapter, pPhyReg->rfintfe, bRFSI_RFENV << 16, 0x1); phy_RF6052_Config_ParaFile() 459 PHY_SetBBReg(Adapter, pPhyReg->rfintfo, bRFSI_RFENV, 0x1); phy_RF6052_Config_ParaFile() 463 PHY_SetBBReg(Adapter, pPhyReg->rfHSSIPara2, b3WireAddressLength, phy_RF6052_Config_ParaFile() 467 PHY_SetBBReg(Adapter, pPhyReg->rfHSSIPara2, b3WireDataLength, phy_RF6052_Config_ParaFile() 483 PHY_SetBBReg(Adapter, pPhyReg->rfintfs, phy_RF6052_Config_ParaFile() 487 PHY_SetBBReg(Adapter, pPhyReg->rfintfs, phy_RF6052_Config_ParaFile()
|
H A D | rtl8723a_phycfg.c | 165 struct bb_reg_define *pPhyReg = &pHalData->PHYRegDef[eRFPath]; phy_RFSerialRead() local 194 tmplong2 = rtl8723au_read32(Adapter, pPhyReg->rfHSSIPara2); phy_RFSerialRead() 203 rtl8723au_write32(Adapter, pPhyReg->rfHSSIPara2, tmplong2); phy_RFSerialRead() 221 retValue = PHY_QueryBBReg(Adapter, pPhyReg->rfLSSIReadBackPi, phy_RFSerialRead() 226 retValue = PHY_QueryBBReg(Adapter, pPhyReg->rfLSSIReadBack, phy_RFSerialRead() 230 /* DBG_8723A("RFR-%d Addr[0x%x]= 0x%x\n", eRFPath, pPhyReg->rfLSSIReadBack, retValue); */ phy_RFSerialRead() 285 struct bb_reg_define *pPhyReg = &pHalData->PHYRegDef[eRFPath]; phy_RFSerialWrite() local 318 rtl8723au_write32(Adapter, pPhyReg->rf3wireOffset, DataAndAddr); phy_RFSerialWrite()
|