Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 21 of 21) sorted by relevance

/common/spl/
A Dspl_imx_container.c34 ulong offset, size; in read_auth_image() local
52 offset = images[image_index].offset + container_offset; in read_auth_image()
55 container, offset, size); in read_auth_image()
88 struct spl_load_info *info, ulong offset) in read_auth_container() argument
105 container, offset, size); in read_auth_container()
106 if (info->read(info, offset, size, container) < in read_auth_container()
136 __func__, container, offset, size); in read_auth_container()
137 if (info->read(info, offset, size, container) < length) { in read_auth_container()
152 offset); in read_auth_container()
177 struct spl_load_info *info, ulong offset) in spl_load_imx_container() argument
[all …]
A Dspl_fit.c180 return ALIGN_DOWN(offset, spl_get_bl_len(info)); in get_aligned_image_offset()
185 return offset & (spl_get_bl_len(info) - 1); in get_aligned_image_overhead()
189 int offset) in get_aligned_image_size() argument
216 int offset; in load_simple_fit() local
274 offset, (ulong)offset + ctx->ext_data_offset); in load_simple_fit()
275 offset += ctx->ext_data_offset; in load_simple_fit()
304 offset); in load_simple_fit()
306 offset, read_offset, size, src_ptr); in load_simple_fit()
720 count = info->read(info, offset, size, buf); in spl_simple_fit_read()
753 offset, size, buf, count); in spl_simple_fit_read()
[all …]
A Dspl_ymodem.c37 static ulong ymodem_read_fit(struct spl_load_info *load, ulong offset, in ymodem_read_fit() argument
45 while (info->image_read < offset) { in ymodem_read_fit()
53 if (info->image_read > offset) { in ymodem_read_fit()
54 res = info->image_read - offset; in ymodem_read_fit()
69 while (info->image_read < offset + size) { in ymodem_read_fit()
A Dspl_nand.c70 struct spl_boot_device *bootdev, int offset) in spl_nand_load_element() argument
74 spl_load_init(&load, spl_nand_read, &offset, 1); in spl_nand_load_element()
75 return spl_load(spl_image, bootdev, &load, 0, offset); in spl_nand_load_element()
A Dspl_sata.c39 image_offset_sectors = spl_image->offset / stor_dev->blksz; in spl_sata_load_image_raw()
40 image_offset = spl_image->offset % stor_dev->blksz; in spl_sata_load_image_raw()
A Dspl_legacy.c85 struct spl_load_info *load, ulong offset) in spl_load_legacy_lzma() argument
97 dataptr += offset; in spl_load_legacy_lzma()
A Dspl.c251 __weak struct legacy_img_hdr *spl_get_load_buffer(ssize_t offset, size_t size) in spl_get_load_buffer() argument
253 return map_sysmem(CONFIG_TEXT_BASE + offset, 0); in spl_get_load_buffer()
389 size_t size, size_t offset) in spl_load() argument
391 return _spl_load(spl_image, bootdev, info, size, offset); in spl_load()
A Dspl_upl.c51 img.offset = node; in _upl_add_image()
A DKconfig.nxp116 Image offset to which the TPL should be padded before appending the
A DKconfig107 Image offset to which the SPL should be padded before appending the
602 hex "U-Boot main hardware partition image offset"
609 partition. This adds offset to the main U-Boot image. Set this symbol
1082 The offset in number of PEBs from the start of flash to the first
1091 The offset in bytes to the LEB within a PEB.
/common/
A Diotrace.c33 ulong offset; member
59 if (iotrace.offset + sizeof(*rec) < iotrace.size) { in add_record()
61 iotrace.start + iotrace.offset, in add_record()
79 iotrace.offset += sizeof(struct iotrace_record); in add_record()
172 iotrace.offset = 0; in iotrace_set_buffer()
176 void iotrace_get_buffer(ulong *start, ulong *size, ulong *needed_size, ulong *offset, ulong *count) in iotrace_get_buffer() argument
181 *offset = iotrace.offset; in iotrace_get_buffer()
182 *count = iotrace.offset / sizeof(struct iotrace_record); in iotrace_get_buffer()
A Dsplash_source.c29 static int splash_sf_read_raw(u32 bmp_load_addr, int offset, size_t read_size) in splash_sf_read_raw() argument
40 return spi_flash_read(sf, offset, read_size, (void *)(uintptr_t)bmp_load_addr); in splash_sf_read_raw()
43 static int splash_sf_read_raw(u32 bmp_load_addr, int offset, size_t read_size) in splash_sf_read_raw() argument
51 static int splash_nand_read_raw(u32 bmp_load_addr, int offset, size_t read_size) in splash_nand_read_raw() argument
54 return nand_read_skip_bad(mtd, offset, in splash_nand_read_raw()
60 static int splash_nand_read_raw(u32 bmp_load_addr, int offset, size_t read_size) in splash_nand_read_raw() argument
94 u32 offset; in splash_storage_read_raw() local
99 offset = location->offset; in splash_storage_read_raw()
104 return splash_nand_read_raw(bmp_load_addr, offset, read_size); in splash_storage_read_raw()
106 return splash_sf_read_raw(bmp_load_addr, offset, read_size); in splash_storage_read_raw()
[all …]
A Dbloblist.c102 ulong offset; in bloblist_blob_end_ofs() local
104 offset = (void *)rec - (void *)hdr; in bloblist_blob_end_ofs()
109 offset += rec_hdr_size(rec) + rec->size; in bloblist_blob_end_ofs()
110 offset = round_up(offset + rec_hdr_size(rec), 1 << hdr->align_log2); in bloblist_blob_end_ofs()
111 offset -= rec_hdr_size(rec); in bloblist_blob_end_ofs()
113 return offset; in bloblist_blob_end_ofs()
119 ulong offset = bloblist_blob_end_ofs(hdr, rec); in bloblist_next_blob() local
121 if (offset >= hdr->used_size) in bloblist_next_blob()
123 return (struct bloblist_rec *)((void *)hdr + offset); in bloblist_next_blob()
A Dedid.c490 int offset = info->dtd_offset; in edid_get_timing_validate() local
493 if (offset >= 4 && offset + size < EDID_SIZE) in edid_get_timing_validate()
495 (u8 *)info + offset, count, timing, in edid_get_timing_validate()
A Ddlmalloc.c1031 INTERNAL_SIZE_T offset = p->prev_size; local
1038 assert(((size + offset) & (malloc_getpagesize-1)) == 0);
1041 new_size = (new_size + offset + SIZE_SZ + page_mask) & ~page_mask;
1043 cp = (char *)mremap((char *)p - offset, size + offset, new_size, 1);
1047 p = (mchunkptr)(cp + offset);
1051 assert((p->prev_size == offset));
1052 set_head(p, (new_size - offset)|IS_MMAPPED);
1054 mmapped_mem -= size + offset;
A Dsplash.c35 .offset = 0x0,
A Dmcheck_core.inc.h290 void mcheck_on_ramrelocation(size_t offset) in mcheck_on_ramrelocation() argument
A Davb_verify.c444 s64 offset, in mmc_byte_io() argument
466 start_offset = calc_offset(part, offset); in mmc_byte_io()
A Ddlmalloc.src1326 /* Treat space at ptr + offset as a chunk */
1836 /* The offset to the start of the mmapped region is stored
1883 INTERNAL_SIZE_T offset = p->prev_size;
1890 assert(((size + offset) & (malloc_getpagesize-1)) == 0);
1893 new_size = (new_size + offset + SIZE_SZ + page_mask) & ~page_mask;
1895 cp = (char *)mremap((char *)p - offset, size + offset, new_size, 1);
1899 p = (mchunkptr)(cp + offset);
1903 assert((p->prev_size == offset));
1904 set_head(p, (new_size - offset)|IS_MMAPPED);
1906 mmapped_mem -= size + offset;
A Dboard_f.c726 void mcheck_on_ramrelocation(size_t offset);
A DKconfig1021 If non-zero, a backup bootloader message starting at this offset in
1023 at offset 0) fails its checksum. The offset is in bytes and must be

Completed in 72 milliseconds