Home
last modified time | relevance | path

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

/Linux-v4.19/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.c915 trigger = rtw_read8(adapter, REG_C2HEVT_CLEAR); in c2h_evt_read_88xx()
926 c2h_evt->id = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL); in c2h_evt_read_88xx()
927 c2h_evt->seq = rtw_read8(adapter, REG_C2HEVT_CMD_SEQ_88XX); in c2h_evt_read_88xx()
928 c2h_evt->plen = rtw_read8(adapter, REG_C2HEVT_CMD_LEN_88XX); in c2h_evt_read_88xx()
949 c2h_evt->payload[i] = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL + 2 + i); in c2h_evt_read_88xx()
1041 u8 reg_scr = rtw_read8(adapter, REG_SECCFG); in SetHwReg()
1186 pDigTable->CurIGValue = rtw_read8(adapter, 0xc50); in SetHalDefVar()
1569 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()
901 header = rtw_read8(padapter, REG_BCNQ_BDNY); in rtl8723b_set_ap_wow_rsvdpage_cmd()
1260 res = rtw_read8(padapter, REG_PNO_STATUS); in rtl8723b_set_FwRemoteWakeCtrl_Cmd()
1264 res = rtw_read8(padapter, REG_PNO_STATUS); in rtl8723b_set_FwRemoteWakeCtrl_Cmd()
1958 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page()
1965 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_rsvd_page()
2017 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_rsvd_page()
2033 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page()
2278 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
2285 val8 = rtw_read8(padapter, REG_BCN_CTRL); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
[all …]
Dsdio_ops.c924 rtw_read8(adapter, 0x100), in CheckIPSStatus()
925 rtw_read8(adapter, 0x86) in CheckIPSStatus()
928 if (rtw_read8(adapter, 0x100) == 0xEA) in CheckIPSStatus()
Dhal_btcoex.c730 return rtw_read8(padapter, RegAddr); in halbtcoutsrc_Read1Byte()
783 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-v4.19/drivers/staging/rtl8723bs/core/
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()
128 x = rtw_read8(padapter, EE_9346CR); in wait_eeprom_cmd_done()
148 x = rtw_read8(padapter, EE_9346CR); in eeprom_clean()
175 x = rtw_read8(padapter, EE_9346CR); in eeprom_write16()
244 x = rtw_read8(padapter, EE_9346CR); in eeprom_read16()
286 x = rtw_read8(padapter, EE_9346CR); in eeprom_read_sz()
Drtw_efuse.c236 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+2); in EFUSE_Read1Byte()
242 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
247 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
249 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
256 data = rtw_read8(Adapter, EFUSE_CTRL); in EFUSE_Read1Byte()
292 (rtw_read8(padapter, EFUSE_CTRL+2)&0xFC)); in efuse_OneByteRead()
296 readbyte = rtw_read8(padapter, EFUSE_CTRL+3); in efuse_OneByteRead()
299 while (!(0x80 & rtw_read8(padapter, EFUSE_CTRL+3)) && (tmpidx < 1000)) { in efuse_OneByteRead()
304 *data = rtw_read8(padapter, EFUSE_CTRL); in efuse_OneByteRead()
355 while ((0x80 & rtw_read8(padapter, EFUSE_CTRL+3)) && (tmpidx < 100)) { in efuse_OneByteWrite()
Drtw_wlan_util.c2107 direction = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2111 value = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 1) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2113 value = (rtw_read8(adapter, REG_GPIO_PIN_CTRL) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2139 direction = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) & BIT(gpio_num)) >> gpio_num; in rtw_set_gpio_output_value()
2144 …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()
2146 …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()
2176 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) | BIT(gpio_nu… in rtw_config_gpio()
2178 …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.c793 if (rtw_read8(padapter, 0x100) != 0xEA) { in rpwmtimeout_workitem_callback()
Drtw_debug.c193 …DBG_871X_SEL_NL(m, "rtw_read8(0x%x) = 0x%x\n", proc_get_read_addr, rtw_read8(padapter, proc_get_re… in proc_get_read_reg()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_io.h297 #define rtw_read8(adapter, addr) _rtw_read8((adapter), (addr)) macro
359 rtw_read8(_a, _b)
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c2271 data32 = rtw_read8(padapter, addr); in rtw_wx_read32()
2715 DBG_871X("rtw_read8(0x%x) = 0x%02x\n", arg, rtw_read8(padapter, arg)); in rtw_dbg_port()
2729 DBG_871X("rtw_write8(0x%x) = 0x%02x\n", arg, rtw_read8(padapter, arg)); in rtw_dbg_port()
3225 DBG_871X("wr(0xc50) = 0x%x\n", rtw_read8(padapter, 0xc50)); in rtw_dbg_port()
3227 DBG_871X("wr(0xc58) = 0x%x\n", rtw_read8(padapter, 0xc58)); in rtw_dbg_port()
3230 DBG_871X("rd(0xc50) = 0x%x\n", rtw_read8(padapter, 0xc50)); in rtw_dbg_port()
3231 DBG_871X("rd(0xc58) = 0x%x\n", rtw_read8(padapter, 0xc58)); in rtw_dbg_port()