Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c66 …rtw_write8(padapter, REG_GPIO_PIN_CTRL + 3, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 3) & ~BIT(inde… in HalSetOutPutGPIO()
71 …rtw_write8(padapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 2) | BIT(index… in HalSetOutPutGPIO()
75 …rtw_write8(padapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 1) | BIT(index… in HalSetOutPutGPIO()
77 …rtw_write8(padapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 1) & ~BIT(inde… in HalSetOutPutGPIO()
86 …rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 3, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 3) & ~BIT(… in HalSetOutPutGPIO()
91 …rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 2, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 2) | BIT(i… in HalSetOutPutGPIO()
95 …rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 1) | BIT(i… in HalSetOutPutGPIO()
97 …rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 1) & ~BIT(… in HalSetOutPutGPIO()
115 value8 = rtw_read8(padapter, REG_PAD_CTRL1_8723B + 2); in _InitPowerOn_8723BS()
123 value8 = rtw_read8(padapter, REG_MULTI_FUNC_CTRL + 1); in _InitPowerOn_8723BS()
[all …]
Drtl8723b_hal_init.c22 tmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _FWDownloadEnable()
25 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
29 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
40 tmp = rtw_read8(padapter, REG_MCUFWDL+2); in _FWDownloadEnable()
44 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
145 value8 = (rtw_read8(padapter, REG_MCUFWDL+2) & 0xF8) | u8Page; in _PageWrite()
199 io_rst = rtw_read8(padapter, REG_RSV_CTRL+1); in _8051Reset8723()
203 cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _8051Reset8723()
209 io_rst = rtw_read8(padapter, REG_RSV_CTRL+1); in _8051Reset8723()
213 cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _8051Reset8723()
[all …]
DHalPwrSeqCmd.c113 value = rtw_read8(padapter, offset); in HalPwrSeqCmdParsing()
139 value = rtw_read8(padapter, offset); in HalPwrSeqCmdParsing()
Dhal_com.c912 trigger = rtw_read8(adapter, REG_C2HEVT_CLEAR); in c2h_evt_read_88xx()
923 c2h_evt->id = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL); in c2h_evt_read_88xx()
924 c2h_evt->seq = rtw_read8(adapter, REG_C2HEVT_CMD_SEQ_88XX); in c2h_evt_read_88xx()
925 c2h_evt->plen = rtw_read8(adapter, REG_C2HEVT_CMD_LEN_88XX); in c2h_evt_read_88xx()
946 c2h_evt->payload[i] = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL + 2 + i); in c2h_evt_read_88xx()
1032 u8 reg_scr = rtw_read8(adapter, REG_SECCFG); in SetHwReg()
1177 pDigTable->CurIGValue = rtw_read8(adapter, 0xc50); in SetHalDefVar()
1560 rtw_write8(adapter, REG_RXERR_RPT+3, rtw_read8(adapter, REG_RXERR_RPT+3)|0xf0); in rtw_hal_check_rxfifo_full()
Drtl8723b_cmd.c30 valid = rtw_read8(padapter, REG_HMETFR) & BIT(msgbox_num); in _is_fw_read_cmd_down()
897 header = rtw_read8(padapter, REG_BCNQ_BDNY); in rtl8723b_set_ap_wow_rsvdpage_cmd()
1256 res = rtw_read8(padapter, REG_PNO_STATUS); in rtl8723b_set_FwRemoteWakeCtrl_Cmd()
1260 res = rtw_read8(padapter, REG_PNO_STATUS); in rtl8723b_set_FwRemoteWakeCtrl_Cmd()
1939 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page()
1946 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_rsvd_page()
1998 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_rsvd_page()
2014 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page()
2254 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
2261 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
[all …]
Dsdio_ops.c882 rtw_read8(adapter, 0x100), in CheckIPSStatus()
883 rtw_read8(adapter, 0x86) in CheckIPSStatus()
886 if (rtw_read8(adapter, 0x100) == 0xEA) in CheckIPSStatus()
Dhal_btcoex.c711 return rtw_read8(padapter, RegAddr); in halbtcoutsrc_Read1Byte()
764 originalValue = rtw_read8(padapter, regAddr); in halbtcoutsrc_BitMaskWrite1Byte()
DHalPhyRf_8723B.c1315 MACBackup[i] = rtw_read8(pDM_Odm->Adapter, MACReg[i]); in _PHY_SaveMACRegisters8723B()
1710 tmpReg = rtw_read8(pDM_Odm->Adapter, 0xd03); in phy_LCCalibrate_8723B()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_efuse.c232 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+2); in EFUSE_Read1Byte()
238 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
243 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
245 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
252 return rtw_read8(Adapter, EFUSE_CTRL); in EFUSE_Read1Byte()
287 (rtw_read8(padapter, EFUSE_CTRL+2)&0xFC)); in efuse_OneByteRead()
291 readbyte = rtw_read8(padapter, EFUSE_CTRL+3); in efuse_OneByteRead()
294 while (!(0x80 & rtw_read8(padapter, EFUSE_CTRL+3)) && (tmpidx < 1000)) { in efuse_OneByteRead()
299 *data = rtw_read8(padapter, EFUSE_CTRL); in efuse_OneByteRead()
350 while ((0x80 & rtw_read8(padapter, EFUSE_CTRL+3)) && (tmpidx < 100)) { in efuse_OneByteWrite()
Drtw_eeprom.c43 x = rtw_read8(padapter, EE_9346CR); in shift_out_bits()
79 x = rtw_read8(padapter, EE_9346CR); in shift_in_bits()
91 x = rtw_read8(padapter, EE_9346CR); in shift_in_bits()
109 x = rtw_read8(padapter, EE_9346CR); in standby()
129 x = rtw_read8(padapter, EE_9346CR); in eeprom_clean()
163 x = rtw_read8(padapter, EE_9346CR); in eeprom_read16()
Drtw_wlan_util.c2091 direction = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2095 value = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 1) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2097 value = (rtw_read8(adapter, REG_GPIO_PIN_CTRL) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2123 direction = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) & BIT(gpio_num)) >> gpio_num; in rtw_set_gpio_output_value()
2128 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 1) | BIT(gpio_nu… in rtw_set_gpio_output_value()
2130 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 1) & ~BIT(gpio_n… in rtw_set_gpio_output_value()
2160 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) | BIT(gpio_nu… in rtw_config_gpio()
2162 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) & ~BIT(gpio_n… in rtw_config_gpio()
Drtw_pwrctrl.c783 if (rtw_read8(padapter, 0x100) != 0xEA) { in rpwmtimeout_workitem_callback()
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dmac.c48 value8 = rtw_read8(rtwdev, REG_CCK_CHECK); in rtw_set_channel_mac()
86 value8 = rtw_read8(rtwdev, REG_SYS_FUNC_EN); in rtw_mac_pre_system_cfg()
90 value8 = rtw_read8(rtwdev, REG_RF_CTRL); in rtw_mac_pre_system_cfg()
116 value = rtw_read8(rtwdev, offset); in rtw_pwr_cmd_polling()
123 value = rtw_read8(rtwdev, REG_SYS_PW_CTRL); in rtw_pwr_cmd_polling()
158 value = rtw_read8(rtwdev, offset); in rtw_sub_pwr_seq_parser()
228 rpwm = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_mac_power_switch()
236 if (rtw_read8(rtwdev, REG_CR) == 0xea) in rtw_mac_power_switch()
239 (rtw_read8(rtwdev, REG_SYS_STATUS1 + 1) & BIT(0))) in rtw_mac_power_switch()
265 value8 = (rtw_read8(rtwdev, REG_CR_EXT + 3) & 0xF0) | 0x0C; in rtw_mac_init_system_cfg()
[all …]
Dhci.h62 static inline u8 rtw_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_read8() function
96 val = rtw_read8(rtwdev, addr); in rtw_write8_set()
120 val = rtw_read8(rtwdev, addr); in rtw_write8_clr()
201 orig = rtw_read8(rtwdev, addr); in rtw_write8_mask()
Dfw.c127 box_state = rtw_read8(rtwdev, REG_HMETFR); in rtw_fw_send_h2c_command()
562 val = rtw_read8(rtwdev, REG_CR + 1); in rtw_fw_write_data_rsvd_page()
567 val = rtw_read8(rtwdev, REG_FWHW_TXQ_CTRL + 2); in rtw_fw_write_data_rsvd_page()
741 rcr = rtw_read8(rtwdev, REG_RCR + 2); in rtw_dump_drv_rsvd_page()
Dpci.c395 tmp = rtw_read8(rtwdev, RTK_PCI_CTRL + 3); in rtw_pci_reset_buf_desc()
665 reg_bcn_work = rtw_read8(rtwdev, RTK_PCI_TXBD_BCN_WORK); in rtw_pci_xmit()
1002 flag = rtw_read8(rtwdev, REG_DBI_FLAG_V1 + 2); in rtw_dbi_write8()
1005 flag = rtw_read8(rtwdev, REG_DBI_FLAG_V1 + 2); in rtw_dbi_write8()
Dmain.c1003 id = rtw_read8(rtwdev, REG_C2HEVT); in rtw_dump_hw_feature()
1010 hw_feature[i] = rtw_read8(rtwdev, REG_C2HEVT + 2 + i); in rtw_dump_hw_feature()
Ddebug.c109 val = rtw_read8(rtwdev, addr); in rtw_debugfs_get_read_reg()
Drtw8822c.c1148 value8 = rtw_read8(rtwdev, REG_FWHW_TXQ_CTRL); in rtw8822c_mac_init()
1814 ldo_pwr = rtw_read8(rtwdev, REG_ANAPARLDO_POW_MAC); in rtw8822c_cfg_ldo25()
1891 iqk_chk = rtw_read8(rtwdev, REG_RPT_CIP); in rtw8822c_do_iqk()
2716 dpk_info->dpk_txagc[path] = rtw_read8(rtwdev, REG_DPD_AGC); in rtw8822c_dpk_fill_result()
Dcoex.c59 rtw_read8(rtwdev, REG_AMPDU_MAX_TIME_V1); in rtw_coex_limited_tx()
315 wlk = !!(rtw_read8(rtwdev, REG_ARFR4) & BIT_WL_RFK); in rtw_coex_check_rfk()
Drtw8822b.c937 ldo_pwr = rtw_read8(rtwdev, REG_LDO_EFUSE_CTRL + 3); in rtw8822b_cfg_ldo25()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_io.h296 #define rtw_read8(adapter, addr) _rtw_read8((adapter), (addr)) macro
358 rtw_read8(_a, _b)
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c2261 data32 = rtw_read8(padapter, addr); in rtw_wx_read32()
2694 DBG_871X("rtw_read8(0x%x) = 0x%02x\n", arg, rtw_read8(padapter, arg)); in rtw_dbg_port()
2708 DBG_871X("rtw_write8(0x%x) = 0x%02x\n", arg, rtw_read8(padapter, arg)); in rtw_dbg_port()
3204 DBG_871X("wr(0xc50) = 0x%x\n", rtw_read8(padapter, 0xc50)); in rtw_dbg_port()
3206 DBG_871X("wr(0xc58) = 0x%x\n", rtw_read8(padapter, 0xc58)); in rtw_dbg_port()
3209 DBG_871X("rd(0xc50) = 0x%x\n", rtw_read8(padapter, 0xc50)); in rtw_dbg_port()
3210 DBG_871X("rd(0xc58) = 0x%x\n", rtw_read8(padapter, 0xc58)); in rtw_dbg_port()