power: rename _pm_idle_exit_notification_disable
Rename API to be more consistent with guidelines. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
5e4222749a
commit
8a97717c72
3 changed files with 5 additions and 5 deletions
|
@ -139,7 +139,7 @@ static inline bool pm_is_deep_sleep_state(enum power_states state)
|
|||
* pm_system_suspend to disable the corresponding pm_system_resume notification.
|
||||
*
|
||||
*/
|
||||
static inline void _pm_idle_exit_notification_disable(void)
|
||||
static inline void pm_idle_exit_notification_disable(void)
|
||||
{
|
||||
pm_idle_exit_notify = 0U;
|
||||
}
|
||||
|
@ -258,7 +258,7 @@ void pm_system_resume_from_deep_sleep(void);
|
|||
* those cases, the ISR would be invoked immediately after the event wakes up
|
||||
* the CPU, before code following the CPU wait, gets a chance to execute. This
|
||||
* can be ignored if no operation needs to be done at the wake event
|
||||
* notification. Alternatively _pm_idle_exit_notification_disable() can
|
||||
* notification. Alternatively pm_idle_exit_notification_disable() can
|
||||
* be called in pm_system_suspend to disable this notification.
|
||||
*/
|
||||
void pm_system_resume(void);
|
||||
|
|
|
@ -123,7 +123,7 @@ void z_pm_save_idle_exit(int32_t ticks)
|
|||
/* Some CPU low power states require notification at the ISR
|
||||
* to allow any operations that needs to be done before kernel
|
||||
* switches task or processes nested interrupts. This can be
|
||||
* disabled by calling _pm_idle_exit_notification_disable().
|
||||
* disabled by calling pm_idle_exit_notification_disable().
|
||||
* Alternatively it can be simply ignored if not required.
|
||||
*/
|
||||
if (pm_idle_exit_notify) {
|
||||
|
|
|
@ -125,7 +125,7 @@ enum power_states pm_system_suspend(int32_t ticks)
|
|||
* Disable idle exit notification as it is not needed
|
||||
* in deep sleep mode.
|
||||
*/
|
||||
_pm_idle_exit_notification_disable();
|
||||
pm_idle_exit_notification_disable();
|
||||
#if CONFIG_PM_DEVICE
|
||||
} else {
|
||||
if (pm_policy_low_power_devices(pm_state)) {
|
||||
|
@ -181,7 +181,7 @@ void pm_system_resume(void)
|
|||
* The kernel scheduler will get control after the ISR finishes
|
||||
* and it may schedule another thread.
|
||||
*
|
||||
* Call _pm_idle_exit_notification_disable() if this
|
||||
* Call pm_idle_exit_notification_disable() if this
|
||||
* notification is not required.
|
||||
*/
|
||||
if (!post_ops_done) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue