Home
last modified time | relevance | path

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

/tf-a-ffa_el3_spmc/services/spd/tspd/
A Dtspd_common.c27 tsp_context_t *tsp_ctx) in tspd_init_tsp_ep_state() argument
32 assert(tsp_ctx); in tspd_init_tsp_ep_state()
43 tsp_ctx->mpidr = read_mpidr_el1(); in tspd_init_tsp_ep_state()
44 tsp_ctx->state = 0; in tspd_init_tsp_ep_state()
75 assert(tsp_ctx != NULL); in tspd_synchronous_sp_entry()
76 assert(tsp_ctx->c_rt_ctx == 0); in tspd_synchronous_sp_entry()
83 rc = tspd_enter_sp(&tsp_ctx->c_rt_ctx); in tspd_synchronous_sp_entry()
85 tsp_ctx->c_rt_ctx = 0; in tspd_synchronous_sp_entry()
102 assert(tsp_ctx != NULL); in tspd_synchronous_sp_exit()
107 assert(tsp_ctx->c_rt_ctx != 0); in tspd_synchronous_sp_exit()
[all …]
A Dtspd_pm.c43 tspd_abort_preempted_smc(tsp_ctx); in tspd_cpu_off_handler()
47 rc = tspd_synchronous_sp_entry(tsp_ctx); in tspd_cpu_off_handler()
82 tspd_abort_preempted_smc(tsp_ctx); in tspd_cpu_suspend_handler()
86 rc = tspd_synchronous_sp_entry(tsp_ctx); in tspd_cpu_suspend_handler()
118 tsp_ctx); in tspd_cpu_on_finish_handler()
132 rc = tspd_synchronous_sp_entry(tsp_ctx); in tspd_cpu_on_finish_handler()
164 rc = tspd_synchronous_sp_entry(tsp_ctx); in tspd_cpu_suspend_finish_handler()
202 tspd_abort_preempted_smc(tsp_ctx); in tspd_system_off()
209 tspd_synchronous_sp_entry(tsp_ctx); in tspd_system_off()
228 tspd_abort_preempted_smc(tsp_ctx); in tspd_system_reset()
[all …]
A Dtspd_main.c114 tsp_context_t *tsp_ctx; in tspd_sel1_interrupt_handler() local
193 tsp_ctx->saved_spsr_el3 = (uint32_t)SMC_GET_EL3(&tsp_ctx->cpu_ctx, in tspd_sel1_interrupt_handler()
195 tsp_ctx->saved_elr_el3 = SMC_GET_EL3(&tsp_ctx->cpu_ctx, in tspd_sel1_interrupt_handler()
198 memcpy(&tsp_ctx->sp_ctx, &tsp_ctx->cpu_ctx, TSPD_SP_CTX_SIZE); in tspd_sel1_interrupt_handler()
391 SMC_SET_EL3(&tsp_ctx->cpu_ctx, in tspd_smc_handler()
393 tsp_ctx->saved_spsr_el3); in tspd_smc_handler()
394 SMC_SET_EL3(&tsp_ctx->cpu_ctx, in tspd_smc_handler()
396 tsp_ctx->saved_elr_el3); in tspd_smc_handler()
402 memcpy(&tsp_ctx->cpu_ctx, &tsp_ctx->sp_ctx, in tspd_smc_handler()
757 SMC_RET0(&tsp_ctx->cpu_ctx); in tspd_smc_handler()
[all …]
A Dtspd_private.h219 uint64_t tspd_synchronous_sp_entry(tsp_context_t *tsp_ctx);
220 void __dead2 tspd_synchronous_sp_exit(tsp_context_t *tsp_ctx, uint64_t ret);
224 tsp_context_t *tsp_ctx);
225 int tspd_abort_preempted_smc(tsp_context_t *tsp_ctx);

Completed in 6 milliseconds