Lines Matching defs:offset
36 const uint32_t offset;
48 uintptr_t offset;
157 static int32_t file_to_offset(const int32_t name, uintptr_t *offset,
174 *offset = rcar_image_header[addr];
177 *offset += 0x800000;
194 *offset = 0U;
308 uintptr_t offset;
327 rc = file_to_offset(img[i], &offset, &cert, &noload,
330 WARN("%s: failed to get offset\n", __func__);
345 rc = io_seek(handle, IO_SEEK_SET, offset);
385 ssize_t offset;
419 offset = name == EMMC_DEV_ID ? RCAR_EMMC_CERT_HEADER :
421 rc = io_seek(handle, IO_SEEK_SET, offset);
449 rc = io_seek(handle, IO_SEEK_SET, offset + RCAR_SECTOR6_CERT_OFFSET);
484 uintptr_t partition, offset, dst;
490 * cursor position). Since the header lives at offset zero, this entry
495 if (current_file.offset != 0U) {
500 rc = file_to_offset(spec->offset, &offset, &cert, &noload, &partition);
502 WARN("Failed to open file name %ld (%i)\n", spec->offset, rc);
507 current_file.offset = 1;
521 if (spec->offset == BL31_IMAGE_ID && len < RCAR_TRUSTED_SRAM_SIZE) {
529 current_file.offset = offset;
551 ssize_t offset = fp->offset + fp->position;
573 rc = io_seek(handle, IO_SEEK_SET, offset);
609 if (current_file.offset != 0U) {