Lines Matching refs:sp
43 struct secure_partition_desc *sp = spmc_get_current_sp_ctx(); in spmc_cpu_on_finish_handler() local
50 assert(sp != NULL); in spmc_cpu_on_finish_handler()
62 if (sp->secondary_ep == 0) { in spmc_cpu_on_finish_handler()
67 sec_ec_ep_info.pc = sp->secondary_ep; in spmc_cpu_on_finish_handler()
72 spmc_el1_sp_setup(sp, &sec_ec_ep_info); in spmc_cpu_on_finish_handler()
73 spmc_sp_common_ep_commit(sp, &sec_ec_ep_info); in spmc_cpu_on_finish_handler()
76 ec = spmc_get_sp_ec(sp); in spmc_cpu_on_finish_handler()
88 INFO("SP (0x%x) init start on core%u.\n", sp->sp_id, linear_id); in spmc_cpu_on_finish_handler()
106 struct secure_partition_desc *sp = spmc_get_current_sp_ctx(); in spmc_send_pm_msg() local
114 ec = spmc_get_sp_ec(sp); in spmc_send_pm_msg()
128 sp->sp_id); in spmc_send_pm_msg()
163 if (!(ffa_endpoint_source(resp) == sp->sp_id && in spmc_send_pm_msg()
191 struct secure_partition_desc *sp = spmc_get_current_sp_ctx(); in spmc_cpu_suspend_finish_handler() local
196 assert(sp != NULL); in spmc_cpu_suspend_finish_handler()
202 if ((sp->pwr_mgmt_msgs & FFA_PM_MSG_SUB_CPU_SUSPEND_RESUME) == 0U) { in spmc_cpu_suspend_finish_handler()
221 struct secure_partition_desc *sp = spmc_get_current_sp_ctx(); in spmc_cpu_suspend_handler() local
226 assert(sp != NULL); in spmc_cpu_suspend_handler()
232 if ((sp->pwr_mgmt_msgs & FFA_PM_MSG_SUB_CPU_SUSPEND) == 0U) { in spmc_cpu_suspend_handler()
250 struct secure_partition_desc *sp = spmc_get_current_sp_ctx(); in spmc_cpu_off_handler() local
255 assert(sp != NULL); in spmc_cpu_off_handler()
261 if ((sp->pwr_mgmt_msgs & FFA_PM_MSG_SUB_CPU_OFF) == 0U) { in spmc_cpu_off_handler()