Searched refs:cpu_ctx (Results 1 – 13 of 13) sorted by relevance
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/ |
D | tspd_main.c | 113 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); in tspd_sel1_interrupt_handler() 126 tsp_ctx->saved_spsr_el3 = SMC_GET_EL3(&tsp_ctx->cpu_ctx, in tspd_sel1_interrupt_handler() 128 tsp_ctx->saved_elr_el3 = SMC_GET_EL3(&tsp_ctx->cpu_ctx, in tspd_sel1_interrupt_handler() 132 memcpy(&tsp_ctx->sp_ctx, &tsp_ctx->cpu_ctx, TSPD_SP_CTX_SIZE); in tspd_sel1_interrupt_handler() 149 SMC_RET2(&tsp_ctx->cpu_ctx, TSP_HANDLE_SEL1_INTR_AND_RETURN, read_elr_el3()); in tspd_sel1_interrupt_handler() 325 SMC_SET_EL3(&tsp_ctx->cpu_ctx, in tspd_smc_handler() 328 SMC_SET_EL3(&tsp_ctx->cpu_ctx, in tspd_smc_handler() 336 memcpy(&tsp_ctx->cpu_ctx, &tsp_ctx->sp_ctx, in tspd_smc_handler() 417 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_smc_handler() 522 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); in tspd_smc_handler() [all …]
|
D | tspd_common.c | 46 cm_set_context(&tsp_ctx->cpu_ctx, SECURE); in tspd_init_tsp_ep_state() 77 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_synchronous_sp_entry() 102 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_synchronous_sp_exit()
|
D | tspd_private.h | 185 cpu_context_t cpu_ctx; member
|
D | tspd_pm.c | 158 write_ctx_reg(get_gpregs_ctx(&tsp_ctx->cpu_ctx), in tspd_cpu_suspend_finish_handler()
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/ |
D | opteed_main.c | 72 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); in opteed_sel1_interrupt_handler() 85 SMC_RET1(&optee_ctx->cpu_ctx, read_elr_el3()); in opteed_sel1_interrupt_handler() 231 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); in opteed_smc_handler() 248 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler() 252 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler() 256 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler() 261 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_smc_handler() 266 SMC_RET4(&optee_ctx->cpu_ctx, smc_fid, x1, x2, x3); in opteed_smc_handler()
|
D | opteed_common.c | 37 cm_set_context(&optee_ctx->cpu_ctx, SECURE); in opteed_init_optee_ep_state() 76 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx); in opteed_synchronous_sp_entry() 101 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx); in opteed_synchronous_sp_exit()
|
D | opteed_private.h | 129 cpu_context_t cpu_ctx; member
|
D | opteed_pm.c | 136 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), in opteed_cpu_suspend_finish_handler()
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tlkd/ |
D | tlkd_pm.c | 52 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in cpu_suspend_handler() 85 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in cpu_resume_handler() 112 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in system_off_handler()
|
D | tlkd_common.c | 92 cm_set_context(&tlk_ctx->cpu_ctx, SECURE); in tlkd_init_tlk_ep_state() 129 assert(cm_get_context(SECURE) == &tlk_ctx->cpu_ctx); in tlkd_synchronous_sp_entry() 155 assert(cm_get_context(SECURE) == &tlk_ctx->cpu_ctx); in tlkd_synchronous_sp_exit()
|
D | tlkd_main.c | 237 assert(&tlk_ctx.cpu_ctx == cm_get_context(SECURE)); in tlkd_smc_handler() 259 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in tlkd_smc_handler() 264 SMC_RET4(&tlk_ctx.cpu_ctx, smc_fid, 0, (uint32_t)x1, in tlkd_smc_handler()
|
D | tlkd_private.h | 103 cpu_context_t cpu_ctx; member
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/trusty/ |
D | trusty.c | 33 cpu_context_t cpu_ctx; member 292 int reg_width = GET_RW(read_ctx_reg(get_el3state_ctx(&ctx->cpu_ctx), in trusty_init() 304 cm_set_context(&ctx->cpu_ctx, SECURE); in trusty_init()
|