Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/power/
Dhibernate.c69 static const struct platform_hibernation_ops *hibernation_ops; variable
103 hibernation_ops = ops; in hibernation_set_ops()
146 return (platform_mode && hibernation_ops) ? in platform_begin()
147 hibernation_ops->begin(PMSG_FREEZE) : 0; in platform_begin()
156 if (platform_mode && hibernation_ops) in platform_end()
157 hibernation_ops->end(); in platform_end()
170 return (platform_mode && hibernation_ops) ? in platform_pre_snapshot()
171 hibernation_ops->pre_snapshot() : 0; in platform_pre_snapshot()
185 if (platform_mode && hibernation_ops) in platform_leave()
186 hibernation_ops->leave(); in platform_leave()
[all …]