Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Dhci.h91 static inline u16 rtw_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_read16() function
128 val = rtw_read16(rtwdev, addr); in rtw_write16_set()
152 val = rtw_read16(rtwdev, addr); in rtw_write16_clr()
209 orig = rtw_read16(rtwdev, addr); in rtw_read16_mask()
Dsec.c133 ctrl_reg = rtw_read16(rtwdev, REG_CR); in rtw_sec_enable_sec_engine()
137 sec_config = rtw_read16(rtwdev, RTW_SEC_CONFIG); in rtw_sec_enable_sec_engine()
Dmac.c255 if (rtw_read16(rtwdev, REG_MCUFW_CTRL) == 0xC078) { in rtw_mac_power_switch()
433 bckp[bckp_idx].val = rtw_read16(rtwdev, REG_FIFOPAGE_INFO_1); in download_firmware_reg_backup()
638 val = (u16)(rtw_read16(rtwdev, REG_MCUFW_CTRL) & 0x3800); in start_download_firmware()
690 fw_ctrl = rtw_read16(rtwdev, REG_MCUFW_CTRL); in download_firmware_end_flow()
932 rsvd_page = wsize ? rtw_read16(rtwdev, addr->rsvd) : in __rtw_mac_flush_prio_queue()
934 avail_page = wsize ? rtw_read16(rtwdev, addr->avail) : in __rtw_mac_flush_prio_queue()
Dbf.c118 mu_bf_ctl = rtw_read16(rtwdev, REG_WMAC_MU_BF_CTL) & 0xC000; in rtw_bf_init_bfer_entry_mu()
383 cur_rrsr = rtw_read16(rtwdev, REG_RRSR); in rtw_bf_cfg_csi_rate()
Drtw8821c.c577 cck_fa_cnt = rtw_read16(rtwdev, REG_FA_CCK); in rtw8821c_false_alarm_statistics()
578 ofdm_fa_cnt = rtw_read16(rtwdev, REG_FA_OFDM); in rtw8821c_false_alarm_statistics()
Ddebug.c114 val = rtw_read16(rtwdev, addr); in rtw_debugfs_get_read_reg()
Drtw8822b.c1048 cck_fa_cnt = rtw_read16(rtwdev, 0xa5c); in rtw8822b_false_alarm_statistics()
1049 ofdm_fa_cnt = rtw_read16(rtwdev, 0xf48); in rtw8822b_false_alarm_statistics()
Drtw8822c.c1373 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL + 2) & 0xF00F; in rtw8822c_mac_init()
1385 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL); in rtw8822c_mac_init()
2052 cck_fa_cnt = rtw_read16(rtwdev, REG_CCK_FACNT); in rtw8822c_false_alarm_statistics()
Dcoex.c54 coex_stat->retry_limit = rtw_read16(rtwdev, REG_RETRY_LIMIT); in rtw_coex_limited_tx()
295 return (rtw_read16(rtwdev, REG_WIFI_BT_INFO)) & ~(BIT_BT_INT_EN); in rtw_coex_read_scbd()
Dfw.c1425 ctl = rtw_read16(rtwdev, REG_PKTBUF_DBG_CTRL) & 0xf000; in rtw_fw_read_fifo_page()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_efuse.c275 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) & (~BIT11)); in efuse_OneByteRead()
340 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) | (BIT11)); in efuse_OneByteWrite()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_io.h297 #define rtw_read16(adapter, addr) _rtw_read16((adapter), (addr)) macro
360 rtw_read16(_a, _b)
/Linux-v5.10/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()
1777 *((u16 *)val) = rtw_read16(padapter, 0x88); in GetHwReg8723BS()
Drtl8723b_phycfg.c470 RegVal = rtw_read16(Adapter, REG_SYS_FUNC_EN); in PHY_BBConfig8723B()
678 RegRfMod_BW = rtw_read16(Adapter, REG_TRXPTCL_CTL_8723B); in phy_SetRegBW_8723B()
Dhal_com.c1021 reg_scr = rtw_read16(adapter, REG_SECCFG); in SetHwReg()
1563 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()
2301 cr = rtw_read16(padapter, REG_9346CR); in GetEEPROMSize8723B()
3551 pHalData->RegRRSR = rtw_read16(padapter, REG_RRSR); in hw_var_set_mlme_sitesurvey()
4115 padapter->xmitpriv.nqos_ssn = rtw_read16(padapter, REG_NQOS_SEQ); in SetHwReg8723B()
4314 val16 = rtw_read16(padapter, REG_TXPKT_EMPTY); in GetHwReg8723B()
Dhal_btcoex.c680 return rtw_read16(padapter, RegAddr); in halbtcoutsrc_Read2Byte()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c2265 data32 = rtw_read16(padapter, addr); in rtw_wx_read32()
2693 DBG_871X("rtw_read16(0x%x) = 0x%04x\n", arg, rtw_read16(padapter, arg)); in rtw_dbg_port()
2708 DBG_871X("rtw_write16(0x%x) = 0x%04x\n", arg, rtw_read16(padapter, arg)); in rtw_dbg_port()