Lines Matching +full:pm +full:- +full:api
2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
42 * Pm error code: Invalid low-power mode.
51 * Pm error code: Invalid input parameter.
60 * Pm error code: The current mode is unlocked.
69 * Pm error code: The lock limit has been exceeded.
78 * Pm error code: Invalid device node.
87 * Pm error code: Invalid type.
96 * Pm error code: The hook for mode is not implemented.
105 * Pm error code: Deep and shutdown must implement the Tick Timer related interface.
114 * Pm error code: Device is not registered.
123 * Pm error code: The delay lock has already been activated.
144 …UINT32 (*suspend)(UINT32 mode); /* The device enters low-power consumption, Unlocked task scheduli…
145 …VOID (*resume)(UINT32 mode); /* The device exits from low-power consumption, Unlocked task sche…
149 /* Low-power timer related implementation functions.
150 * The function is not NULL, the low-power timer is enabled.
152 UINT32 freq; /* The frequency of the low-power timer */
153 VOID (*timerStart)(UINT64); /* Start the low-power timer and set the response period */
154 VOID (*timerStop)(VOID); /* Turn off the low-power timer */
157 …/* When the low-power timer is enabled, the function of tickLock is to turn off the system tick ti…
159 * When the low-power timer is disabled, the function of tickLock is to pause the system timer.
163 …/* When the low-power timer is enabled, the function of tickUnlock is to restart the system tick t…
164 …* When the low-power timer is disabled, the function of tickUnlock is to restore the system tick t…
170 /* Preparations before the CPU enters low-power consumption.
175 /* The system performs low-power recovery.
180 /* Final check before low-power consumption. */
218 * @brief Initialize system low-power frame.
221 * This API is used to initialize the system low-power frame.
229 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
236 * @brief Whether the low-power consumption condition is met.
239 * This API is used to check whether low-power consumption is met.
247 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
264 * This API is used to register a power management node.
268 * @param type [IN] The types supported by the PM module.
273 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
283 * This API is used to unregister a power management node.
287 * @param type [IN] The types supported by the PM module.
292 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
302 * This API is used to set the system wake-up flag.
310 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
317 * @brief Get the low-power mode of the current system.
320 * This API is used to get the low-power mode of the current system.
328 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
335 * @brief Set low-power mode.
338 * This API is used to set low-power mode.
342 * @param mode [IN] low-power mode.
346 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
357 * This API is used to obtain the lock in current mode.
365 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
377 * This API is used to obtain the delay lock in current mode.
386 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
397 * This API is used to release the lock in current mode.
405 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
412 * @brief Gets the current PM lock status.
415 * This API is used to Get the current PM lock status.
423 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
430 * @brief The system enters the low-power flow.
433 * This API is used to enter the system into a low-power process.
441 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
448 * @brief Output the locking information of the pm lock.
451 * This API is used to output the locking information of the pm lock.
459 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>