Lines Matching refs:ret
147 struct smc_args ret; in trusty_fiq_handler() local
152 ret = trusty_context_switch(NON_SECURE, SMC_FC_FIQ_ENTER, 0, 0, 0); in trusty_fiq_handler()
153 if (ret.r0 != 0U) { in trusty_fiq_handler()
202 struct smc_args ret; in trusty_fiq_exit() local
210 ret = trusty_context_switch(NON_SECURE, SMC_FC_FIQ_EXIT, 0, 0, 0); in trusty_fiq_exit()
211 if (ret.r0 != 1U) { in trusty_fiq_exit()
213 __func__, handle, ret.r0); in trusty_fiq_exit()
242 struct smc_args ret; in trusty_smc_handler() local
261 ret = trusty_context_switch(SECURE, x1, 0, 0, 0); in trusty_smc_handler()
262 SMC_RET8(handle, ret.r0, ret.r1, ret.r2, ret.r3, in trusty_smc_handler()
263 ret.r4, ret.r5, ret.r6, ret.r7); in trusty_smc_handler()
302 ret = trusty_context_switch(NON_SECURE, smc_fid, x1, in trusty_smc_handler()
305 SMC_RET1(handle, ret.r0); in trusty_smc_handler()
360 struct smc_args ret; in trusty_cpu_suspend() local
362 ret = trusty_context_switch(NON_SECURE, SMC_FC_CPU_SUSPEND, off, 0, 0); in trusty_cpu_suspend()
363 if (ret.r0 != 0U) { in trusty_cpu_suspend()
365 __func__, plat_my_core_pos(), ret.r0); in trusty_cpu_suspend()
371 struct smc_args ret; in trusty_cpu_resume() local
373 ret = trusty_context_switch(NON_SECURE, SMC_FC_CPU_RESUME, on, 0, 0); in trusty_cpu_resume()
374 if (ret.r0 != 0U) { in trusty_cpu_resume()
376 __func__, plat_my_core_pos(), ret.r0); in trusty_cpu_resume()
443 int32_t ret; in trusty_setup() local
454 ret = mmap_add_dynamic_region(ep_info->pc, /* PA */ in trusty_setup()
458 assert(ret == 0); in trusty_setup()
498 ret = register_interrupt_type_handler(INTR_TYPE_S_EL1, in trusty_setup()
501 if (ret != 0) { in trusty_setup()
502 VERBOSE("trusty: failed to register fiq handler, ret = %d\n", ret); in trusty_setup()