Home
last modified time | relevance | path

Searched refs:suspend_ops (Results 1 – 1 of 1) sorted by relevance

/kernel/power/
Dsuspend.c39 static const struct platform_suspend_ops *suspend_ops; variable
108 return suspend_ops && suspend_ops->valid && suspend_ops->valid(state); in valid_state()
139 suspend_ops = ops; in suspend_set_ops()
169 return state == PM_SUSPEND_FREEZE || (suspend_ops && suspend_ops->enter); in sleep_state_supported()
174 return state != PM_SUSPEND_FREEZE && suspend_ops->prepare ? in platform_suspend_prepare()
175 suspend_ops->prepare() : 0; in platform_suspend_prepare()
186 return state != PM_SUSPEND_FREEZE && suspend_ops->prepare_late ? in platform_suspend_prepare_noirq()
187 suspend_ops->prepare_late() : 0; in platform_suspend_prepare_noirq()
192 if (state != PM_SUSPEND_FREEZE && suspend_ops->wake) in platform_resume_noirq()
193 suspend_ops->wake(); in platform_resume_noirq()
[all …]