Searched refs:pfirmware (Results 1 – 14 of 14) sorted by relevance
29 struct rt_firmware *pfirmware = priv->pFirmware; in firmware_init_param() local31 pfirmware->cmdpacket_frag_thresold = GET_COMMAND_PACKET_FRAG_THRESHOLD( in firmware_init_param()44 struct rt_firmware *pfirmware = priv->pFirmware; in fw_download_code() local51 frag_threshold = pfirmware->cmdpacket_frag_thresold; in fw_download_code()185 struct rt_firmware *pfirmware = priv->pFirmware; in firmware_check_ready() local190 pfirmware->firmware_status = FW_STATUS_1_MOVE_BOOT_CODE; in firmware_check_ready()194 pfirmware->firmware_status = FW_STATUS_2_MOVE_MAIN_CODE; in firmware_check_ready()198 pfirmware->firmware_status = FW_STATUS_3_TURNON_CPU; in firmware_check_ready()206 pfirmware->firmware_status = FW_STATUS_4_MOVE_DATA_CODE; in firmware_check_ready()211 pfirmware->firmware_status = FW_STATUS_5_READY; in firmware_check_ready()[all …]
48 struct rt_firmware *pfirmware = priv->pFirmware; in cmpk_message_handle_tx() local58 frag_threshold = pfirmware->cmdpacket_frag_thresold; in cmpk_message_handle_tx()
23 rt_firmware *pfirmware = priv->pFirmware; in firmware_init_param() local25 pfirmware->cmdpacket_frag_thresold = GET_COMMAND_PACKET_FRAG_THRESHOLD(MAX_TRANSMIT_BUFFER_SIZE); in firmware_init_param()41 rt_firmware *pfirmware = priv->pFirmware; in fw_download_code() local49 frag_threshold = pfirmware->cmdpacket_frag_thresold; in fw_download_code()253 rt_firmware *pfirmware = priv->pFirmware; in init_firmware() local262 if (pfirmware->firmware_status == FW_STATUS_0_INIT ) { in init_firmware()268 }else if(pfirmware->firmware_status == FW_STATUS_5_READY) { in init_firmware()292 if(fw_entry->size > sizeof(pfirmware->firmware_buf)) { in init_firmware()298 memcpy(pfirmware->firmware_buf,fw_entry->data,fw_entry->size); in init_firmware()299 mapped_file = pfirmware->firmware_buf; in init_firmware()[all …]
119 rt_firmware *pfirmware = priv->pFirmware; in cmpk_message_handle_tx() local127 frag_threshold = pfirmware->cmdpacket_frag_thresold; in cmpk_message_handle_tx()
97 struct rt_firmware *pfirmware = NULL; in rtl92se_fw_cb() local115 pfirmware = (struct rt_firmware *)rtlpriv->rtlhal.pfirmware; in rtl92se_fw_cb()116 memcpy(pfirmware->sz_fw_tmpbuffer, firmware->data, firmware->size); in rtl92se_fw_cb()117 pfirmware->sz_fw_tmpbufferlen = firmware->size; in rtl92se_fw_cb()229 rtlpriv->rtlhal.pfirmware = vzalloc(sizeof(struct rt_firmware)); in rtl92s_init_sw_vars()230 if (!rtlpriv->rtlhal.pfirmware) in rtl92s_init_sw_vars()254 if (rtlpriv->rtlhal.pfirmware) { in rtl92s_deinit_sw_vars()255 vfree(rtlpriv->rtlhal.pfirmware); in rtl92s_deinit_sw_vars()256 rtlpriv->rtlhal.pfirmware = NULL; in rtl92s_deinit_sw_vars()
227 struct rt_firmware *firmware = (struct rt_firmware *)rtlhal->pfirmware; in _rtl92s_firmware_checkready()367 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92s_download_fw()370 firmware = (struct rt_firmware *)rtlhal->pfirmware; in rtl92s_download_fw()
74 (((struct rt_firmware *)(rtlpriv->rtlhal.pfirmware))->firmwareversion)
65 rtlpriv->rtlhal.pfirmware = vzalloc(0x4000); in rtl92cu_init_sw_vars()66 if (!rtlpriv->rtlhal.pfirmware) { in rtl92cu_init_sw_vars()86 if (rtlpriv->rtlhal.pfirmware) { in rtl92cu_deinit_sw_vars()87 vfree(rtlpriv->rtlhal.pfirmware); in rtl92cu_deinit_sw_vars()88 rtlpriv->rtlhal.pfirmware = NULL; in rtl92cu_deinit_sw_vars()
174 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl92d_init_sw_vars()175 if (!rtlpriv->rtlhal.pfirmware) { in rtl92d_init_sw_vars()203 if (rtlpriv->rtlhal.pfirmware) { in rtl92d_deinit_sw_vars()204 vfree(rtlpriv->rtlhal.pfirmware); in rtl92d_deinit_sw_vars()205 rtlpriv->rtlhal.pfirmware = NULL; in rtl92d_deinit_sw_vars()
256 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92d_download_fw()259 pfwheader = (u8 *) rtlhal->pfirmware; in rtl92d_download_fw()260 pfwdata = (u8 *) rtlhal->pfirmware; in rtl92d_download_fw()
156 rtlpriv->rtlhal.pfirmware = vzalloc(0x4000); in rtl92c_init_sw_vars()157 if (!rtlpriv->rtlhal.pfirmware) { in rtl92c_init_sw_vars()190 if (rtlpriv->rtlhal.pfirmware) { in rtl92c_deinit_sw_vars()191 vfree(rtlpriv->rtlhal.pfirmware); in rtl92c_deinit_sw_vars()192 rtlpriv->rtlhal.pfirmware = NULL; in rtl92c_deinit_sw_vars()
260 if (rtlpriv->max_fw_size == 0 || !rtlhal->pfirmware) in rtl92c_download_fw()263 pfwheader = (struct rtl92c_firmware_header *)rtlhal->pfirmware; in rtl92c_download_fw()264 pfwdata = (u8 *) rtlhal->pfirmware; in rtl92c_download_fw()
59 memcpy(rtlpriv->rtlhal.pfirmware, firmware->data, firmware->size); in rtl_fw_cb()
1046 u8 *pfirmware; member