Lines Matching refs:cpu_ctx
180 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); in tspd_sel1_interrupt_handler()
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()
215 SMC_RET2(&tsp_ctx->cpu_ctx, TSP_HANDLE_SEL1_INTR_AND_RETURN, read_elr_el3()); in tspd_sel1_interrupt_handler()
391 SMC_SET_EL3(&tsp_ctx->cpu_ctx, in tspd_smc_handler()
394 SMC_SET_EL3(&tsp_ctx->cpu_ctx, in tspd_smc_handler()
402 memcpy(&tsp_ctx->cpu_ctx, &tsp_ctx->sp_ctx, in tspd_smc_handler()
496 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_smc_handler()
603 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); in tspd_smc_handler()
641 SMC_RET3(&tsp_ctx->cpu_ctx, smc_fid, x1, x2); in tspd_smc_handler()
757 SMC_RET0(&tsp_ctx->cpu_ctx); in tspd_smc_handler()