Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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
 Power management notifier struct. More...
 

Functions

bool pm_state_force (uint8_t cpu, const struct pm_state_info *info)
 Force usage of given power state.
 
void pm_notifier_register (struct pm_notifier *notifier)
 Register a power management notifier.
 
int pm_notifier_unregister (struct pm_notifier *notifier)
 Unregister a power management notifier.
 
const struct pm_state_infopm_state_next_get (uint8_t cpu)
 Gets the next power state that will be used.
 
void pm_system_resume (void)
 Notify exit from kernel sleep.
 
void pm_state_set (enum pm_state state, uint8_t substate_id)
 Put processor into a power state.
 
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.