Function report |
Source Code:kernel\power\autosleep.c |
Create Date:2022-07-28 10:04:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pm_autosleep_set_state
Proto:int pm_autosleep_set_state(suspend_state_t state)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
suspend_state_t | state |
94 | If state >= PM_SUSPEND_MAX Then Return -EINVAL |
102 | autosleep_state = state |
104 | __pm_relax(autosleep_ws) |
106 | If state > PM_SUSPEND_ON Then |
107 | pm_wakep_autosleep_enabled(true) |
108 | queue_up_suspend_work() |
109 | Else |
110 | pm_wakep_autosleep_enabled(false) |
114 | Return 0 |
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 |