Home
last modified time | relevance | path

Searched refs:rtw_read8 (Results 1 – 25 of 43) sorted by relevance

12

/linux-5.19.10/drivers/staging/rtl8723bs/core/
Drtw_efuse.c210 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()
Drtw_io.c31 u8 rtw_read8(struct adapter *adapter, u32 addr) in rtw_read8() function
/linux-5.19.10/drivers/staging/r8188eu/hal/
Dusb_halinit.c103 res = rtw_read8(Adapter, REG_USB_SPECIAL_OPTION, &usb_opt); in _InitInterrupt()
391 res = rtw_read8(Adapter, REG_FWHW_TXQ_CTRL, &value8); in _InitRetryFunction()
459 res = rtw_read8(Adapter, REG_TRXDMA_CTRL, &valueDMA); in usb_AggSettingRxUpdate()
463 res = rtw_read8(Adapter, REG_USB_SPECIAL_OPTION, &valueUSB); in usb_AggSettingRxUpdate()
503 res = rtw_read8(Adapter, REG_FWHW_TXQ_CTRL + 2, &haldata->RegFwHwTxQCtrl); in _InitBeaconParameters()
507 res = rtw_read8(Adapter, REG_TBTT_PROHIBIT + 2, &haldata->RegReg542); in _InitBeaconParameters()
511 res = rtw_read8(Adapter, REG_CR + 1, &haldata->RegCR_1); in _InitBeaconParameters()
683 res = rtw_read8(Adapter, REG_TX_RPT_CTRL, &value8); in rtl8188eu_hal_init()
791 res = rtw_read8(Adapter, REG_TX_RPT_CTRL, &val8); in CardDisableRTL8188EU()
805 res = rtw_read8(Adapter, REG_MCUFWDL, &val8); in CardDisableRTL8188EU()
[all …]
DHalPwrSeqCmd.c25 res = rtw_read8(padapter, offset, &value); in HalPwrSeqCmdParsing()
39 res = rtw_read8(padapter, offset, &value); in HalPwrSeqCmdParsing()
Dhal_com.c306 ret = rtw_read8(adapter, REG_C2HEVT_CLEAR, &trigger); in c2h_evt_read()
319 ret = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL, buf); in c2h_evt_read()
325 ret = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL + 1, buf + 1); in c2h_evt_read()
332 ret = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL + in c2h_evt_read()
Drtl8188e_hal_init.c20 res = rtw_read8(padapter, REG_SYS_CFG, &reg_0xf0); in iol_mode_enable()
31 res = rtw_read8(padapter, REG_SYS_CFG, &reg_0xf0); in iol_mode_enable()
47 res = rtw_read8(padapter, REG_HMEBOX_E0, &reg_0x88); in iol_execute()
56 res = rtw_read8(padapter, REG_HMEBOX_E0, &reg_0x88); in iol_execute()
65 res = rtw_read8(padapter, REG_HMEBOX_E0, &reg_0x88); in iol_execute()
222 res = rtw_read8(adapter, REG_TDECTRL + 1, &reg); in efuse_read_phymap_from_txpktbuf()
239 res = rtw_read8(adapter, REG_TXPKTBUF_DBG, &reg); in efuse_read_phymap_from_txpktbuf()
596 res = rtw_read8(adapter, rOFDM0_RxDSP + 1, &reg); in hal_notch_filter_8188e()
Drtl8188e_cmd.c28 res = rtw_read8(adapt, REG_HMETFR, &reg); in _is_fw_read_cmd_down()
557 res = rtw_read8(adapt, REG_BCN_CTRL, &reg); in rtl8188e_set_FwJoinBssReport_cmd()
563 res = rtw_read8(adapt, REG_BCN_CTRL, &reg); in rtl8188e_set_FwJoinBssReport_cmd()
600 res = rtw_read8(adapt, REG_BCN_CTRL, &reg); in rtl8188e_set_FwJoinBssReport_cmd()
606 res = rtw_read8(adapt, REG_BCN_CTRL, &reg); in rtl8188e_set_FwJoinBssReport_cmd()
Drtl8188e_dm.c17 res = rtw_read8(Adapter, REG_GPIO_MUXCFG, &tmp1byte); in dm_InitGPIOSetting()
Drtl8188e_phycfg.c618 res = rtw_read8(Adapter, REG_BWOPMODE, &regBwOpMode); in _PHY_SetBWMode92C()
622 res = rtw_read8(Adapter, REG_RRSR + 2, &regRRSR_RSC); in _PHY_SetBWMode92C()
/linux-5.19.10/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c61 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()
447 value8 = rtw_read8(padapter, REG_FWHW_TXQ_CTRL); in _InitRetryFunction()
474 valueDMA = rtw_read8(padapter, REG_TRXDMA_CTRL); in sdio_AggSettingRxUpdate()
611 val8 = rtw_read8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1); in rtl8723bs_hal_init()
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()
865 u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN + 1); in CardDisableRTL8723BSdio()
[all …]
Drtl8723b_hal_init.c21 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()
108 value8 = (rtw_read8(padapter, REG_MCUFWDL+2) & 0xF8) | u8Page; in _PageWrite()
160 io_rst = rtw_read8(padapter, REG_RSV_CTRL+1); in _8051Reset8723()
164 cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _8051Reset8723()
170 io_rst = rtw_read8(padapter, REG_RSV_CTRL+1); in _8051Reset8723()
174 cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _8051Reset8723()
[all …]
DHalPwrSeqCmd.c87 value = rtw_read8(padapter, offset); in HalPwrSeqCmdParsing()
108 value = rtw_read8(padapter, offset); in HalPwrSeqCmdParsing()
Drtl8723b_cmd.c27 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()
Dhal_com.c510 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()
1062 rtw_write8(adapter, REG_RXERR_RPT+3, rtw_read8(adapter, REG_RXERR_RPT+3)|0xf0); in rtw_hal_check_rxfifo_full()
/linux-5.19.10/drivers/staging/r8188eu/core/
Drtw_fw.c51 res = rtw_read8(padapter, REG_MCUFWDL, &tmp); in fw_download_enable()
58 res = rtw_read8(padapter, REG_MCUFWDL + 2, &tmp); in fw_download_enable()
65 res = rtw_read8(padapter, REG_MCUFWDL, &tmp); in fw_download_enable()
140 res = rtw_read8(padapter, REG_MCUFWDL + 2, &value8); in page_write()
185 res = rtw_read8(padapter, REG_SYS_FUNC_EN + 1, &val8); in rtw_reset_8051()
299 ret = rtw_read8(padapter, REG_MCUFWDL, &reg); in rtl8188e_firmware_download()
314 ret = rtw_read8(padapter, REG_MCUFWDL, &reg); in rtl8188e_firmware_download()
Drtw_efuse.c35 res = rtw_read8(Adapter, EFUSE_CTRL + 2, &readbyte); in ReadEFuseByte()
42 res = rtw_read8(Adapter, EFUSE_CTRL + 3, &readbyte); in ReadEFuseByte()
Drtw_led.c43 res = rtw_read8(padapter, REG_LEDCFG2, &LedCfg); in SwLedOn()
59 res = rtw_read8(padapter, REG_LEDCFG2, &LedCfg);/* 0x4E */ in SwLedOff()
65 res = rtw_read8(padapter, REG_MAC_PINMUX_CFG, &LedCfg); in SwLedOff()
/linux-5.19.10/drivers/net/wireless/realtek/rtw88/
Dmac.c53 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()
121 return read_poll_timeout_atomic(rtw_read8, val, (val & mask) == target, in do_pwr_poll_cmd()
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()
252 rpwm = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_mac_power_switch()
261 if (rtw_read8(rtwdev, REG_CR) == 0xea) in rtw_mac_power_switch()
264 (rtw_read8(rtwdev, REG_SYS_STATUS1 + 1) & BIT(0))) in rtw_mac_power_switch()
290 value8 = (rtw_read8(rtwdev, REG_CR_EXT + 3) & 0xF0) | 0x0C; in __rtw_mac_init_system_cfg()
[all …]
Dhci.h87 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()
223 orig = rtw_read8(rtwdev, addr); in rtw_read8_mask()
252 orig = rtw_read8(rtwdev, addr); in rtw_write8_mask()
Dps.c73 request = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_power_mode_change()
74 confirm = rtw_read8(rtwdev, rtwdev->hci.cpwm_addr); in rtw_power_mode_change()
92 ret = read_poll_timeout_atomic(rtw_read8, polling, in rtw_power_mode_change()
Defuse.c140 *data = rtw_read8(rtwdev, REG_EFUSE_CTRL); in rtw_read8_physical_efuse()
Dbf.c150 mu_valid = rtw_read8(rtwdev, REG_MU_TX_CTL) & in rtw_bf_cfg_mu_bfee()
156 mu_tbl_sel = rtw_read8(rtwdev, REG_MU_TX_CTL + 1) & 0xF8; in rtw_bf_cfg_mu_bfee()
Dwow.c21 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()
Dpci.c407 tmp = rtw_read8(rtwdev, RTK_PCI_CTRL + 3); in rtw_pci_reset_buf_desc()
920 reg_bcn_work = rtw_read8(rtwdev, RTK_PCI_TXBD_BCN_WORK); in rtw_pci_write_data_rsvd_page()
1281 flag = rtw_read8(rtwdev, REG_DBI_FLAG_V1 + 2); in rtw_dbi_write8()
1301 flag = rtw_read8(rtwdev, REG_DBI_FLAG_V1 + 2); in rtw_dbi_read8()
1304 *value = rtw_read8(rtwdev, read_addr); in rtw_dbi_read8()
/linux-5.19.10/drivers/staging/r8188eu/include/
Drtw_io.h223 int __must_check rtw_read8(struct adapter *adapter, u32 addr, u8 *data);
296 rtw_read8(_a,_b)

12