Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/net/wireless/realtek/rtw88/
Dhci.h92 static inline u16 rtw_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_read16() function
129 val = rtw_read16(rtwdev, addr); in rtw_write16_set()
153 val = rtw_read16(rtwdev, addr); in rtw_write16_clr()
210 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()
657 val = (u16)(rtw_read16(rtwdev, REG_MCUFW_CTRL) & 0x3800); in start_download_firmware()
709 fw_ctrl = rtw_read16(rtwdev, REG_MCUFW_CTRL); in download_firmware_end_flow()
951 rsvd_page = wsize ? rtw_read16(rtwdev, addr->rsvd) : in __rtw_mac_flush_prio_queue()
953 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()
387 cur_rrsr = rtw_read16(rtwdev, REG_RRSR); in rtw_bf_cfg_csi_rate()
Drtw8821c.c672 cck_fa_cnt = rtw_read16(rtwdev, REG_FA_CCK); in rtw8821c_false_alarm_statistics()
673 ofdm_fa_cnt = rtw_read16(rtwdev, REG_FA_OFDM); in rtw8821c_false_alarm_statistics()
Drtw8822b.c1051 cck_fa_cnt = rtw_read16(rtwdev, 0xa5c); in rtw8822b_false_alarm_statistics()
1052 ofdm_fa_cnt = rtw_read16(rtwdev, 0xf48); in rtw8822b_false_alarm_statistics()
Ddebug.c125 val = rtw_read16(rtwdev, addr); in rtw_debugfs_get_read_reg()
Dcoex.c55 coex_stat->retry_limit = rtw_read16(rtwdev, REG_RETRY_LIMIT); in rtw_coex_limited_tx()
408 return (rtw_read16(rtwdev, REG_WIFI_BT_INFO)) & ~(BIT_BT_INT_EN); in rtw_coex_read_scbd()
Drtw8822c.c2088 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL + 2) & 0xF00F; in rtw8822c_mac_init()
2100 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL); in rtw8822c_mac_init()
2845 cck_fa_cnt = rtw_read16(rtwdev, REG_CCK_FACNT); in rtw8822c_false_alarm_statistics()
Dpci.c743 u32 bd_idx = rtw_read16(rtwdev, bd_idx_addr + 2); in __pci_get_hw_tx_ring_rp()
Dfw.c1622 ctl = rtw_read16(rtwdev, REG_PKTBUF_DBG_CTRL) & 0xf000; in rtw_fw_read_fifo_page()
/linux-5.19.10/drivers/staging/rtl8723bs/core/
Drtw_efuse.c252 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) & (~BIT11)); in efuse_OneByteRead()
306 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) | (BIT11)); in efuse_OneByteWrite()
Drtw_io.c43 u16 rtw_read16(struct adapter *adapter, u32 addr) in rtw_read16() function
/linux-5.19.10/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c69 value16 = rtw_read16(padapter, REG_APS_FSMCO); in _InitPowerOn_8723BS()
79 value16 = rtw_read16(padapter, REG_CR); in _InitPowerOn_8723BS()
98 value16 = rtw_read16(padapter, REG_PWR_DATA); in _InitPowerOn_8723BS()
200 u16 value16 = (rtw_read16(Adapter, REG_TRXDMA_CTRL) & 0x7); in _InitNormalChipRegPriority()
1209 *((u16 *)val) = rtw_read16(padapter, 0x88); in GetHwReg8723BS()
Drtl8723b_phycfg.c393 RegVal = rtw_read16(Adapter, REG_SYS_FUNC_EN); in PHY_BBConfig8723B()
588 RegRfMod_BW = rtw_read16(Adapter, REG_TRXPTCL_CTL_8723B); in phy_SetRegBW_8723B()
Dhal_com.c596 reg_scr = rtw_read16(adapter, REG_SECCFG); in SetHwReg()
1069 pdbgpriv->dbg_rx_fifo_curr_overflow = rtw_read16(adapter, REG_RXERR_RPT); in rtw_hal_check_rxfifo_full()
Drtl8723b_hal_init.c684 tmpV16 = rtw_read16(padapter, REG_SYS_FUNC_EN); in Hal_EfusePowerSwitch()
691 tmpV16 = rtw_read16(padapter, REG_SYS_CLKR); in Hal_EfusePowerSwitch()
2010 cr = rtw_read16(padapter, REG_9346CR); in GetEEPROMSize8723B()
3044 pHalData->RegRRSR = rtw_read16(padapter, REG_RRSR); in hw_var_set_mlme_sitesurvey()
3558 padapter->xmitpriv.nqos_ssn = rtw_read16(padapter, REG_NQOS_SEQ); in SetHwReg8723B()
3740 val16 = rtw_read16(padapter, REG_TXPKT_EMPTY); in GetHwReg8723B()
Dhal_btcoex.c588 return rtw_read16(padapter, RegAddr); in halbtcoutsrc_Read2Byte()
/linux-5.19.10/drivers/staging/r8188eu/include/
Drtw_io.h224 int __must_check rtw_read16(struct adapter *adapter, u32 addr, u16 *data);
298 rtw_read16(_a,_b)
/linux-5.19.10/drivers/staging/r8188eu/hal/
Drtl8188e_hal_init.c269 res = rtw_read16(adapter, REG_PKTBUF_DBG_DATA_L, &reg); in efuse_read_phymap_from_txpktbuf()
381 res = rtw_read16(pAdapter, REG_SYS_ISO_CTRL, &tmpV16); in rtl8188e_EfusePowerSwitch()
390 res = rtw_read16(pAdapter, REG_SYS_FUNC_EN, &tmpV16); in rtl8188e_EfusePowerSwitch()
400 res = rtw_read16(pAdapter, REG_SYS_CLKR, &tmpV16); in rtl8188e_EfusePowerSwitch()
Dusb_halinit.c70 res = rtw_read16(adapt, REG_CR, &value16); in rtl8188eu_InitPowerOn()
177 res = rtw_read16(Adapter, REG_TRXDMA_CTRL, &value16); in _InitNormalChipRegPriority()
674 res = rtw_read16(Adapter, REG_CR, &value16); in rtl8188eu_hal_init()
750 res = rtw_read16(Adapter, REG_TXDMA_OFFSET_CHK, &value16); in rtl8188eu_hal_init()
Drtl8188e_phycfg.c502 res = rtw_read16(Adapter, REG_SYS_FUNC_EN, &RegVal); in PHY_BBConfig8188E()
Dusb_ops_linux.c106 int __must_check rtw_read16(struct adapter *adapter, u32 addr, u16 *data) in rtw_read16() function
/linux-5.19.10/drivers/staging/rtl8723bs/include/
Drtw_io.h172 extern u16 rtw_read16(struct adapter *adapter, u32 addr);
/linux-5.19.10/drivers/staging/r8188eu/os_dep/
Dos_intfs.c752 res = rtw_read16(adapter, REG_NQOS_SEQ, &adapter->xmitpriv.nqos_ssn); in rtw_fifo_cleanup()

12