Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sleep_state_supported

Proto:static bool sleep_state_supported(suspend_state_t state)

Type:bool

Parameter:

TypeParameterName
suspend_state_tstate
240  Return state == PM_SUSPEND_TO_IDLE || suspend_ops && enter
Caller
NameDescribe
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.