Lines Matching refs:offset
36 const uint32_t offset; member
48 uintptr_t offset; member
157 static int32_t file_to_offset(const int32_t name, uintptr_t *offset, in file_to_offset() argument
174 *offset = rcar_image_header[addr]; in file_to_offset()
177 *offset += 0x800000; in file_to_offset()
194 *offset = 0U; in file_to_offset()
308 uintptr_t offset; in load_bl33x() local
327 rc = file_to_offset(img[i], &offset, &cert, &noload, in load_bl33x()
345 rc = io_seek(handle, IO_SEEK_SET, offset); in load_bl33x()
385 ssize_t offset; in rcar_dev_init() local
419 offset = name == EMMC_DEV_ID ? RCAR_EMMC_CERT_HEADER : in rcar_dev_init()
421 rc = io_seek(handle, IO_SEEK_SET, offset); in rcar_dev_init()
449 rc = io_seek(handle, IO_SEEK_SET, offset + RCAR_SECTOR6_CERT_OFFSET); in rcar_dev_init()
484 uintptr_t partition, offset, dst; in rcar_file_open() local
495 if (current_file.offset != 0U) { in rcar_file_open()
500 rc = file_to_offset(spec->offset, &offset, &cert, &noload, &partition); in rcar_file_open()
502 WARN("Failed to open file name %ld (%i)\n", spec->offset, rc); in rcar_file_open()
507 current_file.offset = 1; in rcar_file_open()
521 if (spec->offset == BL31_IMAGE_ID && len < RCAR_TRUSTED_SRAM_SIZE) { in rcar_file_open()
529 current_file.offset = offset; in rcar_file_open()
551 ssize_t offset = fp->offset + fp->position; in rcar_file_read() local
573 rc = io_seek(handle, IO_SEEK_SET, offset); in rcar_file_read()
609 if (current_file.offset != 0U) { in rcar_file_close()