Home
last modified time | relevance | path

Searched refs:header_size (Results 1 – 25 of 30) sorted by relevance

12

/u-boot/common/spl/
A Dspl_legacy.c21 u32 header_size = sizeof(struct image_header); in spl_parse_legacy_header() local
43 header_size; in spl_parse_legacy_header()
45 header_size; in spl_parse_legacy_header()
/u-boot/tools/
A Dimximage.c839 uint32_t header_size; in imximage_set_header() local
856 header_size = sizeof(flash_header_v1_t); in imximage_set_header()
860 header_size += sizeof(dcd_v2_t); in imximage_set_header()
862 header_size += MAX_PLUGIN_CODE_SIZE; in imximage_set_header()
866 imximage_init_loadsize = imximage_ivt_offset + header_size; in imximage_set_header()
918 uint32_t pad_len, header_size; in imximage_generate() local
937 header_size = sizeof(imx_header_v1_t); in imximage_generate()
941 header_size += sizeof(dcd_v2_t); in imximage_generate()
943 header_size += MAX_PLUGIN_CODE_SIZE; in imximage_generate()
951 if (alloc_len < header_size) { in imximage_generate()
[all …]
A Dmtk_image.c403 tparams->header_size = sizeof(union lk_hdr); in mtk_image_vrec_header()
405 memset(&hdr_tmp, 0xff, tparams->header_size); in mtk_image_vrec_header()
410 tparams->header_size = 2 * le16_to_cpu(hdr_nand->pagesize); in mtk_image_vrec_header()
412 tparams->header_size = sizeof(struct gen_device_header); in mtk_image_vrec_header()
414 tparams->header_size += sizeof(struct gfh_header); in mtk_image_vrec_header()
417 memset(&hdr_tmp, 0xff, tparams->header_size); in mtk_image_vrec_header()
456 gfh = (struct gfh_header *)(ptr + le32_to_cpu(bh->header_size)); in mtk_image_verify_gen_header()
685 hdr->brlyt.header_size = cpu_to_le32(sizeof(struct gen_device_header)); in mtk_image_set_gen_header()
687 hdr->brlyt.header_size_2 = hdr->brlyt.header_size; in mtk_image_set_gen_header()
719 brlyt->header_size = cpu_to_le32(2); in mtk_image_set_nand_header()
[all …]
A Dmkimage.c369 params.ep += tparams->header_size; in main()
411 if ((unsigned)sbuf.st_size < tparams->header_size) { in main()
464 params.file_size = sbuf.st_size + tparams->header_size; in main()
477 memset(tparams->hdr, 0, tparams->header_size); in main()
479 if (write(ifd, tparams->hdr, tparams->header_size) in main()
480 != tparams->header_size) { in main()
585 - tparams->header_size, in main()
587 - tparams->header_size in main()
722 if ((unsigned)sbuf.st_size < tparams->header_size) { in copy_file()
729 for (p = ptr; p < ptr + tparams->header_size; p++) { in copy_file()
[all …]
A Drkcommon.c425 tparams->header_size = RK_SPL_HDR_START; in rkcommon_vrec_header()
428 tparams->hdr = malloc(tparams->header_size); in rkcommon_vrec_header()
434 memset(tparams->hdr, 0, tparams->header_size); in rkcommon_vrec_header()
440 params->orig_file_size = tparams->header_size + in rkcommon_vrec_header()
A Dimagetool.h97 uint32_t header_size; member
320 .header_size = _header_size, \
A Dzynqmpimage.c438 tparams->header_size = sizeof(struct zynqmp_header); in zynqmpimage_vrec_header()
465 tparams->header_size += fsize(fpmu); in zynqmpimage_vrec_header()
468 dynamic_header = calloc(1, tparams->header_size); in zynqmpimage_vrec_header()
A Dmtk_image.h58 uint32_t header_size; member
A Daisimage.c280 tparams->header_size = 0; in aisimage_generate()
358 tparams->header_size = size; in aisimage_generate()
A Ddumpimage.c162 if ((uint32_t)sbuf.st_size < tparams->header_size) { in main()
A Datmelimage.c320 tparams->header_size = sizeof(nand_pmecc_header); in atmel_vrec_header()
A Dsocfpgaimage.c409 tparams->header_size = sfp_fake_header_size(data_size, ver); in sfp_vrec_header()
A Dmkeficapsule.c290 header.header_size = sizeof(header); in create_fwbin()
/u-boot/lib/efi_loader/
A Defi_net.c490 (struct efi_simple_network *this, size_t header_size, in efi_net_transmit() argument
498 (unsigned long)header_size, (unsigned long)buffer_size, in efi_net_transmit()
526 if (header_size) { in efi_net_transmit()
530 header_size != this->mode->media_header_size) { in efi_net_transmit()
579 (struct efi_simple_network *this, size_t *header_size, in efi_net_receive() argument
589 EFI_ENTRY("%p, %p, %p, %p, %p, %p, %p", this, header_size, in efi_net_receive()
623 if (header_size) in efi_net_receive()
624 *header_size = hdr_size; in efi_net_receive()
782 efi_uintn_t *header_size, void *header_ptr, in efi_pxe_base_code_udp_write() argument
792 u16 *src_port, efi_uintn_t *header_size, in efi_pxe_base_code_udp_read() argument
A Defi_firmware.c33 u32 header_size; member
458 image += header->header_size; in efi_firmware_raw_set_image()
459 image_size -= header->header_size; in efi_firmware_raw_set_image()
A Defi_capsule.c348 if (capsule_data->header_size < sizeof(*capsule) || in efi_capsule_update_firmware()
349 capsule_data->header_size >= capsule_data->capsule_image_size) in efi_capsule_update_firmware()
352 capsule = (void *)capsule_data + capsule_data->header_size; in efi_capsule_update_firmware()
354 - capsule_data->header_size; in efi_capsule_update_firmware()
464 if (capsule->header_size < sizeof(*capsule) || in efi_update_capsule()
A Defi_tcg2.c747 if (efi_tcg_event->size < efi_tcg_event->header.header_size + in efi_tcg2_hash_log_extend_event()
795 efi_tcg_event->header.header_size; in efi_tcg2_hash_log_extend_event()
/u-boot/include/
A Ddt_table.h24 u32 header_size; /* sizeof(dt_table_header) */ member
A Dandroid_image.h63 u32 header_size; member
A Dpart_efi.h84 __le32 header_size; member
A Defi_tcg2.h44 u32 header_size; member
A Defi_api.h235 u32 header_size; member
911 u32 header_size; member
1403 size_t header_size, size_t buffer_size, void *buffer,
1407 size_t *header_size, size_t *buffer_size, void *buffer,
1544 efi_uintn_t *header_size, void *header_ptr,
1550 u16 *src_port, efi_uintn_t *header_size,
/u-boot/common/
A Dsplash_source.c319 const size_t header_size = sizeof(struct image_header); in splash_load_fit() local
322 res = splash_storage_read_raw(location, bmp_load_addr, header_size); in splash_load_fit()
335 fit_header = (const u32 *)(bmp_load_addr + header_size); in splash_load_fit()
A Dimage-android-dt.c118 printf(" header_size = %d\n", fdt32_to_cpu(hdr->header_size)); in android_dt_print_contents()
/u-boot/disk/
A Dpart_efi.c111 le32_to_cpu(gpt_h->header_size)); in validate_gpt_header()
188 le32_to_cpu(gpt_h->header_size)); in prepare_backup_gpt_header()
390 le32_to_cpu(gpt_h->header_size)); in write_gpt_table()
591 gpt_h->header_size = cpu_to_le32(sizeof(gpt_header)); in gpt_fill_header()

Completed in 40 milliseconds

12