Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/power/
Dsuspend.c58 static const struct platform_s2idle_ops *s2idle_ops; variable
79 s2idle_ops = ops; in s2idle_set_ops()
134 if (s2idle_ops && s2idle_ops->wake) { in s2idle_loop()
135 if (s2idle_ops->wake()) in s2idle_loop()
251 return state == PM_SUSPEND_TO_IDLE && s2idle_ops && s2idle_ops->prepare ? in platform_suspend_prepare_late()
252 s2idle_ops->prepare() : 0; in platform_suspend_prepare_late()
258 return s2idle_ops && s2idle_ops->prepare_late ? in platform_suspend_prepare_noirq()
259 s2idle_ops->prepare_late() : 0; in platform_suspend_prepare_noirq()
267 if (s2idle_ops && s2idle_ops->restore_early) in platform_resume_noirq()
268 s2idle_ops->restore_early(); in platform_resume_noirq()
[all …]