Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Dfw_common.c14 return !!(rtl_read_dword(rtlpriv, REG_MCUFWDL) & MCUFWDL_RDY); in rtl92d_is_fw_downloaded()
26 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in rtl92d_enable_fw_download()
27 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in rtl92d_enable_fw_download()
28 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); in rtl92d_enable_fw_download()
29 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in rtl92d_enable_fw_download()
31 tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); in rtl92d_enable_fw_download()
32 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in rtl92d_enable_fw_download()
83 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in rtl92d_fw_free_to_go()
93 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in rtl92d_fw_free_to_go()
95 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in rtl92d_fw_free_to_go()
[all …]
Dreg.h47 #define REG_MCUFWDL 0x0080 macro
/linux-6.12.1/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.c1388 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && rtlhal->fw_ready) in _rtl88ee_poweroff_adapter()
1393 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl88ee_poweroff_adapter()
/linux-6.12.1/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.12.1/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.c1622 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && rtlhal->fw_ready) in _rtl92ee_poweroff_adapter()
1630 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl92ee_poweroff_adapter()
Dreg.h51 #define REG_MCUFWDL 0x0080 macro
/linux-6.12.1/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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dfw.c48 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) { in rtl92du_download_fw()
50 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in rtl92du_download_fw()
Dhw.c1022 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & MCUFWDL_RDY) { in _rtl92du_poweroff_adapter()
1031 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _rtl92du_poweroff_adapter()
1058 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl92du_poweroff_adapter()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c91 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) { in rtl92d_download_fw()
93 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in rtl92d_download_fw()
Dhw.c890 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl92de_poweroff_adapter()
/linux-6.12.1/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c23 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
24 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); in _FWDownloadEnable()
27 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
30 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); in _FWDownloadEnable()
35 tmp = rtw_read8(padapter, REG_MCUFWDL+2); in _FWDownloadEnable()
36 rtw_write8(padapter, REG_MCUFWDL+2, tmp&0xf7); in _FWDownloadEnable()
39 tmp = rtw_read8(padapter, REG_MCUFWDL); in _FWDownloadEnable()
40 rtw_write8(padapter, REG_MCUFWDL, tmp&0xfe); in _FWDownloadEnable()
107 value8 = (rtw_read8(padapter, REG_MCUFWDL+2) & 0xF8) | u8Page; in _PageWrite()
108 rtw_write8(padapter, REG_MCUFWDL+2, value8); in _PageWrite()
[all …]
Dsdio_halinit.c859 u1bTmp = rtw_read8(padapter, REG_MCUFWDL); in CardDisableRTL8723BSdio()
870 rtw_write8(padapter, REG_MCUFWDL, 0); in CardDisableRTL8723BSdio()
/linux-6.12.1/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h34 #define REG_MCUFWDL 0x0080 macro
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Defuse.c13 #define REG_MCUFWDL 0x0080 macro
1334 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in rtl_fw_page_write()
1336 rtl_write_byte(rtlpriv, (REG_MCUFWDL + 2), value8); in rtl_fw_page_write()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c977 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _resetdigitalprocedure1()
991 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(1)) { in _resetdigitalprocedure1()
993 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _resetdigitalprocedure1()
1012 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in _resetdigitalprocedure1()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c1264 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && in _rtl8723e_poweroff_adapter()
1275 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl8723e_poweroff_adapter()
Dreg.h44 #define REG_MCUFWDL 0x0080 macro
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1303 if (rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) in _rtl92ce_poweroff_adapter()
1306 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl92ce_poweroff_adapter()
Dreg.h50 #define REG_MCUFWDL 0x0080 macro
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c1164 if ((rtl_read_byte(rtlpriv, REG_MCUFWDL) & BIT(7)) && in _rtl8723be_poweroff_adapter()
1175 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl8723be_poweroff_adapter()

12