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