Searched refs:hibernation_ops (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/kernel/power/
H A Dhibernate.c65 static const struct platform_hibernation_ops *hibernation_ops; variable in typeref:struct:platform_hibernation_ops
85 hibernation_ops = ops; hibernation_set_ops()
128 return (platform_mode && hibernation_ops) ? platform_begin()
129 hibernation_ops->begin() : 0; platform_begin()
138 if (platform_mode && hibernation_ops) platform_end()
139 hibernation_ops->end(); platform_end()
152 return (platform_mode && hibernation_ops) ? platform_pre_snapshot()
153 hibernation_ops->pre_snapshot() : 0; platform_pre_snapshot()
167 if (platform_mode && hibernation_ops) platform_leave()
168 hibernation_ops->leave(); platform_leave()
182 if (platform_mode && hibernation_ops) platform_finish()
183 hibernation_ops->finish(); platform_finish()
198 return (platform_mode && hibernation_ops) ? platform_pre_restore()
199 hibernation_ops->pre_restore() : 0; platform_pre_restore()
215 if (platform_mode && hibernation_ops) platform_restore_cleanup()
216 hibernation_ops->restore_cleanup(); platform_restore_cleanup()
225 if (platform_mode && hibernation_ops && hibernation_ops->recover) platform_recover()
226 hibernation_ops->recover(); platform_recover()
525 if (!hibernation_ops) hibernation_platform_enter()
530 * hibernation_ops->finish() before saving the image, so we should let hibernation_platform_enter()
533 error = hibernation_ops->begin(); hibernation_platform_enter()
541 if (hibernation_ops->recover) hibernation_platform_enter()
542 hibernation_ops->recover(); hibernation_platform_enter()
550 error = hibernation_ops->prepare(); hibernation_platform_enter()
565 hibernation_ops->enter(); hibernation_platform_enter()
577 hibernation_ops->finish(); hibernation_platform_enter()
587 hibernation_ops->end(); hibernation_platform_enter()
619 if (hibernation_ops) power_down()
888 * or other hibernation_ops), powering it off or rebooting it (for testing
929 if (hibernation_ops) disk_show()
976 if (hibernation_ops) disk_store()

Completed in 46 milliseconds