Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8192u/
H A Dr819xU_firmware.c25 rt_firmware *pfirmware = priv->pFirmware; in firmware_init_param() local
43 rt_firmware *pfirmware = priv->pFirmware; in fw_download_code() local
52 frag_threshold = pfirmware->cmdpacket_frag_threshold; in fw_download_code()
209 rt_firmware *pfirmware = priv->pFirmware; in init_firmware() local
255 mapped_file = pfirmware->firmware_buf; in init_firmware()
258 memset(pfirmware->firmware_buf, 0, 128); in init_firmware()
260 mapped_file = pfirmware->firmware_buf; in init_firmware()
263 pfirmware->firmware_buf_size = file_length; in init_firmware()
266 mapped_file = pfirmware->firmware_buf; in init_firmware()
267 file_length = pfirmware->firmware_buf_size; in init_firmware()
[all …]
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A 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()
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()
152 if (pfirmware->blobs[i].size == 0) { in rtl92e_init_fw()
164 &pfirmware->blobs[i], in rtl92e_init_fw()
171 mapped_file = pfirmware->blobs[i].data; in rtl92e_init_fw()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dsw.c65 struct rt_firmware *pfirmware = NULL; in rtl92se_fw_cb() local
82 pfirmware = (struct rt_firmware *)rtlpriv->rtlhal.pfirmware; in rtl92se_fw_cb()
83 memcpy(pfirmware->sz_fw_tmpbuffer, firmware->data, firmware->size); in rtl92se_fw_cb()
84 pfirmware->sz_fw_tmpbufferlen = firmware->size; in rtl92se_fw_cb()
181 rtlpriv->rtlhal.pfirmware = vzalloc(sizeof(struct rt_firmware)); in rtl92s_init_sw_vars()
182 if (!rtlpriv->rtlhal.pfirmware) in rtl92s_init_sw_vars()
195 vfree(rtlpriv->rtlhal.pfirmware); in rtl92s_init_sw_vars()
196 rtlpriv->rtlhal.pfirmware = NULL; in rtl92s_init_sw_vars()
207 if (rtlpriv->rtlhal.pfirmware) { in rtl92s_deinit_sw_vars()
208 vfree(rtlpriv->rtlhal.pfirmware); in rtl92s_deinit_sw_vars()
[all …]
H A Dphy.h50 (((struct rt_firmware *)(rtlpriv->rtlhal.pfirmware))->firmwareversion)
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dsw.c165 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl8821ae_init_sw_vars()
166 if (!rtlpriv->rtlhal.pfirmware) { in rtl8821ae_init_sw_vars()
173 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
174 rtlpriv->rtlhal.pfirmware = NULL; in rtl8821ae_init_sw_vars()
195 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
207 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_init_sw_vars()
217 if (rtlpriv->rtlhal.pfirmware) { in rtl8821ae_deinit_sw_vars()
218 vfree(rtlpriv->rtlhal.pfirmware); in rtl8821ae_deinit_sw_vars()
219 rtlpriv->rtlhal.pfirmware = NULL; in rtl8821ae_deinit_sw_vars()
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dsw.c138 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl88e_init_sw_vars()
139 if (!rtlpriv->rtlhal.pfirmware) { in rtl88e_init_sw_vars()
152 vfree(rtlpriv->rtlhal.pfirmware); in rtl88e_init_sw_vars()
153 rtlpriv->rtlhal.pfirmware = NULL; in rtl88e_init_sw_vars()
179 if (rtlpriv->rtlhal.pfirmware) { in rtl88e_deinit_sw_vars()
180 vfree(rtlpriv->rtlhal.pfirmware); in rtl88e_deinit_sw_vars()
181 rtlpriv->rtlhal.pfirmware = NULL; in rtl88e_deinit_sw_vars()
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dsw.c43 rtlpriv->rtlhal.pfirmware = vzalloc(0x4000); in rtl92cu_init_sw_vars()
44 if (!rtlpriv->rtlhal.pfirmware) { in rtl92cu_init_sw_vars()
64 vfree(rtlpriv->rtlhal.pfirmware); in rtl92cu_init_sw_vars()
65 rtlpriv->rtlhal.pfirmware = NULL; in rtl92cu_init_sw_vars()
74 if (rtlpriv->rtlhal.pfirmware) { in rtl92cu_deinit_sw_vars()
75 vfree(rtlpriv->rtlhal.pfirmware); in rtl92cu_deinit_sw_vars()
76 rtlpriv->rtlhal.pfirmware = NULL; in rtl92cu_deinit_sw_vars()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dsw.c149 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl92d_init_sw_vars()
150 if (!rtlpriv->rtlhal.pfirmware) { in rtl92d_init_sw_vars()
165 vfree(rtlpriv->rtlhal.pfirmware); in rtl92d_init_sw_vars()
166 rtlpriv->rtlhal.pfirmware = NULL; in rtl92d_init_sw_vars()
178 if (rtlpriv->rtlhal.pfirmware) { in rtl92d_deinit_sw_vars()
179 vfree(rtlpriv->rtlhal.pfirmware); in rtl92d_deinit_sw_vars()
180 rtlpriv->rtlhal.pfirmware = NULL; in rtl92d_deinit_sw_vars()
H A Dfw.c173 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92d_download_fw()
176 pfwheader = rtlhal->pfirmware; in rtl92d_download_fw()
177 pfwdata = rtlhal->pfirmware; in rtl92d_download_fw()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dsw.c142 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl92ee_init_sw_vars()
143 if (!rtlpriv->rtlhal.pfirmware) { in rtl92ee_init_sw_vars()
158 vfree(rtlpriv->rtlhal.pfirmware); in rtl92ee_init_sw_vars()
159 rtlpriv->rtlhal.pfirmware = NULL; in rtl92ee_init_sw_vars()
170 if (rtlpriv->rtlhal.pfirmware) { in rtl92ee_deinit_sw_vars()
171 vfree(rtlpriv->rtlhal.pfirmware); in rtl92ee_deinit_sw_vars()
172 rtlpriv->rtlhal.pfirmware = NULL; in rtl92ee_deinit_sw_vars()
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dsw.c145 rtlpriv->rtlhal.pfirmware = vzalloc(0x6000); in rtl8723e_init_sw_vars()
146 if (!rtlpriv->rtlhal.pfirmware) { in rtl8723e_init_sw_vars()
161 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723e_init_sw_vars()
162 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723e_init_sw_vars()
172 if (rtlpriv->rtlhal.pfirmware) { in rtl8723e_deinit_sw_vars()
173 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723e_deinit_sw_vars()
174 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723e_deinit_sw_vars()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dsw.c152 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl8723be_init_sw_vars()
153 if (!rtlpriv->rtlhal.pfirmware) { in rtl8723be_init_sw_vars()
165 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723be_init_sw_vars()
166 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723be_init_sw_vars()
176 if (rtlpriv->rtlhal.pfirmware) { in rtl8723be_deinit_sw_vars()
177 vfree(rtlpriv->rtlhal.pfirmware); in rtl8723be_deinit_sw_vars()
178 rtlpriv->rtlhal.pfirmware = NULL; in rtl8723be_deinit_sw_vars()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dsw.c133 rtlpriv->rtlhal.pfirmware = vzalloc(0x4000); in rtl92c_init_sw_vars()
134 if (!rtlpriv->rtlhal.pfirmware) { in rtl92c_init_sw_vars()
155 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_init_sw_vars()
156 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_init_sw_vars()
167 if (rtlpriv->rtlhal.pfirmware) { in rtl92c_deinit_sw_vars()
168 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_deinit_sw_vars()
169 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_deinit_sw_vars()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c102 memcpy(rtlpriv->rtlhal.pfirmware, firmware->data, in rtl_fw_do_work()
H A Dwifi.h1645 u8 *pfirmware; member