/u-boot/cmd/ |
H A D | bootefi.c | 138 size_t image_size; local 203 efi_get_image_parameters(&image_addr, &image_size); 210 size = image_size;
|
H A D | fpga.c | 299 ulong image_size = ~0UL; local 304 &image_size) != 0) { 308 data_size = image_size;
|
/u-boot/drivers/fastboot/ |
H A D | fb_command.c | 19 * image_size - final fastboot image size 21 static u32 image_size; variable 277 * On completion sets image_size and ${filesize} to the total size of the 315 * Set image_size and ${filesize} to the total size of the downloaded image. 322 image_size = fastboot_bytes_received; 323 env_set_hex("filesize", image_size); 341 image_size, response); 345 image_size, response); 573 fastboot_oem_board(cmd_parameter, (void *)fastboot_buf_addr, image_size, response);
|
/u-boot/tools/ |
H A D | lpc32xximage.c | 82 static int lpc32xximage_verify_header(unsigned char *ptr, int image_size, argument 89 int image_size_in_pages = ((image_size - 1)
|
H A D | stm32image.c | 80 static int stm32image_verify_header(unsigned char *ptr, int image_size, argument 86 if (image_size < sizeof(struct stm32_header))
|
H A D | zynqmpimage.c | 81 checksum += le32_to_cpu(ptr->image_size); 119 static int zynqmpimage_verify_header(unsigned char *ptr, int image_size, argument 124 if (image_size < sizeof(struct zynqmp_header)) 275 (unsigned long)le32_to_cpu(zynqhdr->image_size), 388 zynqhdr->image_size -= zynqhdr->pfw_image_length; 450 zynqhdr->image_size = cpu_to_le32(params->file_size - 452 zynqhdr->image_stored_size = zynqhdr->image_size;
|
H A D | sunxi_egon.c | 44 static int egon_verify_header(unsigned char *ptr, int image_size, argument 79 if (image_size < length)
|
H A D | atmelimage.c | 114 static int atmel_verify_header(unsigned char *ptr, int image_size, argument 119 size_t size = image_size;
|
H A D | mkeficapsule.c | 82 * @image_size: Size of firmware data 88 * @image_size are input parameters. @auth, @sig_data and @sig_size 95 size_t image_size; member in struct:auth_context 281 data.size = ctx->image_size + sizeof(ctx->auth.monotonic_count); 287 memcpy(data.data, ctx->image_data, ctx->image_size); 288 memcpy(data.data + ctx->image_size, &ctx->auth.monotonic_count, 464 auth_context.image_size = bin_size;
|
H A D | omapimage.c | 39 static int omapimage_verify_header(unsigned char *ptr, int image_size, argument
|
H A D | vybridimage.c | 61 static int vybridimage_verify_header(unsigned char *ptr, int image_size, argument
|
H A D | fit_common.c | 33 int fit_verify_header(unsigned char *ptr, int image_size, argument
|
H A D | aisimage.c | 371 static int aisimage_verify_header(unsigned char *ptr, int image_size, argument 380 ais_img_size = image_size;
|
H A D | socfpgaimage.c | 277 static int socfpgaimage_verify_header(unsigned char *ptr, int image_size, argument 280 if (image_size < 0x80)
|
/u-boot/lib/libavb/ |
H A D | avb_slot_verify.c | 62 uint64_t image_size, 72 /* We are going to implicitly cast image_size from uint64_t to size_t in the 74 if (image_size != (size_t)(image_size)) { 82 ops, part_name, image_size, out_image_buf, &part_num_read); 91 if (part_num_read != image_size) { 101 *out_image_buf = avb_malloc(image_size); 109 image_size, 118 if (part_num_read != image_size) { 280 uint64_t image_size; local 60 load_full_partition(AvbOps* ops, const char* part_name, uint64_t image_size, uint8_t** out_image_buf, bool* out_image_preloaded) argument 477 uint64_t image_size; local [all...] |
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_miniapp_exit.c | 16 * check_loaded_image_protocol() - check image_base/image_size 19 * between image_base and image_base + image_size. 49 loaded_image_protocol->image_size) { 51 u"Incorrect image_base or image_size\n");
|
/u-boot/boot/ |
H A D | image-pre-load.c | 264 u32 header_size, image_size, offset_img_sig; local 279 image_size = fdt32_to_cpu(sig_header->image_size); 284 image = (void *)map_sysmem(addr, header_size + image_size); 292 reg.size = image_size;
|
H A D | bootm.c | 695 ulong image_size; local 698 ret = booti_setup(load, &relocated_addr, &image_size, false); 708 relocated_addr + image_size); 709 memmove((void *)relocated_addr, load_buf, image_size); 714 images->os.end = relocated_addr + image_size;
|
/u-boot/tools/binman/etype/ |
H A D | pre_load.py | 132 image_size = len(self.image) 139 version, header_size, image_size,
|
/u-boot/drivers/fwu-mdata/ |
H A D | raw_mtd.c | 217 int image_num, image_offset, image_size; local 229 ofnode_read_u32(image, "size", &image_size); 232 fwu_mtd_images[off_img].size = image_size;
|
/u-boot/arch/arm/cpu/armv8/ |
H A D | sec_firmware.c | 171 u64 image_addr, u32 image_size, u64 sec_firmware) 174 memcpy((void *)sec_firmware, (void *)image_addr, image_size); 175 flush_dcache_range(sec_firmware, sec_firmware + image_size); 170 sec_firmware_copy_image(const char *title, u64 image_addr, u32 image_size, u64 sec_firmware) argument
|
/u-boot/lib/efi_loader/ |
H A D | efi_bootmgr.c | 28 * @image_size: image size 35 ulong image_size; member in struct:uridp_context 397 ret = efi_add_memory_map(ctx->image_addr, ctx->image_size, 462 static ulong image_size, image_addr; local 482 image_size = env_get_hex("filesize", 0); 483 if (!image_size) { 496 ret = prepare_loaded_image(lo_label, image_addr, image_size, 503 } else if (efi_check_pe((void *)image_addr, image_size, NULL) == EFI_SUCCESS) { 509 (uintptr_t)image_addr, image_size); 516 source_size = image_size; [all...] |
H A D | efi_capsule.c | 255 * @image_size: Pointer to Image size 258 * Update @image and @image_size. 262 static efi_status_t efi_remove_auth_hdr(void **image, efi_uintn_t *image_size) argument 268 if (*image_size < sizeof(*auth_hdr)) 277 *image_size = *image_size - auth_hdr->auth_info.hdr.dwLength - 319 void **image, efi_uintn_t *image_size) 342 *image_size = capsule_size; 343 if (efi_remove_auth_hdr(image, image_size) != EFI_SUCCESS) 360 (uint8_t *)*image + *image_size, 318 efi_capsule_authenticate(const void *capsule, efi_uintn_t capsule_size, void **image, efi_uintn_t *image_size) argument [all...] |
/u-boot/drivers/pci/ |
H A D | pci_rom.c | 163 unsigned int image_size = 0; local 170 image_size); 175 image_size = le16_to_cpu(rom_data->ilen) * 512;
|
/u-boot/include/ |
H A D | atf_common.h | 129 uint32_t image_size; /* bytes read from image file */ member in struct:atf_image_info
|