Lines Matching +full:current +full:- +full:mode
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.
60 * Pm error code: The current mode is unlocked.
96 * Pm error code: The hook for mode is not implemented.
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…
159 * All modes except normal mode are invoked.
162 UINT32 (*early)(UINT32 mode);
163 /* The system performs low-power recovery.
164 * All modes except normal mode are invoked.
167 VOID (*late)(UINT32 mode);
168 /* Final check before low-power consumption. */
169 VOID (*suspendCheck)(UINT32 mode);
170 /* The system enters the Normal sleep mode.
171 * In normal mode, the value cannot be NULL.
178 /* The system enters the light sleep mode.
179 * In light sleep mode, the value cannot be NULL.
186 /* The system enters the deep sleep mode.
187 * In deep sleep mode, the value cannot be NULL.
194 /* The system enters the shutdown mode.
195 * In shutdown mode, the value cannot be NULL.
199 * In shutdown mode, the value cannot be NULL.
290 * This API is used to set the system wake-up flag.
305 * @brief Get the low power mode of the current system.
308 * This API is used to get the low power mode of the current system.
323 * @brief Set low power mode.
326 * This API is used to set low power mode.
330 * @param mode [IN] low power mode.
337 UINT32 LOS_PmModeSet(LOS_SysSleepEnum mode);
341 * @brief Request to obtain the lock in current mode, so that the system will not enter
342 * this mode when it enters the idle task next time.
345 * This API is used to obtain the lock in current mode.
360 * @brief Request to obtain the lock in current mode, so that the system will not enter
361 * this mode when it enters the idle task next time. After the specified interval, the
365 * This API is used to obtain the delay lock in current mode.
381 * @brief Release the lock in current mode so that the next time the system enters
382 * the idle task, it will enter this mode.
385 * This API is used to release the lock in current mode.
400 * @brief Gets the current PM lock status.
403 * This API is used to Get the current PM lock status.
418 * @brief The system enters the low-power flow.
421 * This API is used to enter the system into a low-power process.