Function report | 
Source Code:kernel\power\suspend.c | 
Create Date:2022-07-28 09:58:10 | 
| Last Modify:2020-03-17 14:47:48 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:suspend_set_ops - Set the global suspend method table.*@ops: Suspend operations to use.
Proto:void suspend_set_ops(const struct platform_suspend_ops *ops)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct platform_suspend_ops * | ops | 
| 205 | lock_system_sleep() | 
| 207 | suspend_ops = ops | 
| 209 | If valid_state(PM_SUSPEND_STANDBY) Then | 
| 212 | If mem_sleep_default == PM_SUSPEND_STANDBY Then mem_sleep_current = PM_SUSPEND_STANDBY | 
| 215 | If valid_state(PM_SUSPEND_MEM) Then | 
| 217 | If mem_sleep_default >= PM_SUSPEND_MEM Then mem_sleep_current = PM_SUSPEND_MEM | 
| 221 | unlock_system_sleep() | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |