Lines Matching defs:void
47 void *saved_sp;
73 struct smc_args trusty_init_context_stack(void **sp, void *new_stack);
74 struct smc_args trusty_context_switch_helper(void **sp, void *smc_params);
78 static struct trusty_cpu_ctx *get_trusty_ctx(void)
83 static bool is_hypervisor_mode(void)
141 void *handle,
142 void *cookie)
160 (void)memcpy(&ctx->fiq_gpregs, get_gpregs_ctx(handle), sizeof(ctx->fiq_gpregs));
171 static uint64_t trusty_set_fiq_handler(void *handle, uint64_t cpu,
189 static uint64_t trusty_get_fiq_regs(void *handle)
197 static uint64_t trusty_fiq_exit(void *handle, uint64_t x1, uint64_t x2, uint64_t x3)
222 (void)memcpy(get_gpregs_ctx(handle), &ctx->fiq_gpregs, sizeof(ctx->fiq_gpregs));
235 void *cookie,
236 void *handle,
307 static int32_t trusty_init(void)
344 (void)trusty_init_context_stack(&ctx->saved_sp, &ctx->secure_stack.end);
346 (void)trusty_context_switch_helper(&ctx->saved_sp, &zero_args);
355 static void trusty_cpu_suspend(uint32_t off)
366 static void trusty_cpu_resume(uint32_t on)
384 static void trusty_cpu_on_finish_handler(u_register_t max_off_lvl)
389 (void)trusty_init();
395 static void trusty_cpu_suspend_handler(u_register_t max_off_lvl)
400 static void trusty_cpu_suspend_finish_handler(u_register_t max_off_lvl)
412 void plat_trusty_set_boot_args(aapcs64_params_t *args);
420 void plat_trusty_set_boot_args(aapcs64_params_t *args)
426 static int32_t trusty_setup(void)
462 (void)mmap_remove_dynamic_region(ep_info->pc, PAGE_SIZE);
474 (void)memset(&ep_info->args, 0, sizeof(ep_info->args));