Home
last modified time | relevance | path

Searched refs:REG_MCUFWDL (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Dfw.c29 tmp = usb_read8(adapt, REG_MCUFWDL); in _rtl88e_enable_fw_download()
30 usb_write8(adapt, REG_MCUFWDL, tmp | 0x01); in _rtl88e_enable_fw_download()
32 tmp = usb_read8(adapt, REG_MCUFWDL + 2); in _rtl88e_enable_fw_download()
33 usb_write8(adapt, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl88e_enable_fw_download()
35 tmp = usb_read8(adapt, REG_MCUFWDL); in _rtl88e_enable_fw_download()
36 usb_write8(adapt, REG_MCUFWDL, tmp & 0xfe); in _rtl88e_enable_fw_download()
38 usb_write8(adapt, REG_MCUFWDL + 1, 0x00); in _rtl88e_enable_fw_download()
69 value8 = (usb_read8(adapt, REG_MCUFWDL + 2) & 0xF8) | u8page; in _rtl88e_fw_page_write()
71 usb_write8(adapt, (REG_MCUFWDL + 2), value8); in _rtl88e_fw_page_write()
113 value32 = usb_read32(adapt, REG_MCUFWDL); in _rtl88e_fw_free_to_go()
[all …]
Dusb_halinit.c894 val8 = usb_read8(Adapter, REG_MCUFWDL); in CardDisableRTL8188EU()
903 usb_write8(Adapter, REG_MCUFWDL, 0); in CardDisableRTL8188EU()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dfw_common.c21 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in rtl8723_enable_fw_download()
22 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in rtl8723_enable_fw_download()
24 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in rtl8723_enable_fw_download()
25 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in rtl8723_enable_fw_download()
27 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in rtl8723_enable_fw_download()
28 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in rtl8723_enable_fw_download()
30 rtl_write_byte(rtlpriv, REG_MCUFWDL + 1, 0x00); in rtl8723_enable_fw_download()
126 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in rtl8723_fw_free_to_go()
135 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL) | MCUFWDL_RDY; in rtl8723_fw_free_to_go()
137 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in rtl8723_fw_free_to_go()
[all …]
Dfw_common.h8 #define REG_MCUFWDL 0x0080 macro
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c15 return (rtl_read_dword(rtlpriv, REG_MCUFWDL) & MCUFWDL_RDY) ? in _rtl92d_is_fw_downloaded()
27 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92d_enable_fw_download()
28 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in _rtl92d_enable_fw_download()
29 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl92d_enable_fw_download()
30 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92d_enable_fw_download()
32 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92d_enable_fw_download()
33 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92d_enable_fw_download()
76 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92d_fw_free_to_go()
84 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92d_fw_free_to_go()
86 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl92d_fw_free_to_go()
[all …]
Dreg.h47 #define REG_MCUFWDL 0x0080 macro
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c22 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl88e_enable_fw_download()
23 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in _rtl88e_enable_fw_download()
25 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl88e_enable_fw_download()
26 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl88e_enable_fw_download()
28 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl88e_enable_fw_download()
29 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl88e_enable_fw_download()
31 rtl_write_byte(rtlpriv, REG_MCUFWDL + 1, 0x00); in _rtl88e_enable_fw_download()
74 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl88e_fw_free_to_go()
83 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl88e_fw_free_to_go()
86 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl88e_fw_free_to_go()
[all …]
Dhw.c1390 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && rtlhal->fw_ready) in _rtl88ee_poweroff_adapter()
1395 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl88ee_poweroff_adapter()
Dreg.h53 #define REG_MCUFWDL 0x0080 macro
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c20 u32 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92c_enable_fw_download()
26 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl92c_enable_fw_download()
35 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92c_enable_fw_download()
36 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in _rtl92c_enable_fw_download()
38 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl92c_enable_fw_download()
39 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92c_enable_fw_download()
41 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92c_enable_fw_download()
42 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92c_enable_fw_download()
44 rtl_write_byte(rtlpriv, REG_MCUFWDL + 1, 0x00); in _rtl92c_enable_fw_download()
97 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92c_fw_free_to_go()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c20 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x05); in _rtl92ee_enable_fw_download()
22 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl92ee_enable_fw_download()
23 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92ee_enable_fw_download()
25 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92ee_enable_fw_download()
26 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92ee_enable_fw_download()
71 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92ee_fw_free_to_go()
80 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92ee_fw_free_to_go()
83 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl92ee_fw_free_to_go()
89 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92ee_fw_free_to_go()
139 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) { in rtl92ee_download_fw()
[all …]
Dhw.c1623 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && rtlhal->fw_ready) in _rtl92ee_poweroff_adapter()
1631 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl92ee_poweroff_adapter()
Dreg.h51 #define REG_MCUFWDL 0x0080 macro
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c20 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x05); in _rtl8821ae_enable_fw_download()
22 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl8821ae_enable_fw_download()
23 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl8821ae_enable_fw_download()
25 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl8821ae_enable_fw_download()
27 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl8821ae_enable_fw_download()
28 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl8821ae_enable_fw_download()
29 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl8821ae_enable_fw_download()
73 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl8821ae_fw_free_to_go()
83 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl8821ae_fw_free_to_go()
86 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl8821ae_fw_free_to_go()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c25 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
26 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); in _FWDownloadEnable()
29 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
32 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); in _FWDownloadEnable()
40 tmp = rtw_read8(padapter, REG_MCUFWDL+2); in _FWDownloadEnable()
41 rtw_write8(padapter, REG_MCUFWDL+2, tmp&0xf7); in _FWDownloadEnable()
44 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
45 rtw_write8(padapter, REG_MCUFWDL, tmp&0xfe); in _FWDownloadEnable()
145 value8 = (rtw_read8(padapter, REG_MCUFWDL+2) & 0xF8) | u8Page; in _PageWrite()
146 rtw_write8(padapter, REG_MCUFWDL+2, value8); in _PageWrite()
[all …]
Dsdio_halinit.c754 if (rtw_read8(padapter, REG_MCUFWDL) & BIT7) { in rtl8723bs_hal_init()
757 rtw_write8(padapter, REG_MCUFWDL, 0x00); in rtl8723bs_hal_init()
1020 u1bTmp = rtw_read8(padapter, REG_MCUFWDL); in CardDisableRTL8723BSdio()
1031 rtw_write8(padapter, REG_MCUFWDL, 0); in CardDisableRTL8723BSdio()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Defuse.c13 #define REG_MCUFWDL 0x0080 macro
1308 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in rtl_fw_page_write()
1310 rtl_write_byte(rtlpriv, (REG_MCUFWDL + 2), value8); in rtl_fw_page_write()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1046 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _resetdigitalprocedure1()
1060 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(1)) { in _resetdigitalprocedure1()
1062 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _resetdigitalprocedure1()
1081 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _resetdigitalprocedure1()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Drtl8188e_spec.h68 #define REG_MCUFWDL 0x0080 macro
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h76 #define REG_MCUFWDL 0x0080 macro
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c1270 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && in _rtl8723e_poweroff_adapter()
1281 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl8723e_poweroff_adapter()
Dreg.h44 #define REG_MCUFWDL 0x0080 macro
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1308 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) in _rtl92ce_poweroff_adapter()
1311 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl92ce_poweroff_adapter()
Dreg.h50 #define REG_MCUFWDL 0x0080 macro
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c1166 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && in _rtl8723be_poweroff_adapter()
1177 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl8723be_poweroff_adapter()

12