函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sleep_state_supported

函数原型:static bool sleep_state_supported(suspend_state_t state)

返回类型:bool

参数:

类型参数名称
suspend_state_tstate
240  返回:state恒等于PM_SUSPEND_TO_IDLEsuspend_opsenter
调用者
名称描述
suspend_preparesuspend_prepare - Prepare for entering system sleep state.* Common code run for every system sleep state that can be entered (except for* hibernation). Run suspend notifiers, allocate the "suspend" console and* freeze processes.
suspend_devices_and_entersuspend_devices_and_enter - Suspend devices and enter system sleep state.*@state: System sleep state to enter.