Lines Matching refs:result
113 int result; in check_dev() local
116 result = io_dev_init(boot_dev_handle, (uintptr_t)NULL); in check_dev()
117 if (result == 0) { in check_dev()
118 result = io_open(boot_dev_handle, spec, &local_handle); in check_dev()
119 if (result == 0) in check_dev()
122 return result; in check_dev()
127 int result; in check_fip() local
130 result = io_dev_init(fip_dev_handle, (uintptr_t)FIP_IMAGE_ID); in check_fip()
131 if (result == 0) { in check_fip()
132 result = io_open(fip_dev_handle, spec, &local_image_handle); in check_fip()
133 if (result == 0) in check_fip()
136 return result; in check_fip()
141 int result; in socfpga_io_setup() local
174 result = (*register_io_dev)(&boot_dev_con); in socfpga_io_setup()
175 assert(result == 0); in socfpga_io_setup()
177 result = register_io_dev_fip(&fip_dev_con); in socfpga_io_setup()
178 assert(result == 0); in socfpga_io_setup()
181 result = io_dev_open(boot_dev_con, (uintptr_t)&nand_dev_spec, in socfpga_io_setup()
184 result = io_dev_open(boot_dev_con, (uintptr_t)&boot_dev_spec, in socfpga_io_setup()
187 assert(result == 0); in socfpga_io_setup()
189 result = io_dev_open(fip_dev_con, (uintptr_t)NULL, &fip_dev_handle); in socfpga_io_setup()
190 assert(result == 0); in socfpga_io_setup()
197 (void)result; in socfpga_io_setup()
203 int result; in plat_get_image_source() local
209 result = policy->check(policy->image_spec); in plat_get_image_source()
210 assert(result == 0); in plat_get_image_source()
215 return result; in plat_get_image_source()