Searched refs:hibernation_ops (Results 1 – 1 of 1) sorted by relevance
68 static const struct platform_hibernation_ops *hibernation_ops; variable106 hibernation_ops = ops; in hibernation_set_ops()149 return (platform_mode && hibernation_ops) ? in platform_begin()150 hibernation_ops->begin(PMSG_FREEZE) : 0; in platform_begin()159 if (platform_mode && hibernation_ops) in platform_end()160 hibernation_ops->end(); in platform_end()173 return (platform_mode && hibernation_ops) ? in platform_pre_snapshot()174 hibernation_ops->pre_snapshot() : 0; in platform_pre_snapshot()188 if (platform_mode && hibernation_ops) in platform_leave()189 hibernation_ops->leave(); in platform_leave()[all …]