Home
last modified time | relevance | path

Searched refs:rtw_read16 (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dsec.c108 ctrl_reg = rtw_read16(rtwdev, REG_CR); in rtw_sec_enable_sec_engine()
112 sec_config = rtw_read16(rtwdev, RTW_SEC_CONFIG); in rtw_sec_enable_sec_engine()
Dhci.h67 static inline u16 rtw_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_read16() function
104 val = rtw_read16(rtwdev, addr); in rtw_write16_set()
128 val = rtw_read16(rtwdev, addr); in rtw_write16_clr()
Dmac.c231 if (rtw_read16(rtwdev, REG_MCUFW_CTRL) == 0xC078) { in rtw_mac_power_switch()
384 bckp[bckp_idx].val = rtw_read16(rtwdev, REG_FIFOPAGE_INFO_1); in download_firmware_reg_backup()
606 val = (u16)(rtw_read16(rtwdev, REG_MCUFW_CTRL) & 0x3800); in start_download_firmware()
658 fw_ctrl = rtw_read16(rtwdev, REG_MCUFW_CTRL); in download_firmware_end_flow()
Ddebug.c113 val = rtw_read16(rtwdev, addr); in rtw_debugfs_get_read_reg()
Dfw.c742 ctl = rtw_read16(rtwdev, REG_PKTBUF_DBG_CTRL) & 0xf000; in rtw_dump_drv_rsvd_page()
Drtw8822b.c951 cck_fa_cnt = rtw_read16(rtwdev, 0xa5c); in rtw8822b_false_alarm_statistics()
952 ofdm_fa_cnt = rtw_read16(rtwdev, 0xf48); in rtw8822b_false_alarm_statistics()
Dcoex.c54 coex_stat->retry_limit = rtw_read16(rtwdev, REG_RETRY_LIMIT); in rtw_coex_limited_tx()
294 return (rtw_read16(rtwdev, REG_WIFI_BT_INFO)) & ~(BIT_BT_INT_EN); in rtw_coex_read_scbd()
Drtw8822c.c1241 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL + 2) & 0xF00F; in rtw8822c_mac_init()
1253 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL); in rtw8822c_mac_init()
1831 cck_fa_cnt = rtw_read16(rtwdev, REG_CCK_FACNT); in rtw8822c_false_alarm_statistics()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_efuse.c281 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) & (~BIT11)); in efuse_OneByteRead()
347 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) | (BIT11)); in efuse_OneByteWrite()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_io.h297 #define rtw_read16(adapter, addr) _rtw_read16((adapter), (addr)) macro
360 rtw_read16(_a, _b)
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c148 value16 = rtw_read16(padapter, REG_APS_FSMCO); in _InitPowerOn_8723BS()
158 value16 = rtw_read16(padapter, REG_CR); in _InitPowerOn_8723BS()
177 value16 = rtw_read16(padapter, REG_PWR_DATA); in _InitPowerOn_8723BS()
287 u16 value16 = (rtw_read16(Adapter, REG_TRXDMA_CTRL) & 0x7); in _InitNormalChipRegPriority()
1796 *((u16 *)val) = rtw_read16(padapter, 0x88); in GetHwReg8723BS()
Drtl8723b_phycfg.c529 RegVal = rtw_read16(Adapter, REG_SYS_FUNC_EN); in PHY_BBConfig8723B()
737 RegRfMod_BW = rtw_read16(Adapter, REG_TRXPTCL_CTL_8723B); in phy_SetRegBW_8723B()
Dhal_com.c1025 reg_scr = rtw_read16(adapter, REG_SECCFG); in SetHwReg()
1567 pdbgpriv->dbg_rx_fifo_curr_overflow = rtw_read16(adapter, REG_RXERR_RPT); in rtw_hal_check_rxfifo_full()
Drtl8723b_hal_init.c823 tmpV16 = rtw_read16(padapter, REG_SYS_FUNC_EN); in Hal_EfusePowerSwitch()
830 tmpV16 = rtw_read16(padapter, REG_SYS_CLKR); in Hal_EfusePowerSwitch()
2305 cr = rtw_read16(padapter, REG_9346CR); in GetEEPROMSize8723B()
3553 pHalData->RegRRSR = rtw_read16(padapter, REG_RRSR); in hw_var_set_mlme_sitesurvey()
4118 padapter->xmitpriv.nqos_ssn = rtw_read16(padapter, REG_NQOS_SEQ); in SetHwReg8723B()
4318 val16 = rtw_read16(padapter, REG_TXPKT_EMPTY); in GetHwReg8723B()
Dhal_btcoex.c723 return rtw_read16(padapter, RegAddr); in halbtcoutsrc_Read2Byte()
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c2265 data32 = rtw_read16(padapter, addr); in rtw_wx_read32()
2697 DBG_871X("rtw_read16(0x%x) = 0x%04x\n", arg, rtw_read16(padapter, arg)); in rtw_dbg_port()
2712 DBG_871X("rtw_write16(0x%x) = 0x%04x\n", arg, rtw_read16(padapter, arg)); in rtw_dbg_port()