Home
last modified time | relevance | path

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

/kernel/power/
Dsuspend.c40 static const struct platform_freeze_ops *freeze_ops; variable
49 freeze_ops = ops; in freeze_set_ops()
180 return state == PM_SUSPEND_FREEZE && freeze_ops && freeze_ops->prepare ? in platform_suspend_prepare_late()
181 freeze_ops->prepare() : 0; in platform_suspend_prepare_late()
198 if (state == PM_SUSPEND_FREEZE && freeze_ops && freeze_ops->restore) in platform_resume_early()
199 freeze_ops->restore(); in platform_resume_early()
210 if (state == PM_SUSPEND_FREEZE && freeze_ops && freeze_ops->begin) in platform_suspend_begin()
211 return freeze_ops->begin(); in platform_suspend_begin()
220 if (state == PM_SUSPEND_FREEZE && freeze_ops && freeze_ops->end) in platform_resume_end()
221 freeze_ops->end(); in platform_resume_end()