Searched refs:hibernation_ops (Results 1 – 1 of 1) sorted by relevance
68 static const struct platform_hibernation_ops *hibernation_ops; variable102 hibernation_ops = ops; in hibernation_set_ops()145 return (platform_mode && hibernation_ops) ? in platform_begin()146 hibernation_ops->begin(PMSG_FREEZE) : 0; in platform_begin()155 if (platform_mode && hibernation_ops) in platform_end()156 hibernation_ops->end(); in platform_end()169 return (platform_mode && hibernation_ops) ? in platform_pre_snapshot()170 hibernation_ops->pre_snapshot() : 0; in platform_pre_snapshot()184 if (platform_mode && hibernation_ops) in platform_leave()185 hibernation_ops->leave(); in platform_leave()[all …]