Lines Matching refs:NON_SECURE
102 ctx_smc = cm_get_context(NON_SECURE); in trusty_context_switch()
149 ret = trusty_context_switch(NON_SECURE, SMC_FC_FIQ_ENTER, 0, 0, 0); in trusty_fiq_handler()
166 cm_set_elr_spsr_el3(NON_SECURE, ctx->fiq_handler_pc, (uint32_t)ctx->fiq_handler_cpsr); in trusty_fiq_handler()
207 ret = trusty_context_switch(NON_SECURE, SMC_FC_FIQ_EXIT, 0, 0, 0); in trusty_fiq_exit()
225 cm_set_elr_spsr_el3(NON_SECURE, ctx->fiq_pc, (uint32_t)ctx->fiq_cpsr); in trusty_fiq_exit()
299 ret = trusty_context_switch(NON_SECURE, smc_fid, x1, in trusty_smc_handler()
323 fpregs_context_save(get_fpregs_ctx(cm_get_context(NON_SECURE))); in trusty_init()
324 cm_el1_sysregs_context_save(NON_SECURE); in trusty_init()
348 cm_el1_sysregs_context_restore(NON_SECURE); in trusty_init()
349 fpregs_context_restore(get_fpregs_ctx(cm_get_context(NON_SECURE))); in trusty_init()
350 cm_set_next_eret_context(NON_SECURE); in trusty_init()
359 ret = trusty_context_switch(NON_SECURE, SMC_FC_CPU_SUSPEND, off, 0, 0); in trusty_cpu_suspend()
370 ret = trusty_context_switch(NON_SECURE, SMC_FC_CPU_RESUME, on, 0, 0); in trusty_cpu_resume()
485 set_interrupt_rm_flag(flags, NON_SECURE); in trusty_setup()
497 ns_ep_info = bl31_plat_get_next_image_ep_info(NON_SECURE); in trusty_setup()