Lines Matching refs:NON_SECURE
67 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_handle_sp_preemption()
80 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_handle_sp_preemption()
81 cm_set_next_eret_context(NON_SECURE); in tspd_handle_sp_preemption()
152 if (get_interrupt_src_ss(flags) == NON_SECURE) { in tspd_sel1_interrupt_handler()
154 assert(handle == cm_get_context(NON_SECURE)); in tspd_sel1_interrupt_handler()
157 cm_el1_sysregs_context_save(NON_SECURE); in tspd_sel1_interrupt_handler()
171 assert(get_interrupt_src_ss(flags) == NON_SECURE); in tspd_sel1_interrupt_handler()
174 assert(handle == cm_get_context(NON_SECURE)); in tspd_sel1_interrupt_handler()
177 cm_el1_sysregs_context_save(NON_SECURE); in tspd_sel1_interrupt_handler()
408 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler()
416 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_smc_handler()
417 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler()
464 set_interrupt_rm_flag(flags, NON_SECURE); in tspd_smc_handler()
500 next_image_info = bl31_plat_get_next_image_ep_info(NON_SECURE); in tspd_smc_handler()
502 assert(NON_SECURE == in tspd_smc_handler()
506 cm_prepare_el3_exit(NON_SECURE); in tspd_smc_handler()
507 SMC_RET0(cm_get_context(NON_SECURE)); in tspd_smc_handler()
585 assert(handle == cm_get_context(NON_SECURE)); in tspd_smc_handler()
591 cm_el1_sysregs_context_save(NON_SECURE); in tspd_smc_handler()
658 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler()
662 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_smc_handler()
663 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler()
691 assert(handle == cm_get_context(NON_SECURE)); in tspd_smc_handler()
692 cm_el1_sysregs_context_save(NON_SECURE); in tspd_smc_handler()
704 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler()
708 cm_el1_sysregs_context_restore(NON_SECURE); in tspd_smc_handler()
709 cm_set_next_eret_context(NON_SECURE); in tspd_smc_handler()
728 assert(handle == cm_get_context(NON_SECURE)); in tspd_smc_handler()
734 cm_el1_sysregs_context_save(NON_SECURE); in tspd_smc_handler()