Lines Matching refs:img
164 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img() argument
168 iwl_free_fw_desc(drv, &img->sec[i]); in iwl_free_fw_img()
182 iwl_free_fw_img(drv, drv->fw.img + i); in iwl_dealloc_ucode()
285 struct fw_img_parsing img[IWL_UCODE_TYPE_MAX]; member
306 return &pieces->img[type].sec[sec]; in get_sec()
314 pieces->img[type].sec[sec].data = data; in set_sec_data()
322 pieces->img[type].sec[sec].size = size; in set_sec_size()
329 return pieces->img[type].sec[sec].size; in get_sec_size()
337 pieces->img[type].sec[sec].offset = offset; in set_sec_offset()
382 struct fw_img_parsing *img; in iwl_store_ucode_sec() local
391 img = &pieces->img[type]; in iwl_store_ucode_sec()
392 sec = &img->sec[img->sec_counter]; in iwl_store_ucode_sec()
398 ++img->sec_counter; in iwl_store_ucode_sec()
822 drv->fw.img[IWL_UCODE_REGULAR].is_dual_cpus = in iwl_parse_tlv_firmware()
824 drv->fw.img[IWL_UCODE_INIT].is_dual_cpus = in iwl_parse_tlv_firmware()
826 drv->fw.img[IWL_UCODE_WOWLAN].is_dual_cpus = in iwl_parse_tlv_firmware()
988 if (iwl_alloc_fw_desc(drv, &(drv->fw.img[type].sec[i]), in iwl_alloc_ucode()