Home
last modified time | relevance | path

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

/linux-6.6.21/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()
207 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.c284 if (rtw_read16(rtwdev, REG_MCUFW_CTRL) == 0xC078) { in rtw_mac_power_switch()
480 bckp[bckp_idx].val = rtw_read16(rtwdev, REG_FIFOPAGE_INFO_1); in download_firmware_reg_backup()
707 val = (u16)(rtw_read16(rtwdev, REG_MCUFW_CTRL) & 0x3800); in start_download_firmware()
759 fw_ctrl = rtw_read16(rtwdev, REG_MCUFW_CTRL); in download_firmware_end_flow()
1019 rsvd_page = wsize ? rtw_read16(rtwdev, addr->rsvd) : in __rtw_mac_flush_prio_queue()
1021 avail_page = wsize ? rtw_read16(rtwdev, addr->avail) : in __rtw_mac_flush_prio_queue()
Dbf.c119 mu_bf_ctl = rtw_read16(rtwdev, REG_WMAC_MU_BF_CTL) & 0xC000; in rtw_bf_init_bfer_entry_mu()
388 cur_rrsr = rtw_read16(rtwdev, REG_RRSR); in rtw_bf_cfg_csi_rate()
Drtw8821c.c704 cck_fa_cnt = rtw_read16(rtwdev, REG_FA_CCK); in rtw8821c_false_alarm_statistics()
705 ofdm_fa_cnt = rtw_read16(rtwdev, REG_FA_OFDM); in rtw8821c_false_alarm_statistics()
Drtw8822b.c1069 cck_fa_cnt = rtw_read16(rtwdev, 0xa5c); in rtw8822b_false_alarm_statistics()
1070 ofdm_fa_cnt = rtw_read16(rtwdev, 0xf48); in rtw8822b_false_alarm_statistics()
Dsdio.c1026 rx_len = rtw_read16(rtwdev, REG_SDIO_RX0_REQ_LEN); in rtw_sdio_rx_isr()
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.c2106 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL + 2) & 0xF00F; in rtw8822c_mac_init()
2118 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL); in rtw8822c_mac_init()
2863 cck_fa_cnt = rtw_read16(rtwdev, REG_CCK_FACNT); in rtw8822c_false_alarm_statistics()
Dpci.c706 u32 bd_idx = rtw_read16(rtwdev, bd_idx_addr + 2); in __pci_get_hw_tx_ring_rp()
Dfw.c1700 ctl = rtw_read16(rtwdev, REG_PKTBUF_DBG_CTRL) & 0xf000; in rtw_fw_read_fifo_page()
/linux-6.6.21/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-6.6.21/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()
895 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()
3046 pHalData->RegRRSR = rtw_read16(padapter, REG_RRSR); in hw_var_set_mlme_sitesurvey()
3560 padapter->xmitpriv.nqos_ssn = rtw_read16(padapter, REG_NQOS_SEQ); in SetHwReg8723B()
3742 val16 = rtw_read16(padapter, REG_TXPKT_EMPTY); in GetHwReg8723B()
Dhal_btcoex.c588 return rtw_read16(padapter, RegAddr); in halbtcoutsrc_Read2Byte()
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Drtw_io.h172 extern u16 rtw_read16(struct adapter *adapter, u32 addr);