函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\suspend.c Create Date:2022-07-27 10:58:16
Last Modify:2020-03-17 14:47:48 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:s2idle_loop

函数原型:static void s2idle_loop(void)

返回类型:void

参数:

122  pm_pr_dbg("suspend-to-idle\n")
133  循环
134  如果s2idle_opswake
135  如果wake()则退出
137  否则如果pm_wakeup_pending()则
138  退出
141  pm_wakeup_clear(false)
143  s2idle_enter()
146  pm_pr_dbg("resume from suspend-to-idle\n")
调用者
名称描述
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.