Home
last modified time | relevance | path

Searched refs:optee_ctx (Results 1 – 4 of 4) sorted by relevance

/arm-trusted-firmware-2.8.0/services/spd/opteed/
A Dopteed_pm.c40 rc = opteed_synchronous_sp_entry(optee_ctx); in opteed_cpu_off_handler()
53 set_optee_pstate(optee_ctx->state, OPTEE_PSTATE_OFF); in opteed_cpu_off_handler()
76 rc = opteed_synchronous_sp_entry(optee_ctx); in opteed_cpu_suspend_handler()
107 0, 0, 0, optee_ctx); in opteed_cpu_on_finish_handler()
113 rc = opteed_synchronous_sp_entry(optee_ctx); in opteed_cpu_on_finish_handler()
123 set_optee_pstate(optee_ctx->state, OPTEE_PSTATE_ON); in opteed_cpu_on_finish_handler()
141 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_cpu_suspend_finish_handler()
145 rc = opteed_synchronous_sp_entry(optee_ctx); in opteed_cpu_suspend_finish_handler()
155 set_optee_pstate(optee_ctx->state, OPTEE_PSTATE_ON); in opteed_cpu_suspend_finish_handler()
184 opteed_synchronous_sp_entry(optee_ctx); in opteed_system_off()
[all …]
A Dopteed_common.c30 assert(optee_ctx); in opteed_init_optee_ep_state()
35 optee_ctx->mpidr = read_mpidr_el1(); in opteed_init_optee_ep_state()
36 optee_ctx->state = 0; in opteed_init_optee_ep_state()
39 cm_set_context(&optee_ctx->cpu_ctx, SECURE); in opteed_init_optee_ep_state()
74 assert(optee_ctx != NULL); in opteed_synchronous_sp_entry()
75 assert(optee_ctx->c_rt_ctx == 0); in opteed_synchronous_sp_entry()
82 rc = opteed_enter_sp(&optee_ctx->c_rt_ctx); in opteed_synchronous_sp_entry()
84 optee_ctx->c_rt_ctx = 0; in opteed_synchronous_sp_entry()
101 assert(optee_ctx != NULL); in opteed_synchronous_sp_exit()
106 assert(optee_ctx->c_rt_ctx != 0); in opteed_synchronous_sp_exit()
[all …]
A Dopteed_main.c59 optee_context_t *optee_ctx; in opteed_sel1_interrupt_handler() local
72 optee_ctx = &opteed_sp_context[linear_id]; in opteed_sel1_interrupt_handler()
73 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); in opteed_sel1_interrupt_handler()
86 SMC_RET1(&optee_ctx->cpu_ctx, read_elr_el3()); in opteed_sel1_interrupt_handler()
176 rc = opteed_synchronous_sp_entry(optee_ctx); in opteed_init()
249 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler()
253 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler()
257 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler()
262 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler()
314 opteed_synchronous_sp_exit(optee_ctx, x1); in opteed_smc_handler()
[all …]
A Dopteed_private.h147 uint64_t opteed_synchronous_sp_entry(optee_context_t *optee_ctx);
148 void __dead2 opteed_synchronous_sp_exit(optee_context_t *optee_ctx, uint64_t ret);
155 optee_context_t *optee_ctx);

Completed in 6 milliseconds