Lines Matching refs:hdl
63 struct pm_callback_handle *hdl) in do_pm_callback() argument
68 if (suspending == (bool)(hdl->flags & PM_FLAG_SUSPENDED)) in do_pm_callback()
71 DMSG("%s %s", suspending ? "Suspend" : "Resume", hdl->name); in do_pm_callback()
73 res = hdl->callback(op, pm_hint, hdl); in do_pm_callback()
76 "Resume", hdl->name, (void *)(vaddr_t)hdl->callback, res); in do_pm_callback()
81 hdl->flags |= PM_FLAG_SUSPENDED; in do_pm_callback()
83 hdl->flags &= ~PM_FLAG_SUSPENDED; in do_pm_callback()
91 struct pm_callback_handle *hdl = NULL; in call_callbacks() local
100 hdl = pm_cb_ref + pm_cb_count - 1; in call_callbacks()
102 hdl = pm_cb_ref; in call_callbacks()
105 if (hdl->order == order) { in call_callbacks()
106 res = do_pm_callback(op, pm_hint, hdl); in call_callbacks()
112 hdl--; in call_callbacks()
114 hdl++; in call_callbacks()