Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\suspend.c Create Date:2022-07-28 09:58:06
Last Modify:2020-03-17 14:47:48 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:s2idle_loop

Proto:static void s2idle_loop(void)

Type:void

Parameter:Nothing

122  pm_pr_dbg("suspend-to-idle\n")
133  cycle
134  If s2idle_ops && wake Then
135  If wake() Then Break
137  Else if pm_wakeup_pending() Then
138  Break
141  pm_wakeup_clear(false)
143  s2idle_enter()
146  pm_pr_dbg("resume from suspend-to-idle\n")
Caller
NameDescribe
suspend_entersuspend_enter - Make the system enter the given sleep state.*@state: System sleep state to enter.*@wakeup: Returns information that the sleep state should not be re-entered.* This function should be called after devices have been suspended.