Home
last modified time | relevance | path

Searched refs:pfirmware (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_firmware.c54 struct rt_firmware *pfirmware = priv->fw_info; in _rtl92e_fw_check_ready() local
59 pfirmware->status = FW_STATUS_1_MOVE_BOOT_CODE; in _rtl92e_fw_check_ready()
63 pfirmware->status = FW_STATUS_2_MOVE_MAIN_CODE; in _rtl92e_fw_check_ready()
67 pfirmware->status = FW_STATUS_3_TURNON_CPU; in _rtl92e_fw_check_ready()
74 pfirmware->status = FW_STATUS_4_MOVE_DATA_CODE; in _rtl92e_fw_check_ready()
79 pfirmware->status = FW_STATUS_5_READY; in _rtl92e_fw_check_ready()
137 struct rt_firmware *pfirmware = priv->fw_info; in rtl92e_init_fw() local
141 if (pfirmware->status == FW_STATUS_0_INIT) { in rtl92e_init_fw()
145 } else if (pfirmware->status == FW_STATUS_5_READY) { in rtl92e_init_fw()
152 if (pfirmware->blobs[i].size == 0) { in rtl92e_init_fw()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dsw.c62 struct rt_firmware *pfirmware = NULL; in rtl92se_fw_cb() local
79 pfirmware = (struct rt_firmware *)rtlpriv->rtlhal.pfirmware; in rtl92se_fw_cb()
80 memcpy(pfirmware->sz_fw_tmpbuffer, firmware->data, firmware->size); in rtl92se_fw_cb()
81 pfirmware->sz_fw_tmpbufferlen = firmware->size; in rtl92se_fw_cb()
178 rtlpriv->rtlhal.pfirmware = vzalloc(sizeof(struct rt_firmware)); in rtl92s_init_sw_vars()
179 if (!rtlpriv->rtlhal.pfirmware) in rtl92s_init_sw_vars()
192 vfree(rtlpriv->rtlhal.pfirmware); in rtl92s_init_sw_vars()
193 rtlpriv->rtlhal.pfirmware = NULL; in rtl92s_init_sw_vars()
204 if (rtlpriv->rtlhal.pfirmware) { in rtl92s_deinit_sw_vars()
205 vfree(rtlpriv->rtlhal.pfirmware); in rtl92s_deinit_sw_vars()
[all …]
Dphy.h50 (((struct rt_firmware *)(rtlpriv->rtlhal.pfirmware))->firmwareversion)
Dfw.c192 struct rt_firmware *firmware = (struct rt_firmware *)rtlhal->pfirmware; in _rtl92s_firmware_checkready()
326 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92s_download_fw()
329 firmware = (struct rt_firmware *)rtlhal->pfirmware; in rtl92s_download_fw()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dsw.c162 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl8821ae_init_sw_vars()
163 if (!rtlpriv->rtlhal.pfirmware) { in rtl8821ae_init_sw_vars()
170 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
171 rtlpriv->rtlhal.pfirmware = NULL; in rtl8821ae_init_sw_vars()
192 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
204 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
214 if (rtlpriv->rtlhal.pfirmware) { in rtl8821ae_deinit_sw_vars()
215 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_deinit_sw_vars()
216 rtlpriv->rtlhal.pfirmware = NULL; in rtl8821ae_deinit_sw_vars()
Dfw.c146 if (!rtlhal->pfirmware) in rtl8821ae_download_fw()
150 (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl8821ae_download_fw()
153 pfwdata = (u8 *)rtlhal->pfirmware; in rtl8821ae_download_fw()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dfw.c20 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92du_download_fw()
24 pfwheader = rtlhal->pfirmware; in rtl92du_download_fw()
25 pfwdata = rtlhal->pfirmware; in rtl92du_download_fw()
Dsw.c149 rtlpriv->rtlhal.pfirmware = kmalloc(0x8000, GFP_KERNEL); in rtl92du_init_sw_vars()
150 if (!rtlpriv->rtlhal.pfirmware) in rtl92du_init_sw_vars()
163 kfree(rtlpriv->rtlhal.pfirmware); in rtl92du_init_sw_vars()
164 rtlpriv->rtlhal.pfirmware = NULL; in rtl92du_init_sw_vars()
175 kfree(rtlpriv->rtlhal.pfirmware); in rtl92du_deinit_sw_vars()
176 rtlpriv->rtlhal.pfirmware = NULL; in rtl92du_deinit_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dsw.c43 rtlpriv->rtlhal.pfirmware = kmalloc(0x4000, GFP_KERNEL); in rtl92cu_init_sw_vars()
44 if (!rtlpriv->rtlhal.pfirmware) { in rtl92cu_init_sw_vars()
62 kfree(rtlpriv->rtlhal.pfirmware); in rtl92cu_init_sw_vars()
63 rtlpriv->rtlhal.pfirmware = NULL; in rtl92cu_init_sw_vars()
72 if (rtlpriv->rtlhal.pfirmware) { in rtl92cu_deinit_sw_vars()
73 kfree(rtlpriv->rtlhal.pfirmware); in rtl92cu_deinit_sw_vars()
74 rtlpriv->rtlhal.pfirmware = NULL; in rtl92cu_deinit_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dsw.c150 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl92d_init_sw_vars()
151 if (!rtlpriv->rtlhal.pfirmware) { in rtl92d_init_sw_vars()
166 vfree(rtlpriv->rtlhal.pfirmware); in rtl92d_init_sw_vars()
167 rtlpriv->rtlhal.pfirmware = NULL; in rtl92d_init_sw_vars()
179 if (rtlpriv->rtlhal.pfirmware) { in rtl92d_deinit_sw_vars()
180 vfree(rtlpriv->rtlhal.pfirmware); in rtl92d_deinit_sw_vars()
181 rtlpriv->rtlhal.pfirmware = NULL; in rtl92d_deinit_sw_vars()
Dfw.c28 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92d_download_fw()
31 pfwheader = rtlhal->pfirmware; in rtl92d_download_fw()
32 pfwdata = rtlhal->pfirmware; in rtl92d_download_fw()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dsw.c149 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl8723be_init_sw_vars()
150 if (!rtlpriv->rtlhal.pfirmware) { in rtl8723be_init_sw_vars()
162 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723be_init_sw_vars()
163 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723be_init_sw_vars()
173 if (rtlpriv->rtlhal.pfirmware) { in rtl8723be_deinit_sw_vars()
174 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723be_deinit_sw_vars()
175 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723be_deinit_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dsw.c142 rtlpriv->rtlhal.pfirmware = vzalloc(0x6000); in rtl8723e_init_sw_vars()
143 if (!rtlpriv->rtlhal.pfirmware) { in rtl8723e_init_sw_vars()
158 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723e_init_sw_vars()
159 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723e_init_sw_vars()
169 if (rtlpriv->rtlhal.pfirmware) { in rtl8723e_deinit_sw_vars()
170 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723e_deinit_sw_vars()
171 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723e_deinit_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dsw.c130 rtlpriv->rtlhal.pfirmware = vzalloc(0x4000); in rtl92c_init_sw_vars()
131 if (!rtlpriv->rtlhal.pfirmware) { in rtl92c_init_sw_vars()
152 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_init_sw_vars()
153 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_init_sw_vars()
164 if (rtlpriv->rtlhal.pfirmware) { in rtl92c_deinit_sw_vars()
165 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_deinit_sw_vars()
166 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_deinit_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dsw.c139 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl92ee_init_sw_vars()
140 if (!rtlpriv->rtlhal.pfirmware) { in rtl92ee_init_sw_vars()
155 vfree(rtlpriv->rtlhal.pfirmware); in rtl92ee_init_sw_vars()
156 rtlpriv->rtlhal.pfirmware = NULL; in rtl92ee_init_sw_vars()
167 if (rtlpriv->rtlhal.pfirmware) { in rtl92ee_deinit_sw_vars()
168 vfree(rtlpriv->rtlhal.pfirmware); in rtl92ee_deinit_sw_vars()
169 rtlpriv->rtlhal.pfirmware = NULL; in rtl92ee_deinit_sw_vars()
Dfw.c113 if (!rtlhal->pfirmware) in rtl92ee_download_fw()
116 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl92ee_download_fw()
119 pfwdata = (u8 *)rtlhal->pfirmware; in rtl92ee_download_fw()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dsw.c135 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl88e_init_sw_vars()
136 if (!rtlpriv->rtlhal.pfirmware) { in rtl88e_init_sw_vars()
149 vfree(rtlpriv->rtlhal.pfirmware); in rtl88e_init_sw_vars()
150 rtlpriv->rtlhal.pfirmware = NULL; in rtl88e_init_sw_vars()
176 if (rtlpriv->rtlhal.pfirmware) { in rtl88e_deinit_sw_vars()
177 vfree(rtlpriv->rtlhal.pfirmware); in rtl88e_deinit_sw_vars()
178 rtlpriv->rtlhal.pfirmware = NULL; in rtl88e_deinit_sw_vars()
Dfw.c118 if (!rtlhal->pfirmware) in rtl88e_download_fw()
121 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl88e_download_fw()
124 pfwdata = rtlhal->pfirmware; in rtl88e_download_fw()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dfw_common.c177 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl8723_download_fw()
180 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl8723_download_fw()
183 pfwdata = rtlhal->pfirmware; in rtl8723_download_fw()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c139 if (!rtlhal->pfirmware) in rtl92c_download_fw()
142 pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware; in rtl92c_download_fw()
143 pfwdata = (u8 *)rtlhal->pfirmware; in rtl92c_download_fw()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Dcore.c102 memcpy(rtlpriv->rtlhal.pfirmware, firmware->data, in rtl_fw_do_work()
Dwifi.h1612 u8 *pfirmware; member