Zephyr Project API  3.3.0
A Scalable Open Source RTOS
pm.h File Reference
#include <zephyr/types.h>
#include <zephyr/sys/slist.h>
#include <zephyr/pm/state.h>
#include <zephyr/toolchain.h>
#include <errno.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  pm_notifier
 

Functions

bool pm_state_force (uint8_t cpu, const struct pm_state_info *info)
 Force usage of given power state. More...
 
void pm_notifier_register (struct pm_notifier *notifier)
 Register a power management notifier. More...
 
int pm_notifier_unregister (struct pm_notifier *notifier)
 Unregister a power management notifier. More...
 
const struct pm_state_infopm_state_next_get (uint8_t cpu)
 Gets the next power state that will be used. More...
 
void pm_state_set (enum pm_state state, uint8_t substate_id)
 Put processor into a power state. More...
 
void pm_state_exit_post_ops (enum pm_state state, uint8_t substate_id)
 Do any SoC or architecture specific post ops after sleep state exits. More...