| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Go to the source code of this file.
Data Structures | |
| struct | pm_state_info | 
Macros | |
| #define | PM_STATE_INFO_DT_INIT(node_id) | 
| Initializer for struct pm_state_info given a DT node identifier with zephyr,power-state compatible.  More... | |
| #define | PM_STATE_DT_INIT(node_id) DT_ENUM_IDX(node_id, power_state_name) | 
| Initializer for enum pm_state given a DT node identifier with zephyr,power-state compatible.  More... | |
| #define | DT_NUM_CPU_POWER_STATES(node_id) DT_PROP_LEN_OR(node_id, cpu_power_states, 0) | 
| Obtain number of CPU power states supported by the given CPU node identifier.  More... | |
| #define | PM_STATE_INFO_LIST_FROM_DT_CPU(node_id) | 
| Initialize an array of struct pm_state_info with information from all the states present in the given CPU node identifier.  More... | |
| #define | PM_STATE_LIST_FROM_DT_CPU(node_id) | 
| Initialize an array of struct pm_state with information from all the states present in the given CPU node identifier.  More... | |
Enumerations | |
| enum | pm_state {  PM_STATE_ACTIVE , PM_STATE_RUNTIME_IDLE , PM_STATE_SUSPEND_TO_IDLE , PM_STATE_STANDBY , PM_STATE_SUSPEND_TO_RAM , PM_STATE_SUSPEND_TO_DISK , PM_STATE_SOFT_OFF , PM_STATE_COUNT }  | 
Functions | |
| uint8_t | pm_state_cpu_get_all (uint8_t cpu, const struct pm_state_info **states) |