Function report |
Source Code:kernel\power\suspend.c |
Create Date:2022-07-28 09:58:06 |
Last Modify:2020-03-17 14:47:48 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:s2idle_enter
Proto:static void s2idle_enter(void)
Type:void
Parameter:Nothing
90 | trace_suspend_resume(TPS("machine_suspend"), PM_SUSPEND_TO_IDLE, true) |
92 | raw_spin_lock_irq( & s2idle_lock) |
93 | If pm_wakeup_pending() Then Go to out |
97 | raw_spin_unlock_irq( & s2idle_lock) |
99 | get_online_cpus() |
100 | cpuidle_resume() |
103 | wake_up_all_idle_cpus() |
108 | cpuidle_pause() |
109 | put_online_cpus() |
111 | raw_spin_lock_irq( & s2idle_lock) |
113 | out : |
115 | raw_spin_unlock_irq( & s2idle_lock) |
117 | trace_suspend_resume(TPS("machine_suspend"), PM_SUSPEND_TO_IDLE, false) |
Name | Describe |
---|---|
s2idle_loop |
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 |