| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
Functions | |
| int | pm_cpu_off (void) | 
| Power down the calling core.  More... | |
| int | pm_cpu_on (unsigned long cpuid, uintptr_t entry_point) | 
| Power up a core.  More... | |
| int | pm_system_off (void) | 
| Power down the system.  More... | |
| int pm_cpu_off | ( | void | ) | 
#include <include/zephyr/drivers/pm_cpu_ops.h>
Power down the calling core.
This call is intended for use in hotplug. A core that is powered down by cpu_off can only be powered up again in response to a cpu_on
| The | call does not return when successful | 
| -ENOTSUP | If the operation is not supported | 
#include <include/zephyr/drivers/pm_cpu_ops.h>
Power up a core.
This call is used to power up cores that either have not yet been booted into the calling supervisory software or have been previously powered down with a cpu_off call
| cpuid | CPU id to power on | 
| entry_point | Address at which the core must commence execution | 
| 0 | on success, a negative errno otherwise | 
| -ENOTSUP | If the operation is not supported | 
| int pm_system_off | ( | void | ) | 
#include <include/zephyr/drivers/pm_cpu_ops.h>
Power down the system.
This call is used to power down the whole system.
A compliant PSCI implementation will never return, but some real-world implementations do return errors in some cases.
| does | not return on success, a negative errno otherwise | 
| -ENOTSUP | If the operation is not supported |