Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:valid_state

Proto:static bool valid_state(suspend_state_t state)

Type:bool

Parameter:

TypeParameterName
suspend_state_tstate
169  Return suspend_ops && valid && valid(state)
Caller
NameDescribe
suspend_set_opssuspend_set_ops - Set the global suspend method table.*@ops: Suspend operations to use.
enter_stater_state - Do common work needed to enter system sleep state.*@state: System sleep state to enter.* Make sure that no one else is trying to put the system into a sleep state.* Fail if that's not the case. Otherwise, prepare for system suspend, make the