Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.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);
/kernel/linux/linux-5.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 …]
/kernel/liteos_a/kernel/extended/hidumper/
Dlos_hidumper.c348 int HiDumperRegisterAdapter(struct HiDumperAdapter *pAdapter) in HiDumperRegisterAdapter() argument
350 if (pAdapter == NULL) { in HiDumperRegisterAdapter()
351 PRINT_ERR("pAdapter: %p\n", pAdapter); in HiDumperRegisterAdapter()
355 REPLACE_INTERFACE(&g_adapter, pAdapter, struct HiDumperAdapter, DumpSysInfo); in HiDumperRegisterAdapter()
356 REPLACE_INTERFACE(&g_adapter, pAdapter, struct HiDumperAdapter, DumpCpuUsage); in HiDumperRegisterAdapter()
357 REPLACE_INTERFACE(&g_adapter, pAdapter, struct HiDumperAdapter, DumpMemUsage); in HiDumperRegisterAdapter()
358 REPLACE_INTERFACE(&g_adapter, pAdapter, struct HiDumperAdapter, DumpTaskInfo); in HiDumperRegisterAdapter()
359 REPLACE_INTERFACE(&g_adapter, pAdapter, struct HiDumperAdapter, DumpFaultLog); in HiDumperRegisterAdapter()
360 REPLACE_INTERFACE(&g_adapter, pAdapter, struct HiDumperAdapter, DumpMemData); in HiDumperRegisterAdapter()
361 REPLACE_INTERFACE(&g_adapter, pAdapter, struct HiDumperAdapter, InjectKernelCrash); in HiDumperRegisterAdapter()
Dlos_hidumper.h79 int HiDumperRegisterAdapter(struct HiDumperAdapter *pAdapter);
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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()