Lines Matching defs:io_result
162 int io_result;
166 io_result = io_open(storage_dev_handle, (uintptr_t)&emmc_boot_fip_block_spec,
168 assert(io_result == 0);
170 io_result = io_read(fip_hdr_handle, (uintptr_t)&magic, sizeof(magic),
172 if ((io_result != 0) || (bytes_read != sizeof(magic))) {
225 int io_result __maybe_unused;
263 io_result = register_io_dev_block(&mmc_dev_con);
264 if (io_result != 0) {
268 io_result = io_dev_open(mmc_dev_con, (uintptr_t)&mmc_block_dev_spec,
270 assert(io_result == 0);
274 io_result = mmc_part_switch_current_boot();
275 assert(io_result == 0);
280 io_result = mmc_part_switch_user();
281 assert(io_result == 0);
297 int io_result __maybe_unused;
299 io_result = stm32_qspi_init();
300 assert(io_result == 0);
302 io_result = register_io_dev_mtd(&spi_dev_con);
303 assert(io_result == 0);
306 io_result = io_dev_open(spi_dev_con,
309 assert(io_result == 0);
316 int io_result __maybe_unused;
318 io_result = stm32_fmc2_init();
319 assert(io_result == 0);
322 io_result = register_io_dev_mtd(&nand_dev_con);
323 assert(io_result == 0);
326 io_result = io_dev_open(nand_dev_con, (uintptr_t)&nand_dev_spec,
328 assert(io_result == 0);
335 int io_result __maybe_unused;
337 io_result = stm32_qspi_init();
338 assert(io_result == 0);
340 io_result = register_io_dev_mtd(&spi_dev_con);
341 assert(io_result == 0);
344 io_result = io_dev_open(spi_dev_con,
347 assert(io_result == 0);
354 int io_result __maybe_unused;
356 io_result = register_io_dev_memmap(&memmap_dev_con);
357 assert(io_result == 0);
359 io_result = io_dev_open(memmap_dev_con, (uintptr_t)NULL,
361 assert(io_result == 0);
395 int io_result __maybe_unused;
407 io_result = register_io_dev_fip(&fip_dev_con);
408 assert(io_result == 0);
410 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL,
414 io_result = register_io_dev_enc(&enc_dev_con);
415 assert(io_result == 0);
417 io_result = io_dev_open(enc_dev_con, (uintptr_t)NULL,
419 assert(io_result == 0);