Lines Matching defs:rc
29 int rc;
37 rc = psci_validate_entry_point(&ep, entrypoint, context_id);
38 if (rc != PSCI_E_SUCCESS)
39 return rc;
57 int rc;
68 rc = psci_validate_power_state(power_state, &state_info);
69 if (rc != PSCI_E_SUCCESS) {
70 assert(rc == PSCI_E_INVALID_PARAMS);
71 return rc;
159 rc = psci_validate_entry_point(&ep, entrypoint, context_id);
160 if (rc != PSCI_E_SUCCESS)
161 return rc;
170 rc = psci_cpu_suspend_start(&ep,
175 return rc;
181 int rc;
190 rc = psci_validate_entry_point(&ep, entrypoint, context_id);
191 if (rc != PSCI_E_SUCCESS)
192 return rc;
215 rc = psci_cpu_suspend_start(&ep,
220 return rc;
225 int rc;
233 rc = psci_do_cpu_off(target_pwrlvl);
239 assert(rc == PSCI_E_DENIED);
241 return rc;
283 int rc;
290 rc = psci_spd_migrate_info(&resident_cpu_mpidr);
291 if (rc != PSCI_TOS_UP_MIG_CAP)
292 return (rc == PSCI_TOS_NOT_UP_MIG_CAP) ?
308 rc = psci_spd_pm->svc_migrate(read_mpidr_el1(), target_cpu);
309 assert((rc == PSCI_E_SUCCESS) || (rc == PSCI_E_INTERN_FAIL));
311 return rc;
324 int rc;
330 rc = psci_spd_migrate_info(&resident_cpu_mpidr);
331 if ((rc != PSCI_TOS_NOT_UP_MIG_CAP) && (rc != PSCI_TOS_UP_MIG_CAP))
340 int rc;
355 rc = psci_plat_pm_ops->get_node_hw_state(target_cpu, power_level);
356 assert(((rc >= HW_ON) && (rc <= HW_STANDBY))
357 || (rc == PSCI_E_NOT_SUPPORTED)
358 || (rc == PSCI_E_INVALID_PARAMS));
359 return rc;