zephyr/subsys/pm/pm_priv.h
Flavio Ceolin 4f609886de pm: Fix policy manager header
Policy manager header has to be in the include for applications.
Also it had several function prototypes that are not part of the policy.
These functions were moved from the policy header to a dedicated private
header.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2021-06-14 21:48:27 -04:00

41 lines
709 B
C

/*
* Copyright (c) 2021 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_SUBSYS_PM_PRIV_H_
#define ZEPHYR_SUBSYS_PM_PRIV_H_
#include <pm/pm.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Function to suspend the devices in PM device list
*/
int pm_suspend_devices(void);
/**
* @brief Function to put the devices in PM device list in low power state
*/
int pm_low_power_devices(void);
/**
* @brief Function to force suspend the devices in PM device list
*/
int pm_force_suspend_devices(void);
/**
* @brief Function to resume the devices in PM device list
*/
void pm_resume_devices(void);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_SUBSYS_PM_PRIV_H_ */