Home
last modified time | relevance | path

Searched refs:rtw_read32 (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c52 value32 = rtw_read32(Adapter, REG_GPIO_PIN_CTRL_2); in HostWakeUpGpioClear()
183 value32 = rtw_read32(padapter, REG_LEDCFG0); in _InitPowerOn_8723BS()
448 value32 = rtw_read32(padapter, REG_CR); in _InitNetworkType()
497 value32 = rtw_read32(padapter, REG_RRSR); in _InitAdaptiveCtrl()
964 rtw_write32(padapter, REG_FWHW_TXQ_CTRL, rtw_read32(padapter, REG_FWHW_TXQ_CTRL) | BIT(12)); in rtl8723bs_hal_init()
1111 rtw_read32(padapter, 0x1c0), in rtl8723bs_hal_deinit()
1112 rtw_read32(padapter, 0x1c4), in rtl8723bs_hal_deinit()
1113 rtw_read32(padapter, 0x1c8), in rtl8723bs_hal_deinit()
1114 rtw_read32(padapter, 0x1cc) in rtl8723bs_hal_deinit()
1218 value32 = rtw_read32(padapter, EFUSE_TEST); in _EfuseCellSel()
[all …]
Dodm_EdcaTurboCheck.c43 rtw_read32(pDM_Odm->Adapter, ODM_EDCA_VO_PARAM))); in ODM_EdcaTurboInit()
46 rtw_read32(pDM_Odm->Adapter, ODM_EDCA_VI_PARAM))); in ODM_EdcaTurboInit()
49 rtw_read32(pDM_Odm->Adapter, ODM_EDCA_BE_PARAM))); in ODM_EdcaTurboInit()
52 rtw_read32(pDM_Odm->Adapter, ODM_EDCA_BK_PARAM))); in ODM_EdcaTurboInit()
Drtl8723b_hal_init.c234 value32 = rtw_read32(adapter, REG_MCUFWDL); in polling_fwdl_chksum()
274 value32 = rtw_read32(adapter, REG_MCUFWDL); in _FWFreeToGo()
284 value32 = rtw_read32(adapter, REG_MCUFWDL); in _FWFreeToGo()
599 value32 = rtw_read32(padapter, EFUSE_TEST); in hal_EfuseSwitchToBank()
1892 value32 = rtw_read32(padapter, REG_SYS_CFG); in ReadChipVersion8723B()
1902 value32 = rtw_read32(padapter, REG_GPIO_OUTSTS); in ReadChipVersion8723B()
1907 value32 = rtw_read32(padapter, REG_MULTI_FUNC_CTRL); in ReadChipVersion8723B()
2074 value32 = rtw_read32(padapter, REG_TCR); in rtl8723b_SetBeaconRelatedRegisters()
2328 val32 = rtw_read32(padapter, REG_AUTO_LLT); in rtl8723b_InitLLTTable()
2335 val32 = rtw_read32(padapter, REG_AUTO_LLT); in rtl8723b_InitLLTTable()
[all …]
Drtl8723b_phycfg.c69 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_QueryBBReg_8723B()
112 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_SetBBReg_8723B()
Dodm.c1417 pDM_SWAT_Table->SWAS_NoLink_BK_Reg92c = rtw_read32(pDM_Odm->Adapter, rDPDT_control); in odm_SwAntDetectInit()
Dsdio_ops.c830 tmp = rtw_read32(adapter, REG_HSIMR); in EnableInterrupt8723BSdio()
Dhal_btcoex.c735 return rtw_read32(padapter, RegAddr); in halbtcoutsrc_Read4Byte()
DHalPhyRf_8723B.c1317 MACBackup[i] = rtw_read32(pDM_Odm->Adapter, MACReg[i]); in _PHY_SaveMACRegisters8723B()
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dmac.c26 value32 = rtw_read32(rtwdev, REG_WMAC_TRXPTCL_CTL); in rtw_set_channel_mac()
41 value32 = rtw_read32(rtwdev, REG_AFE_CTRL1) & ~(BIT_MAC_CLK_SEL); in rtw_set_channel_mac()
73 value32 = rtw_read32(rtwdev, REG_PAD_CTRL1); in rtw_mac_pre_system_cfg()
77 value32 = rtw_read32(rtwdev, REG_LED_CFG); in rtw_mac_pre_system_cfg()
81 value32 = rtw_read32(rtwdev, REG_GPIO_MUXCFG); in rtw_mac_pre_system_cfg()
94 value32 = rtw_read32(rtwdev, REG_WLRF1); in rtw_mac_pre_system_cfg()
260 value = rtw_read32(rtwdev, REG_CPU_DMEM_CON); in rtw_mac_init_system_cfg()
269 tmp = rtw_read32(rtwdev, REG_MCUFW_CTRL); in rtw_mac_init_system_cfg()
272 value = rtw_read32(rtwdev, REG_GPIO_MUXCFG) & (~BIT_FSPI_EN); in rtw_mac_init_system_cfg()
388 bckp[bckp_idx].val = rtw_read32(rtwdev, REG_RQPN_CTRL_2) | BIT_LD_RQPN; in download_firmware_reg_backup()
[all …]
Dhci.h72 static inline u32 rtw_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_read32() function
112 val = rtw_read32(rtwdev, addr); in rtw_write32_set()
136 val = rtw_read32(rtwdev, addr); in rtw_write32_clr()
172 orig = rtw_read32(rtwdev, addr); in rtw_read32_mask()
187 orig = rtw_read32(rtwdev, addr); in rtw_write32_mask()
Defuse.c98 efuse_ctl = rtw_read32(rtwdev, REG_EFUSE_CTRL); in rtw_dump_physical_efuse_map()
108 efuse_ctl = rtw_read32(rtwdev, REG_EFUSE_CTRL); in rtw_dump_physical_efuse_map()
Ddebug.c117 val = rtw_read32(rtwdev, addr); in rtw_debugfs_get_read_reg()
206 val = rtw_read32(rtwdev, RTW_SEC_READ_REG); in rtw_debugfs_get_dump_cam()
409 val = rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
414 rtw_read32(rtwdev, (page | n))); in rtw_debug_get_mac_page()
429 val = rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
434 rtw_read32(rtwdev, (page | n))); in rtw_debug_get_bb_page()
Dutil.c29 *val = rtw_read32(rtwdev, LTECOEX_READ_DATA); in ltecoex_read_reg()
Drtw8822c.c88 backup[i].val = rtw_read32(rtwdev, addrs[i]); in rtw8822c_dac_backup_reg()
691 temp[0] = rtw_read32(rtwdev, 0x1860); in rtw8822c_dac_cal_backup()
692 temp[1] = rtw_read32(rtwdev, 0x4160); in rtw8822c_dac_cal_backup()
693 temp[2] = rtw_read32(rtwdev, 0x9b4); in rtw8822c_dac_cal_backup()
887 temp[0] = rtw_read32(rtwdev, 0x1860); in rtw8822c_dac_cal_restore()
888 temp[1] = rtw_read32(rtwdev, 0x4160); in rtw8822c_dac_cal_restore()
889 temp[2] = rtw_read32(rtwdev, 0x9b4); in rtw8822c_dac_cal_restore()
1830 cck_enable = rtw_read32(rtwdev, REG_ENCCK) & BIT_CCK_BLK_EN; in rtw8822c_false_alarm_statistics()
1833 ofdm_fa_cnt1 = rtw_read32(rtwdev, REG_OFDM_FACNT1); in rtw8822c_false_alarm_statistics()
1834 ofdm_fa_cnt2 = rtw_read32(rtwdev, REG_OFDM_FACNT2); in rtw8822c_false_alarm_statistics()
[all …]
Dpci.c755 bd_idx = rtw_read32(rtwdev, bd_idx_addr); in rtw_pci_tx_isr()
824 tmp = rtw_read32(rtwdev, RTK_PCI_RXBD_IDX_MPDUQ); in rtw_pci_rx_isr()
886 irq_status[0] = rtw_read32(rtwdev, RTK_PCI_HISR0); in rtw_pci_irq_recognized()
887 irq_status[1] = rtw_read32(rtwdev, RTK_PCI_HISR1); in rtw_pci_irq_recognized()
888 irq_status[3] = rtw_read32(rtwdev, RTK_PCI_HISR3); in rtw_pci_irq_recognized()
Drtw8822b.c950 cck_enable = rtw_read32(rtwdev, 0x808) & BIT(28); in rtw8822b_false_alarm_statistics()
959 crc32_cnt = rtw_read32(rtwdev, 0xf04); in rtw8822b_false_alarm_statistics()
962 crc32_cnt = rtw_read32(rtwdev, 0xf14); in rtw8822b_false_alarm_statistics()
965 crc32_cnt = rtw_read32(rtwdev, 0xf10); in rtw8822b_false_alarm_statistics()
968 crc32_cnt = rtw_read32(rtwdev, 0xf0c); in rtw8822b_false_alarm_statistics()
Dfw.c752 buf[idx++] = rtw_read32(rtwdev, i); in rtw_dump_drv_rsvd_page()
Dcoex.c52 coex_stat->darfrc = rtw_read32(rtwdev, REG_DARFRC); in rtw_coex_limited_tx()
53 coex_stat->darfrch = rtw_read32(rtwdev, REG_DARFRCH); in rtw_coex_limited_tx()
Dmain.c923 hal->chip_version = rtw_read32(rtwdev, REG_SYS_CFG1); in rtw_chip_parameter_setup()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_debug.c88 DBG_871X_SEL(sel, " 0x%08x ", rtw_read32(adapter, i)); in mac_reg_dump()
102 DBG_871X_SEL(sel, " 0x%08x ", rtw_read32(adapter, i)); in bb_reg_dump()
Drtw_efuse.c305 DBG_871X("%s: [ERROR] EFUSE_CTRL = 0x%08x !!!\n", __func__, rtw_read32(padapter, EFUSE_CTRL)); in efuse_OneByteRead()
336 efuseValue = rtw_read32(padapter, EFUSE_CTRL); in efuse_OneByteWrite()
361 DBG_871X("%s: [ERROR] EFUSE_CTRL = 0x%08x !!!\n", __func__, rtw_read32(padapter, EFUSE_CTRL)); in efuse_OneByteWrite()
Drtw_wlan_util.c539 if (0 == (rtw_read32(padapter, REG_CAMCMD) & CAM_POLLINIG)) in _ReadCAM()
543 return rtw_read32(padapter, REG_CAMREAD); in _ReadCAM()
Drtw_pwrctrl.c70 DBG_871X("==> ips_leave.....LED(0x%08x)...\n", rtw_read32(padapter, 0x4c)); in _ips_leave()
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c2269 data32 = rtw_read32(padapter, addr); in rtw_wx_read32()
2700 DBG_871X("rtw_read32(0x%x) = 0x%08x\n", arg, rtw_read32(padapter, arg)); in rtw_dbg_port()
2716 DBG_871X("rtw_write32(0x%x) = 0x%08x\n", arg, rtw_read32(padapter, arg)); in rtw_dbg_port()
3214 DBG_871X("dbg(0x210) = 0x%x\n", rtw_read32(padapter, 0x210)); in rtw_dbg_port()
3215 DBG_871X("dbg(0x608) = 0x%x\n", rtw_read32(padapter, 0x608)); in rtw_dbg_port()
3216 DBG_871X("dbg(0x280) = 0x%x\n", rtw_read32(padapter, 0x280)); in rtw_dbg_port()
3217 DBG_871X("dbg(0x284) = 0x%x\n", rtw_read32(padapter, 0x284)); in rtw_dbg_port()
3218 DBG_871X("dbg(0x288) = 0x%x\n", rtw_read32(padapter, 0x288)); in rtw_dbg_port()
3220 DBG_871X("dbg(0x664) = 0x%x\n", rtw_read32(padapter, 0x664)); in rtw_dbg_port()
3225 DBG_871X("dbg(0x430) = 0x%x\n", rtw_read32(padapter, 0x430)); in rtw_dbg_port()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_io.h298 #define rtw_read32(adapter, addr) _rtw_read32((adapter), (addr)) macro
362 rtw_read32(_a, _b)