Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_fw.c51 res = rtw_read8(padapter, REG_MCUFWDL, &tmp); in fw_download_enable()
55 rtw_write8(padapter, REG_MCUFWDL, tmp | 0x01); in fw_download_enable()
58 res = rtw_read8(padapter, REG_MCUFWDL + 2, &tmp); in fw_download_enable()
62 rtw_write8(padapter, REG_MCUFWDL + 2, tmp & 0xf7); in fw_download_enable()
65 res = rtw_read8(padapter, REG_MCUFWDL, &tmp); in fw_download_enable()
69 rtw_write8(padapter, REG_MCUFWDL, tmp & 0xfe); in fw_download_enable()
72 rtw_write8(padapter, REG_MCUFWDL + 1, 0x00); in fw_download_enable()
140 res = rtw_read8(padapter, REG_MCUFWDL + 2, &value8); in page_write()
145 rtw_write8(padapter, REG_MCUFWDL + 2, value8); in page_write()
201 res = rtw_read32(padapter, REG_MCUFWDL, &value32); in fw_free_to_go()
[all …]
/linux-6.1.9/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
/linux-6.1.9/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.c1389 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && rtlhal->fw_ready) in _rtl88ee_poweroff_adapter()
1394 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl88ee_poweroff_adapter()
Dreg.h53 #define REG_MCUFWDL 0x0080 macro
/linux-6.1.9/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
/linux-6.1.9/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 …]
/linux-6.1.9/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
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c24 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
25 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); in _FWDownloadEnable()
28 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
31 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); in _FWDownloadEnable()
36 tmp = rtw_read8(padapter, REG_MCUFWDL+2); in _FWDownloadEnable()
37 rtw_write8(padapter, REG_MCUFWDL+2, tmp&0xf7); in _FWDownloadEnable()
40 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
41 rtw_write8(padapter, REG_MCUFWDL, tmp&0xfe); in _FWDownloadEnable()
108 value8 = (rtw_read8(padapter, REG_MCUFWDL+2) & 0xF8) | u8Page; in _PageWrite()
109 rtw_write8(padapter, REG_MCUFWDL+2, value8); in _PageWrite()
[all …]
Dsdio_halinit.c860 u1bTmp = rtw_read8(padapter, REG_MCUFWDL); in CardDisableRTL8723BSdio()
871 rtw_write8(padapter, REG_MCUFWDL, 0); in CardDisableRTL8723BSdio()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Dusb_halinit.c777 res = rtw_read8(Adapter, REG_MCUFWDL, &val8); in CardDisableRTL8188EU()
792 rtw_write8(Adapter, REG_MCUFWDL, 0); in CardDisableRTL8188EU()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtl8188e_spec.h61 #define REG_MCUFWDL 0x0080 macro
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h75 #define REG_MCUFWDL 0x0080 macro
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c1269 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && in _rtl8723e_poweroff_adapter()
1280 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl8723e_poweroff_adapter()
Dreg.h44 #define REG_MCUFWDL 0x0080 macro
/linux-6.1.9/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
/linux-6.1.9/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