Home
last modified time | relevance | path

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

/trusted-firmware-a/services/spd/tlkd/
A Dtlkd_common.c83 tlk_context_t *tlk_ctx) in tlkd_init_tlk_ep_state() argument
88 assert(tlk_ctx); in tlkd_init_tlk_ep_state()
93 tlk_ctx->mpidr = read_mpidr_el1(); in tlkd_init_tlk_ep_state()
94 clr_yield_smc_active_flag(tlk_ctx->state); in tlkd_init_tlk_ep_state()
95 cm_set_context(&tlk_ctx->cpu_ctx, SECURE); in tlkd_init_tlk_ep_state()
128 assert(tlk_ctx); in tlkd_synchronous_sp_entry()
135 rc = tlkd_enter_sp(&tlk_ctx->c_rt_ctx); in tlkd_synchronous_sp_entry()
137 tlk_ctx->c_rt_ctx = 0; in tlkd_synchronous_sp_entry()
154 assert(tlk_ctx); in tlkd_synchronous_sp_exit()
160 assert(tlk_ctx->c_rt_ctx != 0); in tlkd_synchronous_sp_exit()
[all …]
A Dtlkd_pm.c19 extern tlk_context_t tlk_ctx;
54 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in cpu_suspend_handler()
58 rc = tlkd_synchronous_sp_entry(&tlk_ctx); in cpu_suspend_handler()
87 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in cpu_resume_handler()
91 rc = tlkd_synchronous_sp_entry(&tlk_ctx); in cpu_resume_handler()
A Dtlkd_main.c39 tlk_context_t tlk_ctx; variable
135 &tlk_ctx); in tlkd_setup()
187 return tlkd_synchronous_sp_entry(&tlk_ctx); in tlkd_init()
296 if (!get_yield_smc_active_flag(tlk_ctx.state)) in tlkd_smc_handler()
299 if (get_yield_smc_active_flag(tlk_ctx.state)) in tlkd_smc_handler()
308 assert(&tlk_ctx.cpu_ctx == cm_get_context(SECURE)); in tlkd_smc_handler()
313 set_yield_smc_active_flag(tlk_ctx.state); in tlkd_smc_handler()
330 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in tlkd_smc_handler()
381 clr_yield_smc_active_flag(tlk_ctx.state); in tlkd_smc_handler()
421 tlkd_synchronous_sp_exit(&tlk_ctx, x1); in tlkd_smc_handler()
[all …]
A Dtlkd_private.h114 uint64_t tlkd_synchronous_sp_entry(tlk_context_t *tlk_ctx);
115 void __dead2 tlkd_synchronous_sp_exit(tlk_context_t *tlk_ctx,
120 tlk_context_t *tlk_ctx);

Completed in 5 milliseconds