Lines Matching defs:ctx
89 static uint64_t spm_sp_synchronous_entry(sp_context_t *ctx)
93 assert(ctx != NULL);
96 cm_set_context(&(ctx->cpu_ctx), SECURE);
107 rc = spm_secure_partition_enter(&ctx->c_rt_ctx);
121 sp_context_t *ctx = &sp_ctx;
128 spm_secure_partition_exit(ctx->c_rt_ctx, rc);
139 sp_context_t *ctx;
143 ctx = &sp_ctx;
145 ctx->state = SP_STATE_RESET;
147 rc = spm_sp_synchronous_entry(ctx);
150 ctx->state = SP_STATE_IDLE;
162 sp_context_t *ctx;
170 ctx = &sp_ctx;
173 ctx->xlat_ctx_handle = spm_get_sp_xlat_context();
175 spm_sp_setup(ctx);