Lines Matching defs:hibernation_ops
48 struct hibernation_ops *hibernation_ops;
55 void hibernation_set_ops(struct hibernation_ops *ops)
62 hibernation_ops = ops;
79 return (hibernation_mode == HIBERNATION_PLATFORM && hibernation_ops) ?
80 hibernation_ops->prepare() : 0;
90 if (hibernation_mode == HIBERNATION_PLATFORM && hibernation_ops)
91 hibernation_ops->finish();
114 if (hibernation_ops) {
116 hibernation_ops->enter();
351 * or other hibernation_ops), powering off the system or rebooting the
355 * encoded by the presence of hibernation_ops). However, the user may
369 * supports it (as determined by having hibernation_ops).
387 if (hibernation_ops)
430 if (hibernation_ops)