Home
last modified time | relevance | path

Searched refs:io_result (Results 1 – 11 of 11) sorted by relevance

/external/arm-trusted-firmware/common/
Dbl_common.c78 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 …]
/external/arm-trusted-firmware/plat/arm/common/
Darm_io_storage.c65 int io_result; in arm_io_setup() local
67 io_result = register_io_dev_fip(&fip_dev_con); in arm_io_setup()
68 if (io_result < 0) { in arm_io_setup()
69 return io_result; in arm_io_setup()
72 io_result = register_io_dev_memmap(&memmap_dev_con); in arm_io_setup()
73 if (io_result < 0) { in arm_io_setup()
74 return io_result; in arm_io_setup()
78 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in arm_io_setup()
80 if (io_result < 0) { in arm_io_setup()
81 return io_result; in arm_io_setup()
[all …]
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_io_storage.c375 int io_result; in plat_qemu_io_setup() local
377 io_result = register_io_dev_fip(&fip_dev_con); in plat_qemu_io_setup()
378 assert(io_result == 0); in plat_qemu_io_setup()
380 io_result = register_io_dev_memmap(&memmap_dev_con); in plat_qemu_io_setup()
381 assert(io_result == 0); in plat_qemu_io_setup()
384 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in plat_qemu_io_setup()
386 assert(io_result == 0); in plat_qemu_io_setup()
388 io_result = io_dev_open(memmap_dev_con, (uintptr_t)NULL, in plat_qemu_io_setup()
390 assert(io_result == 0); in plat_qemu_io_setup()
393 io_result = register_io_dev_enc(&enc_dev_con); in plat_qemu_io_setup()
[all …]
/external/arm-trusted-firmware/plat/layerscape/common/
Dls_io_storage.c119 int io_result; in ls_io_setup() local
121 io_result = register_io_dev_fip(&fip_dev_con); in ls_io_setup()
122 assert(io_result == 0); in ls_io_setup()
124 io_result = register_io_dev_memmap(&memmap_dev_con); in ls_io_setup()
125 assert(io_result == 0); in ls_io_setup()
128 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in ls_io_setup()
130 assert(io_result == 0); in ls_io_setup()
132 io_result = io_dev_open(memmap_dev_con, (uintptr_t)NULL, in ls_io_setup()
134 assert(io_result == 0); in ls_io_setup()
137 (void)io_result; in ls_io_setup()
/external/arm-trusted-firmware/plat/marvell/armada/common/
Dmarvell_io_storage.c155 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()
/external/arm-trusted-firmware/plat/rpi/common/
Drpi3_io_storage.c230 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()
/external/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_io_storage.c121 int io_result; in plat_arm_io_setup() local
123 io_result = arm_io_setup(); in plat_arm_io_setup()
124 if (io_result < 0) { in plat_arm_io_setup()
129 io_result = register_io_dev_sh(&sh_dev_con); in plat_arm_io_setup()
130 if (io_result < 0) { in plat_arm_io_setup()
135 io_result = io_dev_open(sh_dev_con, (uintptr_t)NULL, &sh_dev_handle); in plat_arm_io_setup()
136 if (io_result < 0) { in plat_arm_io_setup()
/external/arm-trusted-firmware/plat/brcm/common/
Dbrcm_io_storage.c330 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()
/external/avb/examples/things/
Davb_atx_slot_verify.c90 AvbIOResult io_result = AVB_IO_RESULT_OK; in update_rollback_index() local
92 io_result = ops->read_rollback_index(ops, location, &current_value); in update_rollback_index()
93 if (io_result == AVB_IO_RESULT_ERROR_OOM) { in update_rollback_index()
95 } else if (io_result != AVB_IO_RESULT_OK) { in update_rollback_index()
115 io_result = ops->write_rollback_index(ops, location, value); in update_rollback_index()
116 if (io_result == AVB_IO_RESULT_ERROR_OOM) { in update_rollback_index()
118 } else if (io_result != AVB_IO_RESULT_OK) { in update_rollback_index()
/external/rust/crates/url/src/
Dlib.rs1151 fn io_result<T>(opt: Option<T>, message: &str) -> io::Result<T> { in socket_addrs() function
1155 let host = io_result(self.host(), "No host name in the URL")?; in socket_addrs()
1156 let port = io_result( in socket_addrs()
/external/python/cpython3/Modules/
Dposixmodule.c8449 DWORD io_result = 0; in os_readlink_impl()
8467 io_result = DeviceIoControl( in os_readlink_impl()
8479 if (io_result == 0) { in os_readlink_impl()