Searched refs:hibernation_ops (Results 1 – 1 of 1) sorted by relevance
78 static const struct platform_hibernation_ops *hibernation_ops; variable116 hibernation_ops = ops; in hibernation_set_ops()159 return (platform_mode && hibernation_ops) ? in platform_begin()160 hibernation_ops->begin(PMSG_FREEZE) : 0; in platform_begin()169 if (platform_mode && hibernation_ops) in platform_end()170 hibernation_ops->end(); in platform_end()183 return (platform_mode && hibernation_ops) ? in platform_pre_snapshot()184 hibernation_ops->pre_snapshot() : 0; in platform_pre_snapshot()198 if (platform_mode && hibernation_ops) in platform_leave()199 hibernation_ops->leave(); in platform_leave()[all …]