Home
last modified time | relevance | path

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

12

/drivers/staging/rtl8188eu/hal/
Dfw.c44 tmp = usb_read8(adapt, REG_MCUFWDL); in _rtl88e_enable_fw_download()
45 usb_write8(adapt, REG_MCUFWDL, tmp | 0x01); in _rtl88e_enable_fw_download()
47 tmp = usb_read8(adapt, REG_MCUFWDL + 2); in _rtl88e_enable_fw_download()
48 usb_write8(adapt, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl88e_enable_fw_download()
50 tmp = usb_read8(adapt, REG_MCUFWDL); in _rtl88e_enable_fw_download()
51 usb_write8(adapt, REG_MCUFWDL, tmp & 0xfe); in _rtl88e_enable_fw_download()
53 usb_write8(adapt, REG_MCUFWDL + 1, 0x00); in _rtl88e_enable_fw_download()
106 value8 = (usb_read8(adapt, REG_MCUFWDL + 2) & 0xF8) | u8page; in _rtl88e_fw_page_write()
108 usb_write8(adapt, (REG_MCUFWDL + 2), value8); in _rtl88e_fw_page_write()
152 value32 = usb_read32(adapt, REG_MCUFWDL); in _rtl88e_fw_free_to_go()
[all …]
Dusb_halinit.c936 val8 = usb_read8(Adapter, REG_MCUFWDL); in CardDisableRTL8188EU()
945 usb_write8(Adapter, REG_MCUFWDL, 0); in CardDisableRTL8188EU()
/drivers/net/wireless/rtlwifi/rtl8723com/
Dfw_common.c42 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in rtl8723_enable_fw_download()
43 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in rtl8723_enable_fw_download()
45 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in rtl8723_enable_fw_download()
46 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in rtl8723_enable_fw_download()
48 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in rtl8723_enable_fw_download()
49 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in rtl8723_enable_fw_download()
51 rtl_write_byte(rtlpriv, REG_MCUFWDL + 1, 0x00); in rtl8723_enable_fw_download()
92 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in rtl8723_fw_page_write()
94 rtl_write_byte(rtlpriv, (REG_MCUFWDL + 2), value8); in rtl8723_fw_page_write()
207 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in rtl8723_fw_free_to_go()
[all …]
Dfw_common.h30 #define REG_MCUFWDL 0x0080 macro
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dfw.c43 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl88e_enable_fw_download()
44 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in _rtl88e_enable_fw_download()
46 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl88e_enable_fw_download()
47 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl88e_enable_fw_download()
49 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl88e_enable_fw_download()
50 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl88e_enable_fw_download()
52 rtl_write_byte(rtlpriv, REG_MCUFWDL + 1, 0x00); in _rtl88e_enable_fw_download()
91 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in _rtl88e_fw_page_write()
93 rtl_write_byte(rtlpriv, (REG_MCUFWDL + 2), value8); in _rtl88e_fw_page_write()
155 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl88e_fw_free_to_go()
[all …]
Dhw.c1415 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && rtlhal->fw_ready) in _rtl88ee_poweroff_adapter()
1420 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl88ee_poweroff_adapter()
Dreg.h75 #define REG_MCUFWDL 0x0080 macro
/drivers/net/wireless/rtlwifi/rtl8192c/
Dfw_common.c42 u32 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92c_enable_fw_download()
47 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl92c_enable_fw_download()
56 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92c_enable_fw_download()
57 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in _rtl92c_enable_fw_download()
59 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl92c_enable_fw_download()
60 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92c_enable_fw_download()
63 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92c_enable_fw_download()
64 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92c_enable_fw_download()
66 rtl_write_byte(rtlpriv, REG_MCUFWDL + 1, 0x00); in _rtl92c_enable_fw_download()
106 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in _rtl92c_fw_page_write()
[all …]
/drivers/net/wireless/rtlwifi/rtl8192de/
Dfw.c40 return (rtl_read_dword(rtlpriv, REG_MCUFWDL) & MCUFWDL_RDY) ? in _rtl92d_is_fw_downloaded()
52 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92d_enable_fw_download()
53 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in _rtl92d_enable_fw_download()
54 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl92d_enable_fw_download()
55 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92d_enable_fw_download()
57 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92d_enable_fw_download()
58 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92d_enable_fw_download()
99 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in _rtl92d_fw_page_write()
100 rtl_write_byte(rtlpriv, (REG_MCUFWDL + 2), value8); in _rtl92d_fw_page_write()
156 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92d_fw_free_to_go()
[all …]
Dreg.h73 #define REG_MCUFWDL 0x0080 macro
/drivers/net/wireless/rtlwifi/rtl8192ee/
Dfw.c41 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x05); in _rtl92ee_enable_fw_download()
43 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl92ee_enable_fw_download()
44 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92ee_enable_fw_download()
46 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl92ee_enable_fw_download()
47 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92ee_enable_fw_download()
87 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in _rtl92ee_fw_page_write()
88 rtl_write_byte(rtlpriv, (REG_MCUFWDL + 2), value8); in _rtl92ee_fw_page_write()
153 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92ee_fw_free_to_go()
167 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92ee_fw_free_to_go()
170 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl92ee_fw_free_to_go()
[all …]
Dhw.c1625 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && rtlhal->fw_ready) in _rtl92ee_poweroff_adapter()
1633 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl92ee_poweroff_adapter()
Dreg.h73 #define REG_MCUFWDL 0x0080 macro
/drivers/net/wireless/rtlwifi/rtl8821ae/
Dfw.c41 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x05); in _rtl8821ae_enable_fw_download()
43 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in _rtl8821ae_enable_fw_download()
44 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl8821ae_enable_fw_download()
46 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl8821ae_enable_fw_download()
48 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl8821ae_enable_fw_download()
49 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl8821ae_enable_fw_download()
50 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in _rtl8821ae_enable_fw_download()
89 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in _rtl8821ae_fw_page_write()
91 rtl_write_byte(rtlpriv, (REG_MCUFWDL + 2), value8); in _rtl8821ae_fw_page_write()
154 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl8821ae_fw_free_to_go()
[all …]
/drivers/staging/rtl8723au/hal/
Drtl8723a_hal_init.c34 tmp = rtl8723au_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
35 rtl8723au_write8(padapter, REG_MCUFWDL, tmp | 0x01); in _FWDownloadEnable()
38 tmp = rtl8723au_read8(padapter, REG_MCUFWDL + 2); in _FWDownloadEnable()
39 rtl8723au_write8(padapter, REG_MCUFWDL + 2, tmp & 0xf7); in _FWDownloadEnable()
42 tmp = rtl8723au_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
43 rtl8723au_write8(padapter, REG_MCUFWDL, tmp & 0xfe); in _FWDownloadEnable()
46 rtl8723au_write8(padapter, REG_MCUFWDL + 1, 0x00); in _FWDownloadEnable()
69 value8 = (rtl8723au_read8(padapter, REG_MCUFWDL + 2) & 0xF8) | u8Page; in _PageWrite()
70 rtl8723au_write8(padapter, REG_MCUFWDL + 2, value8); in _PageWrite()
121 value32 = rtl8723au_read32(padapter, REG_MCUFWDL); in _FWFreeToGo()
[all …]
Dusb_halinit.c1085 if ((rtl8723au_read8(Adapter, REG_MCUFWDL) & BIT(7)) && in CardDisableRTL8723U()
1094 rtl8723au_write8(Adapter, REG_MCUFWDL, 0x00); in CardDisableRTL8723U()
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c1093 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _ResetDigitalProcedure1()
1107 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(1)) { in _ResetDigitalProcedure1()
1109 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _ResetDigitalProcedure1()
1129 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _ResetDigitalProcedure1()
/drivers/staging/rtl8188eu/include/
Drtl8188e_spec.h115 #define REG_MCUFWDL 0x0080 macro
/drivers/staging/rtl8723au/include/
Drtl8723a_spec.h66 #define REG_MCUFWDL 0x0080 macro
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dhw.c1295 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && in _rtl8723e_poweroff_adapter()
1306 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl8723e_poweroff_adapter()
Dreg.h66 #define REG_MCUFWDL 0x0080 macro
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c1320 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) in _rtl92ce_poweroff_adapter()
1323 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl92ce_poweroff_adapter()
Dreg.h76 #define REG_MCUFWDL 0x0080 macro
/drivers/net/wireless/rtlwifi/rtl8723be/
Dhw.c1183 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && in _rtl8723be_poweroff_adapter()
1194 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl8723be_poweroff_adapter()
Dreg.h77 #define REG_MCUFWDL 0x0080 macro

12