/linux-6.3-rc2/drivers/staging/rtl8723bs/core/ |
A D | rtw_efuse.c | 210 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+2); in EFUSE_Read1Byte() 216 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte() 221 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte() 223 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte() 228 return rtw_read8(Adapter, EFUSE_CTRL); in EFUSE_Read1Byte() 258 (rtw_read8(padapter, EFUSE_CTRL+2)&0xFC)); in efuse_OneByteRead() 262 readbyte = rtw_read8(padapter, EFUSE_CTRL+3); in efuse_OneByteRead() 265 while (!(0x80 & rtw_read8(padapter, EFUSE_CTRL+3)) && (tmpidx < 1000)) { in efuse_OneByteRead() 270 *data = rtw_read8(padapter, EFUSE_CTRL); in efuse_OneByteRead() 309 while ((0x80 & rtw_read8(padapter, EFUSE_CTRL+3)) && (tmpidx < 100)) { in efuse_OneByteWrite()
|
A D | rtw_io.c | 31 u8 rtw_read8(struct adapter *adapter, u32 addr) in rtw_read8() function
|
A D | rtw_pwrctrl.c | 663 if (rtw_read8(padapter, 0x100) != 0xEA) { in rpwmtimeout_workitem_callback()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/ |
A D | sdio_halinit.c | 61 value8 = rtw_read8(padapter, REG_GPIO_INTM + 1); in _InitPowerOn_8723BS() 64 value8 = rtw_read8(padapter, REG_GPIO_IO_SEL_2 + 1); in _InitPowerOn_8723BS() 107 value8 = rtw_read8(padapter, REG_PAD_CTRL1_8723B); in _InitPowerOn_8723BS() 784 u1bTmp = rtw_read8(padapter, REG_CR); in rtl8723bs_hal_init() 815 if (rtw_read8(padapter, 0x1e7) & 0x01) in rtl8723bs_hal_init() 860 u1bTmp = rtw_read8(padapter, REG_MCUFWDL); in CardDisableRTL8723BSdio() 902 val8 = rtw_read8(padapter, REG_HMETFR); in rtl8723bs_hal_deinit() 916 val8 = rtw_read8(padapter, REG_CR); in rtl8723bs_hal_deinit() 1098 eeValue = rtw_read8(padapter, REG_9346CR); in _ReadPROMContent() 1129 val8 = rtw_read8(padapter, 0x4e); in _ReadAdapterInfo8723BS() [all …]
|
A D | rtl8723b_hal_init.c | 21 tmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _FWDownloadEnable() 24 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable() 28 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable() 36 tmp = rtw_read8(padapter, REG_MCUFWDL+2); in _FWDownloadEnable() 40 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable() 318 tmp_ps = rtw_read8(padapter, 0xa3); in rtl8723b_FirmwareDownload() 324 tmp_ps = rtw_read8(padapter, 0xa0); in rtl8723b_FirmwareDownload() 617 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch() 626 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch() 632 tempval = rtw_read8(padapter, 0x6B); in Hal_BT_EfusePowerSwitch() [all …]
|
A D | HalPwrSeqCmd.c | 87 value = rtw_read8(padapter, offset); in HalPwrSeqCmdParsing() 108 value = rtw_read8(padapter, offset); in HalPwrSeqCmdParsing()
|
A D | rtl8723b_cmd.c | 27 valid = rtw_read8(padapter, REG_HMETFR) & BIT(msgbox_num); in _is_fw_read_cmd_down() 650 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page() 657 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_rsvd_page() 697 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_rsvd_page() 713 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page() 917 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 924 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 961 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 977 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
|
A D | hal_com.c | 510 trigger = rtw_read8(adapter, REG_C2HEVT_CLEAR); in c2h_evt_read_88xx() 521 c2h_evt->id = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL); in c2h_evt_read_88xx() 522 c2h_evt->seq = rtw_read8(adapter, REG_C2HEVT_CMD_SEQ_88XX); in c2h_evt_read_88xx() 523 c2h_evt->plen = rtw_read8(adapter, REG_C2HEVT_CMD_LEN_88XX); in c2h_evt_read_88xx() 527 c2h_evt->payload[i] = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL + 2 + i); in c2h_evt_read_88xx() 603 u8 reg_scr = rtw_read8(adapter, REG_SECCFG); in SetHwReg() 723 pDigTable->CurIGValue = rtw_read8(adapter, 0xc50); in SetHalDefVar() 943 rtw_write8(adapter, REG_RXERR_RPT+3, rtw_read8(adapter, REG_RXERR_RPT+3)|0xf0); in rtw_hal_check_rxfifo_full()
|
A D | hal_btcoex.c | 576 return rtw_read8(padapter, RegAddr); in halbtcoutsrc_Read1Byte() 629 originalValue = rtw_read8(padapter, regAddr); in halbtcoutsrc_BitMaskWrite1Byte()
|
A D | sdio_ops.c | 782 if (rtw_read8(adapter, 0x100) == 0xEA) in CheckIPSStatus()
|
A D | HalPhyRf_8723B.c | 1153 MACBackup[i] = rtw_read8(pDM_Odm->Adapter, MACReg[i]); in _PHY_SaveMACRegisters8723B() 1519 tmpReg = rtw_read8(pDM_Odm->Adapter, 0xd03); in phy_LCCalibrate_8723B()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | mac.c | 53 value8 = rtw_read8(rtwdev, REG_CCK_CHECK); in rtw_set_channel_mac() 100 value8 = rtw_read8(rtwdev, REG_SYS_FUNC_EN); in rtw_mac_pre_system_cfg() 104 value8 = rtw_read8(rtwdev, REG_RF_CTRL); in rtw_mac_pre_system_cfg() 144 value = rtw_read8(rtwdev, REG_SYS_PW_CTRL); in rtw_pwr_cmd_polling() 181 value = rtw_read8(rtwdev, offset); in rtw_sub_pwr_seq_parser() 261 if (rtw_read8(rtwdev, REG_CR) == 0xea) in rtw_mac_power_switch() 453 tmp = rtw_read8(rtwdev, REG_BCN_CTRL); in download_firmware_reg_backup() 978 rtw_read8(rtwdev, addr->rsvd); in __rtw_mac_flush_prio_queue() 980 rtw_read8(rtwdev, addr->avail); in __rtw_mac_flush_prio_queue() 1246 value8 = rtw_read8(rtwdev, REG_H2C_INFO); in init_h2c() [all …]
|
A D | hci.h | 87 static inline u8 rtw_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_read8() function 121 val = rtw_read8(rtwdev, addr); in rtw_write8_set() 145 val = rtw_read8(rtwdev, addr); in rtw_write8_clr() 220 orig = rtw_read8(rtwdev, addr); in rtw_read8_mask() 249 orig = rtw_read8(rtwdev, addr); in rtw_write8_mask()
|
A D | ps.c | 76 request = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_power_mode_change() 77 confirm = rtw_read8(rtwdev, rtwdev->hci.cpwm_addr); in rtw_power_mode_change() 95 ret = read_poll_timeout_atomic(rtw_read8, polling, in rtw_power_mode_change()
|
A D | efuse.c | 140 *data = rtw_read8(rtwdev, REG_EFUSE_CTRL); in rtw_read8_physical_efuse()
|
A D | bf.c | 151 mu_valid = rtw_read8(rtwdev, REG_MU_TX_CTL) & in rtw_bf_cfg_mu_bfee() 157 mu_tbl_sel = rtw_read8(rtwdev, REG_MU_TX_CTL + 1) & 0xF8; in rtw_bf_cfg_mu_bfee()
|
A D | wow.c | 21 reason = rtw_read8(rtwdev, REG_WOWLAN_WAKE_REASON); in rtw_wow_show_wakeup_reason() 283 rtw_wow->txpause = rtw_read8(rtwdev, REG_TXPAUSE); in rtw_wow_bb_stop() 319 ret = read_poll_timeout(rtw_read8, check, !check, 1000, in rtw_wow_check_fw_status()
|
A D | pci.c | 408 tmp = rtw_read8(rtwdev, RTK_PCI_CTRL + 3); in rtw_pci_reset_buf_desc() 892 reg_bcn_work = rtw_read8(rtwdev, RTK_PCI_TXBD_BCN_WORK); in rtw_pci_write_data_rsvd_page() 1253 flag = rtw_read8(rtwdev, REG_DBI_FLAG_V1 + 2); in rtw_dbi_write8() 1273 flag = rtw_read8(rtwdev, REG_DBI_FLAG_V1 + 2); in rtw_dbi_read8() 1276 *value = rtw_read8(rtwdev, read_addr); in rtw_dbi_read8()
|
A D | rtw8723d.c | 74 val_ctx = rtw_read8(rtwdev, REG_CTX); in rtw8723d_lck() 195 rtwdev->dm_info.cck_pd_default = rtw_read8(rtwdev, REG_CSRATIO) & 0x1f; in rtw8723d_phy_set_param() 572 ldo_pwr = rtw_read8(rtwdev, REG_LDO_EFUSE_CTRL + 3); in rtw8723d_cfg_ldo25() 737 backup->mac8[i] = rtw_read8(rtwdev, iqk_mac8_regs[i]); in rtw8723d_iqk_backup_regs() 779 backup->btg_sel = rtw_read8(rtwdev, REG_BTG_SEL); in rtw8723d_iqk_backup_path_ctrl()
|
A D | fw.c | 304 if (rtw_read8(rtwdev, REG_MCU_TST_CFG) == VAL_FW_TRIGGER) in rtw_fw_c2h_cmd_isr() 350 ret = read_poll_timeout_atomic(rtw_read8, box_state, in rtw_fw_send_h2c_command() 1318 val = rtw_read8(rtwdev, REG_CR + 1); in rtw_fw_write_data_rsvd_page() 1323 val = rtw_read8(rtwdev, REG_FWHW_TXQ_CTRL + 2); in rtw_fw_write_data_rsvd_page()
|
A D | rtw8821c.c | 141 val = rtw_read8(rtwdev, REG_SYS_FUNC_EN); in rtw8821c_phy_set_param() 177 rtwdev->dm_info.cck_pd_default = rtw_read8(rtwdev, REG_CSRATIO) & 0x1f; in rtw8821c_phy_set_param() 248 ldo_pwr = rtw_read8(rtwdev, REG_LDO_EFUSE_CTRL + 3); in rtw8821c_cfg_ldo25()
|
A D | coex.c | 60 rtw_read8(rtwdev, REG_AMPDU_MAX_TIME_V1); in rtw_coex_limited_tx() 432 wlk = !!(rtw_read8(rtwdev, REG_ARFR4) & BIT_WL_RFK); in rtw_coex_check_rfk() 2697 coex_stat->kt_ver = u8_get_bits(rtw_read8(rtwdev, 0xf1), GENMASK(7, 4)); in __rtw_coex_init_hw_config() 3934 wl_reg_778 = rtw_read8(rtwdev, REG_BT_STAT_CTRL); in rtw_coex_display_coex_info() 3936 sys_lte = rtw_read8(rtwdev, 0x73); in rtw_coex_display_coex_info()
|
A D | main.c | 1875 id = rtw_read8(rtwdev, REG_C2HEVT); in rtw_dump_hw_feature() 1882 hw_feature[i] = rtw_read8(rtwdev, REG_C2HEVT + 2 + i); in rtw_dump_hw_feature()
|
A D | debug.c | 121 val = rtw_read8(rtwdev, addr); in rtw_debugfs_get_read_reg()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/ |
A D | rtw_io.h | 171 extern u8 rtw_read8(struct adapter *adapter, u32 addr);
|