Home
last modified time | relevance | path

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

/Linux-v5.10/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.h258 void r8712_SetChannel(struct _adapter *pAdapter);
260 void r8712_SetTxAGCOffset(struct _adapter *pAdapter, u32 ulTxAGCOffset);
261 void r8712_SetDataRate(struct _adapter *pAdapter);
262 void r8712_SwitchBandwidth(struct _adapter *pAdapter);
263 void r8712_SwitchAntenna(struct _adapter *pAdapter);
264 void r8712_GetThermalMeter(struct _adapter *pAdapter, u32 *value);
265 void r8712_SetContinuousTx(struct _adapter *pAdapter, u8 bStart);
266 void r8712_SetSingleCarrierTx(struct _adapter *pAdapter, u8 bStart);
267 void r8712_SetSingleToneTx(struct _adapter *pAdapter, u8 bStart);
268 void r8712_SetCarrierSuppressionTx(struct _adapter *pAdapter, u8 bStart);
[all …]
Drtl8712_cmd.c266 u8 r8712_fw_cmd(struct _adapter *pAdapter, u32 cmd) in r8712_fw_cmd() argument
270 r8712_write32(pAdapter, IOCMD_CTRL_REG, cmd); in r8712_fw_cmd()
272 while ((r8712_read32(pAdapter, IOCMD_CTRL_REG != 0)) && in r8712_fw_cmd()
282 void r8712_fw_cmd_data(struct _adapter *pAdapter, u32 *value, u8 flag) in r8712_fw_cmd_data() argument
285 r8712_write32(pAdapter, IOCMD_DATA_REG, *value); in r8712_fw_cmd_data()
287 *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);
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_efuse.c28 static void efuse_power_switch(struct adapter *pAdapter, u8 write, u8 pwrstate) in efuse_power_switch() argument
34 usb_write8(pAdapter, REG_EFUSE_ACCESS, EFUSE_ACCESS_ON); in efuse_power_switch()
37 tmpv16 = usb_read16(pAdapter, REG_SYS_ISO_CTRL); in efuse_power_switch()
40 usb_write16(pAdapter, REG_SYS_ISO_CTRL, tmpv16); in efuse_power_switch()
43 tmpv16 = usb_read16(pAdapter, REG_SYS_FUNC_EN); in efuse_power_switch()
46 usb_write16(pAdapter, REG_SYS_FUNC_EN, tmpv16); in efuse_power_switch()
50 tmpv16 = usb_read16(pAdapter, REG_SYS_CLKR); in efuse_power_switch()
53 usb_write16(pAdapter, REG_SYS_CLKR, tmpv16); in efuse_power_switch()
58 tempval = usb_read8(pAdapter, EFUSE_TEST + 3); in efuse_power_switch()
61 usb_write8(pAdapter, EFUSE_TEST + 3, (tempval | 0x80)); in efuse_power_switch()
[all …]
/Linux-v5.10/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()
319 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_count_tx_status()
407 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_handle_tx_rate_history()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtl8188e_hal.h348 void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent,
352 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo,
354 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo,
356 void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188e_hal_init.c462 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseXtal_8188E() argument
464 struct hal_data_8188e *pHalData = pAdapter->HalData; in Hal_EfuseParseXtal_8188E()
476 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseBoardType88E() argument
478 struct hal_data_8188e *pHalData = pAdapter->HalData; in Hal_EfuseParseBoardType88E()
527 void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, bool AutoLoadFail) in Hal_ReadAntennaDiversity88E() argument
529 struct hal_data_8188e *pHalData = pAdapter->HalData; in Hal_ReadAntennaDiversity88E()
530 struct registry_priv *registry_par = &pAdapter->registrypriv; in Hal_ReadAntennaDiversity88E()
Dodm.c776 struct adapter *pAdapter = pDM_Odm->Adapter; in odm_RefreshRateAdaptiveMaskCE() local
778 if (pAdapter->bDriverStopped) { in odm_RefreshRateAdaptiveMaskCE()
796 rtw_hal_update_ra_mask(pAdapter, i, pstat->rssi_level); in odm_RefreshRateAdaptiveMaskCE()
878 static void FindMinimumRSSI(struct adapter *pAdapter) in FindMinimumRSSI() argument
880 struct dm_priv *pdmpriv = &pAdapter->HalData->dmpriv; in FindMinimumRSSI()
Drtl8188e_cmd.c111 void rtw_hal_add_ra_tid(struct adapter *pAdapter, u32 bitmap, u8 arg, u8 rssi_level) in rtw_hal_add_ra_tid() argument
113 struct odm_dm_struct *odmpriv = &pAdapter->HalData->odmpriv; in rtw_hal_add_ra_tid()