/drivers/staging/rtl8192u/ |
D | r819xU_firmware.c | 25 rt_firmware *pfirmware = priv->pFirmware; in firmware_init_param() local 27 pfirmware->cmdpacket_frag_threshold = GET_COMMAND_PACKET_FRAG_THRESHOLD(MAX_TRANSMIT_BUFFER_SIZE); in firmware_init_param() 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 218 if (pfirmware->firmware_status == FW_STATUS_0_INIT) { in init_firmware() 224 } else if (pfirmware->firmware_status == FW_STATUS_5_READY) { in init_firmware() 248 if (fw_entry->size > sizeof(pfirmware->firmware_buf)) { in init_firmware() 254 memcpy(pfirmware->firmware_buf, fw_entry->data, fw_entry->size); in init_firmware() 255 mapped_file = pfirmware->firmware_buf; in init_firmware() [all …]
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_firmware.c | 55 struct rt_firmware *pfirmware = priv->pFirmware; in _rtl92e_fw_check_ready() local 60 pfirmware->status = FW_STATUS_1_MOVE_BOOT_CODE; in _rtl92e_fw_check_ready() 64 pfirmware->status = FW_STATUS_2_MOVE_MAIN_CODE; in _rtl92e_fw_check_ready() 68 pfirmware->status = FW_STATUS_3_TURNON_CPU; in _rtl92e_fw_check_ready() 75 pfirmware->status = FW_STATUS_4_MOVE_DATA_CODE; in _rtl92e_fw_check_ready() 80 pfirmware->status = FW_STATUS_5_READY; in _rtl92e_fw_check_ready() 142 struct rt_firmware *pfirmware = priv->pFirmware; in rtl92e_init_fw() local 146 if (pfirmware->status == FW_STATUS_0_INIT) { in rtl92e_init_fw() 150 } else if (pfirmware->status == FW_STATUS_5_READY) { in rtl92e_init_fw() 160 if (pfirmware->blobs[i].size == 0) { in rtl92e_init_fw() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | sw.c | 65 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 …]
|
D | fw.c | 192 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()
|
D | phy.h | 50 (((struct rt_firmware *)(rtlpriv->rtlhal.pfirmware))->firmwareversion)
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | sw.c | 165 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()
|
D | fw.c | 146 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | sw.c | 133 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | sw.c | 152 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | sw.c | 149 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()
|
D | fw.c | 173 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | sw.c | 43 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | sw.c | 138 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()
|
D | fw.c | 118 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | sw.c | 145 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | sw.c | 142 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()
|
D | fw.c | 113 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
D | fw_common.c | 177 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | fw_common.c | 139 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()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 102 memcpy(rtlpriv->rtlhal.pfirmware, firmware->data, in rtl_fw_do_work()
|
D | wifi.h | 1656 u8 *pfirmware; member
|