Home
last modified time | relevance | path

Searched refs:image_handle (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/drivers/partition/
Dpartition.c44 static int load_mbr_header(uintptr_t image_handle, mbr_entry_t *mbr_entry) in load_mbr_header() argument
52 result = io_seek(image_handle, IO_SEEK_SET, MBR_OFFSET); in load_mbr_header()
57 result = io_read(image_handle, (uintptr_t)&mbr_sector, in load_mbr_header()
78 static int load_gpt_header(uintptr_t image_handle) in load_gpt_header() argument
84 result = io_seek(image_handle, IO_SEEK_SET, GPT_HEADER_OFFSET); in load_gpt_header()
88 result = io_read(image_handle, (uintptr_t)&header, in load_gpt_header()
106 static int load_gpt_entry(uintptr_t image_handle, gpt_entry_t *entry) in load_gpt_entry() argument
112 result = io_read(image_handle, (uintptr_t)entry, sizeof(gpt_entry_t), in load_gpt_entry()
119 static int verify_partition_gpt(uintptr_t image_handle) in verify_partition_gpt() argument
125 result = load_gpt_entry(image_handle, &entry); in verify_partition_gpt()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/common/
Dbl_common.c161 uintptr_t image_handle; in image_size() local
175 io_result = io_open(dev_handle, image_spec, &image_handle); in image_size()
183 io_result = io_size(image_handle, &image_size); in image_size()
188 io_result = io_close(image_handle); in image_size()
213 uintptr_t image_handle; in load_image() local
234 io_result = io_open(dev_handle, image_spec, &image_handle); in load_image()
245 io_result = io_size(image_handle, &image_size); in load_image()
263 io_result = io_read(image_handle, image_base, image_size, &bytes_read); in load_image()
284 io_close(image_handle); in load_image()
392 uintptr_t image_handle; in load_image() local
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_io_storage.c326 uintptr_t dev_handle, image_spec, image_handle; in uniphier_check_image() local
333 ret = io_open(dev_handle, image_spec, &image_handle); in uniphier_check_image()
337 io_close(image_handle); in uniphier_check_image()