Lines Matching refs:pm_ops
31 struct pm_ops *pm_ops;
38 void pm_set_ops(struct pm_ops * ops)
41 pm_ops = ops;
48 * pm_ops drivers that implement mem suspend only and only need
60 if (pm_ops->finish)
61 pm_ops->finish(state);
78 if (!pm_ops || !pm_ops->enter)
99 if (pm_ops->set_target) {
100 error = pm_ops->set_target(state);
110 if (pm_ops->prepare) {
111 if ((error = pm_ops->prepare(state)))
154 error = pm_ops->enter(state);
194 if (!pm_ops || !pm_ops->valid || !pm_ops->valid(state))