/trusted-firmware-a-3.6.0-3.5.0/plat/st/common/ |
D | bl2_io_storage.c | 162 int io_result; in get_boot_part_fip_header() local 166 io_result = io_open(storage_dev_handle, (uintptr_t)&emmc_boot_fip_block_spec, in get_boot_part_fip_header() 168 assert(io_result == 0); in get_boot_part_fip_header() 170 io_result = io_read(fip_hdr_handle, (uintptr_t)&magic, sizeof(magic), in get_boot_part_fip_header() 172 if ((io_result != 0) || (bytes_read != sizeof(magic))) { in get_boot_part_fip_header() 225 int io_result __unused; in boot_mmc() 263 io_result = register_io_dev_block(&mmc_dev_con); in boot_mmc() 264 if (io_result != 0) { in boot_mmc() 268 io_result = io_dev_open(mmc_dev_con, (uintptr_t)&mmc_block_dev_spec, in boot_mmc() 270 assert(io_result == 0); in boot_mmc() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/common/ |
D | bl_common.c | 78 int io_result; in load_image() local 86 io_result = plat_get_image_source(image_id, &dev_handle, &image_spec); in load_image() 87 if (io_result != 0) { in load_image() 89 image_id, io_result); in load_image() 90 return io_result; in load_image() 94 io_result = io_open(dev_handle, image_spec, &image_handle); in load_image() 95 if (io_result != 0) { in load_image() 97 image_id, io_result); in load_image() 98 return io_result; in load_image() 104 io_result = io_size(image_handle, &image_size); in load_image() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/fvp_r/ |
D | fvp_r_io_storage.c | 71 int io_result; in plat_arm_io_setup() local 73 io_result = arm_io_setup(); in plat_arm_io_setup() 74 if (io_result < 0) { in plat_arm_io_setup() 79 io_result = register_io_dev_sh(&sh_dev_con); in plat_arm_io_setup() 80 if (io_result < 0) { in plat_arm_io_setup() 85 io_result = io_dev_open(sh_dev_con, (uintptr_t)NULL, &sh_dev_handle); in plat_arm_io_setup() 86 if (io_result < 0) { in plat_arm_io_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/common/ |
D | arm_io_storage.c | 74 int io_result; in arm_io_setup() local 76 io_result = register_io_dev_fip(&fip_dev_con); in arm_io_setup() 77 if (io_result < 0) { in arm_io_setup() 78 return io_result; in arm_io_setup() 81 io_result = register_io_dev_memmap(&memmap_dev_con); in arm_io_setup() 82 if (io_result < 0) { in arm_io_setup() 83 return io_result; in arm_io_setup() 87 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in arm_io_setup() 89 if (io_result < 0) { in arm_io_setup() 90 return io_result; in arm_io_setup() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/plat/nxp/common/setup/ |
D | ls_io_storage.c | 275 int io_result; in plat_io_block_setup() local 279 io_result = register_io_dev_block(&backend_dev_con); in plat_io_block_setup() 280 assert(io_result == 0); in plat_io_block_setup() 283 io_result = io_dev_open(backend_dev_con, block_dev_spec, in plat_io_block_setup() 285 assert(io_result == 0); in plat_io_block_setup() 287 return io_result; in plat_io_block_setup() 294 int io_result; in plat_io_memmap_setup() local 298 io_result = register_io_dev_memmap(&backend_dev_con); in plat_io_memmap_setup() 299 assert(io_result == 0); in plat_io_memmap_setup() 302 io_result = io_dev_open(backend_dev_con, (uintptr_t)NULL, in plat_io_memmap_setup() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/plat/marvell/armada/common/ |
D | marvell_io_storage.c | 155 int io_result; in marvell_io_setup() local 157 io_result = register_io_dev_fip(&fip_dev_con); in marvell_io_setup() 158 assert(io_result == 0); in marvell_io_setup() 160 io_result = register_io_dev_memmap(&memmap_dev_con); in marvell_io_setup() 161 assert(io_result == 0); in marvell_io_setup() 164 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in marvell_io_setup() 166 assert(io_result == 0); in marvell_io_setup() 168 io_result = io_dev_open(memmap_dev_con, (uintptr_t)NULL, in marvell_io_setup() 170 assert(io_result == 0); in marvell_io_setup() 173 (void)io_result; in marvell_io_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/rpi/common/ |
D | rpi3_io_storage.c | 230 int io_result; in plat_rpi3_io_setup() local 232 io_result = register_io_dev_fip(&fip_dev_con); in plat_rpi3_io_setup() 233 assert(io_result == 0); in plat_rpi3_io_setup() 235 io_result = register_io_dev_memmap(&memmap_dev_con); in plat_rpi3_io_setup() 236 assert(io_result == 0); in plat_rpi3_io_setup() 239 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in plat_rpi3_io_setup() 241 assert(io_result == 0); in plat_rpi3_io_setup() 243 io_result = io_dev_open(memmap_dev_con, (uintptr_t)NULL, in plat_rpi3_io_setup() 245 assert(io_result == 0); in plat_rpi3_io_setup() 248 (void)io_result; in plat_rpi3_io_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/fvp/ |
D | fvp_io_storage.c | 141 int io_result; in plat_arm_io_setup() local 143 io_result = arm_io_setup(); in plat_arm_io_setup() 144 if (io_result < 0) { in plat_arm_io_setup() 149 io_result = register_io_dev_sh(&sh_dev_con); in plat_arm_io_setup() 150 if (io_result < 0) { in plat_arm_io_setup() 155 io_result = io_dev_open(sh_dev_con, (uintptr_t)NULL, &sh_dev_handle); in plat_arm_io_setup() 156 if (io_result < 0) { in plat_arm_io_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/qemu/common/ |
D | qemu_io_storage.c | 481 int io_result; in plat_qemu_io_setup() local 483 io_result = register_io_dev_fip(&fip_dev_con); in plat_qemu_io_setup() 484 assert(io_result == 0); in plat_qemu_io_setup() 486 io_result = register_io_dev_memmap(&memmap_dev_con); in plat_qemu_io_setup() 487 assert(io_result == 0); in plat_qemu_io_setup() 490 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in plat_qemu_io_setup() 492 assert(io_result == 0); in plat_qemu_io_setup() 494 io_result = io_dev_open(memmap_dev_con, (uintptr_t)NULL, in plat_qemu_io_setup() 496 assert(io_result == 0); in plat_qemu_io_setup() 499 io_result = register_io_dev_enc(&enc_dev_con); in plat_qemu_io_setup() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/plat/brcm/common/ |
D | brcm_io_storage.c | 330 int io_result; in brcm_io_setup() local 333 io_result = register_io_dev_fip(&fip_dev_con); in brcm_io_setup() 334 assert(io_result == 0); in brcm_io_setup() 336 io_result = register_io_dev_memmap(&memmap_dev_con); in brcm_io_setup() 337 assert(io_result == 0); in brcm_io_setup() 340 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in brcm_io_setup() 342 assert(io_result == 0); in brcm_io_setup() 349 io_result = io_dev_open(memmap_dev_con, (uintptr_t)NULL, in brcm_io_setup() 353 assert(io_result == 0); in brcm_io_setup() 356 (void)io_result; in brcm_io_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/nxp/common/fip_handler/fuse_fip/ |
D | fuse_io_storage.c | 127 int io_result; in fuse_fip_setup() local 131 io_result = io_dev_open(fip_dev_con, (uintptr_t)&fuse_fip, in fuse_fip_setup() 134 assert(io_result == 0); in fuse_fip_setup() 158 return io_result; in fuse_fip_setup()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/nxp/common/fip_handler/ddr_fip/ |
D | ddr_io_storage.c | 201 int io_result; in ddr_fip_setup() local 205 io_result = io_dev_open(fip_dev_con, (uintptr_t)&ddr_fip, in ddr_fip_setup() 207 assert(io_result == 0); in ddr_fip_setup() 231 return io_result; in ddr_fip_setup()
|