Home
last modified time | relevance | path

Searched refs:pAdapter (Results 1 – 15 of 15) sorted by relevance

/drivers/staging/r8188eu/hal/
Drtl8188e_mp.c55 void Hal_mpt_SwitchRfSetting(struct adapter *pAdapter) in Hal_mpt_SwitchRfSetting() argument
57 struct mp_priv *pmp = &pAdapter->mppriv; in Hal_mpt_SwitchRfSetting()
60 pmp->MptCtx.backup0x52_RF_A = (u8)PHY_QueryRFReg(pAdapter, RF_PATH_A, RF_0x52, 0x000F0); in Hal_mpt_SwitchRfSetting()
61 pmp->MptCtx.backup0x52_RF_B = (u8)PHY_QueryRFReg(pAdapter, RF_PATH_B, RF_0x52, 0x000F0); in Hal_mpt_SwitchRfSetting()
62 PHY_SetRFReg(pAdapter, RF_PATH_A, RF_0x52, 0x000F0, 0xD); in Hal_mpt_SwitchRfSetting()
63 PHY_SetRFReg(pAdapter, RF_PATH_B, RF_0x52, 0x000F0, 0xD); in Hal_mpt_SwitchRfSetting()
134 void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *pAdapter, bool beven) in Hal_MPT_CCKTxPowerAdjustbyIndex() argument
136 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in Hal_MPT_CCKTxPowerAdjustbyIndex()
137 struct mpt_context *pMptCtx = &pAdapter->mppriv.MptCtx; in Hal_MPT_CCKTxPowerAdjustbyIndex()
158 TempCCk = read_bbreg(pAdapter, rCCK0_TxFilter2, bMaskDWord) & bMaskCCK; in Hal_MPT_CCKTxPowerAdjustbyIndex()
[all …]
Drtl8188e_hal_init.c690 struct adapter *pAdapter,
697 struct adapter *pAdapter,
704 struct adapter *pAdapter,
712 struct adapter *pAdapter, in hal_EfusePowerSwitch_RTL8188E() argument
720 rtw_write8(pAdapter, REG_EFUSE_ACCESS, EFUSE_ACCESS_ON); in hal_EfusePowerSwitch_RTL8188E()
723 tmpV16 = rtw_read16(pAdapter, REG_SYS_ISO_CTRL); in hal_EfusePowerSwitch_RTL8188E()
726 rtw_write16(pAdapter, REG_SYS_ISO_CTRL, tmpV16); in hal_EfusePowerSwitch_RTL8188E()
729 tmpV16 = rtw_read16(pAdapter, REG_SYS_FUNC_EN); in hal_EfusePowerSwitch_RTL8188E()
732 rtw_write16(pAdapter, REG_SYS_FUNC_EN, tmpV16); in hal_EfusePowerSwitch_RTL8188E()
736 tmpV16 = rtw_read16(pAdapter, REG_SYS_CLKR); in hal_EfusePowerSwitch_RTL8188E()
[all …]
Dodm.c516 struct adapter *pAdapter = pDM_Odm->Adapter; in odm_DIGbyRSSI_LPS() local
527 bFwCurrentInPSMode = pAdapter->pwrctrlpriv.bFwCurrentInPSMode; in odm_DIGbyRSSI_LPS()
1182 struct adapter *pAdapter = pDM_Odm->Adapter; in odm_RefreshRateAdaptiveMaskCE() local
1184 if (pAdapter->bDriverStopped) in odm_RefreshRateAdaptiveMaskCE()
1194 rtw_hal_update_ra_mask(pAdapter, i, pstat->rssi_level); in odm_RefreshRateAdaptiveMaskCE()
1338 static void FindMinimumRSSI(struct adapter *pAdapter) in FindMinimumRSSI() argument
1340 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in FindMinimumRSSI()
1342 struct mlme_priv *pmlmepriv = &pAdapter->mlmepriv; in FindMinimumRSSI()
Drtl8188e_cmd.c153 void rtl8188e_Add_RateATid(struct adapter *pAdapter, u32 bitmap, u8 arg, u8 rssi_level) in rtl8188e_Add_RateATid() argument
155 struct hal_data_8188e *haldata = GET_HAL_DATA(pAdapter); in rtl8188e_Add_RateATid()
/drivers/staging/rtl8712/
Drtl871x_mp.c91 static u32 fw_iocmd_read(struct _adapter *pAdapter, struct IOCMD_STRUCT iocmd) in fw_iocmd_read() argument
99 if (r8712_fw_cmd(pAdapter, cmd32)) in fw_iocmd_read()
100 r8712_fw_cmd_data(pAdapter, &val32, 1); in fw_iocmd_read()
106 static u8 fw_iocmd_write(struct _adapter *pAdapter, in fw_iocmd_write() argument
114 r8712_fw_cmd_data(pAdapter, &value, 0); in fw_iocmd_write()
117 return r8712_fw_cmd(pAdapter, cmd32); in fw_iocmd_write()
121 u32 r8712_bb_reg_read(struct _adapter *pAdapter, u16 offset) in r8712_bb_reg_read() argument
131 bb_val = fw_iocmd_read(pAdapter, iocmd); in r8712_bb_reg_read()
137 bb_val2 = fw_iocmd_read(pAdapter, iocmd); in r8712_bb_reg_read()
145 u8 r8712_bb_reg_write(struct _adapter *pAdapter, u16 offset, u32 value) in r8712_bb_reg_write() argument
[all …]
Drtl871x_mp.h259 void r8712_SetChannel(struct _adapter *pAdapter);
261 void r8712_SetTxAGCOffset(struct _adapter *pAdapter, u32 ulTxAGCOffset);
262 void r8712_SetDataRate(struct _adapter *pAdapter);
263 void r8712_SwitchBandwidth(struct _adapter *pAdapter);
264 void r8712_SwitchAntenna(struct _adapter *pAdapter);
265 void r8712_GetThermalMeter(struct _adapter *pAdapter, u32 *value);
266 void r8712_SetContinuousTx(struct _adapter *pAdapter, u8 bStart);
267 void r8712_SetSingleCarrierTx(struct _adapter *pAdapter, u8 bStart);
268 void r8712_SetSingleToneTx(struct _adapter *pAdapter, u8 bStart);
269 void r8712_SetCarrierSuppressionTx(struct _adapter *pAdapter, u8 bStart);
[all …]
Drtl8712_cmd.c230 u8 r8712_fw_cmd(struct _adapter *pAdapter, u32 cmd) in r8712_fw_cmd() argument
234 r8712_write32(pAdapter, IOCMD_CTRL_REG, cmd); in r8712_fw_cmd()
236 while ((r8712_read32(pAdapter, IOCMD_CTRL_REG != 0)) && in r8712_fw_cmd()
246 void r8712_fw_cmd_data(struct _adapter *pAdapter, u32 *value, u8 flag) in r8712_fw_cmd_data() argument
249 r8712_write32(pAdapter, IOCMD_DATA_REG, *value); in r8712_fw_cmd_data()
251 *value = r8712_read32(pAdapter, IOCMD_DATA_REG); in r8712_fw_cmd_data()
Drtl8712_cmd.h19 u8 r8712_fw_cmd(struct _adapter *pAdapter, u32 cmd);
20 void r8712_fw_cmd_data(struct _adapter *pAdapter, u32 *value, u8 flag);
/drivers/staging/r8188eu/core/
Drtw_efuse.c32 static bool Efuse_Read1ByteFromFakeContent(struct adapter *pAdapter, in Efuse_Read1ByteFromFakeContent() argument
47 struct adapter *pAdapter, in Efuse_Write1ByteToFakeContent() argument
81 struct adapter *pAdapter, in Efuse_PowerSwitch() argument
85 pAdapter->HalFunc.EfusePowerSwitch(pAdapter, write, PwrState); in Efuse_PowerSwitch()
106 struct adapter *pAdapter, in Efuse_GetCurrentSize() argument
112 ret = pAdapter->HalFunc.EfuseGetCurrentSize(pAdapter, efuseType, pseudo); in Efuse_GetCurrentSize()
210 void EFUSE_GetEfuseDefinition(struct adapter *pAdapter, u8 efuseType, u8 type, void *pOut, bool pse… in EFUSE_GetEfuseDefinition() argument
213 pAdapter->HalFunc.EFUSEGetEfuseDefinition(pAdapter, efuseType, type, pOut, pseudo); in EFUSE_GetEfuseDefinition()
275 u8 efuse_OneByteRead(struct adapter *pAdapter, u16 addr, u8 *data, bool pseudo) in efuse_OneByteRead() argument
281 result = Efuse_Read1ByteFromFakeContent(pAdapter, addr, data); in efuse_OneByteRead()
[all …]
Drtw_mp.c147 s32 MPT_InitializeAdapter(struct adapter *pAdapter, u8 Channel) in MPT_InitializeAdapter() argument
149 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in MPT_InitializeAdapter()
151 struct mpt_context *pMptCtx = &pAdapter->mppriv.MptCtx; in MPT_InitializeAdapter()
152 struct mlme_priv *pmlmepriv = &pAdapter->mlmepriv; in MPT_InitializeAdapter()
168 rtw_write32(pAdapter, REG_RCR, 0); in MPT_InitializeAdapter()
170 PHY_IQCalibrate(pAdapter, false); in MPT_InitializeAdapter()
172 PHY_LCCalibrate(pAdapter); in MPT_InitializeAdapter()
174 pMptCtx->backup0xc50 = (u8)PHY_QueryBBReg(pAdapter, rOFDM0_XAAGCCore1, bMaskByte0); in MPT_InitializeAdapter()
175 pMptCtx->backup0xc58 = (u8)PHY_QueryBBReg(pAdapter, rOFDM0_XBAGCCore1, bMaskByte0); in MPT_InitializeAdapter()
176 pMptCtx->backup0xc30 = (u8)PHY_QueryBBReg(pAdapter, rOFDM0_RxDetector1, bMaskByte0); in MPT_InitializeAdapter()
[all …]
/drivers/staging/r8188eu/include/
Drtw_mp.h418 void SetChannel(struct adapter *pAdapter);
419 void SetBandwidth(struct adapter *pAdapter);
420 void SetTxPower(struct adapter *pAdapter);
421 void SetAntennaPathPower(struct adapter *pAdapter);
422 void SetDataRate(struct adapter *pAdapter);
424 void SetAntenna(struct adapter *pAdapter);
426 s32 SetThermalMeter(struct adapter *pAdapter, u8 target_ther);
427 void GetThermalMeter(struct adapter *pAdapter, u8 *value);
429 void SetContinuousTx(struct adapter *pAdapter, u8 bStart);
430 void SetSingleCarrierTx(struct adapter *pAdapter, u8 bStart);
[all …]
DHalPhyRf_8188e.h25 void PHY_LCCalibrate_8188E(struct adapter *pAdapter);
28 void PHY_DigitalPredistortion_8188E(struct adapter *pAdapter);
30 void _PHY_SaveADDARegisters(struct adapter *pAdapter, u32 *ADDAReg,
33 void _PHY_PathADDAOn(struct adapter *pAdapter, u32 *ADDAReg,
36 void _PHY_MACSettingCalibration(struct adapter *pAdapter, u32 *MACReg,
39 void _PHY_PathAStandBy(struct adapter *pAdapter);
Drtl8188e_hal.h424 void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter,u8 *PROMContent,
428 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo,
430 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo,
432 void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
Dhal_com.h149 bool Hal_MappingOutPipe(struct adapter *pAdapter, u8 NumOutPipe);
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c69 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_count_txstatistic()
81 if (pAdapter->bInHctTest) in cmpk_count_txstatistic()
279 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_count_tx_status()
367 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_handle_tx_rate_history()