Lines Matching refs:suspend_fn
312 #define SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
313 .suspend = pm_sleep_ptr(suspend_fn), \
315 .freeze = pm_sleep_ptr(suspend_fn), \
317 .poweroff = pm_sleep_ptr(suspend_fn), \
320 #define LATE_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
321 .suspend_late = pm_sleep_ptr(suspend_fn), \
323 .freeze_late = pm_sleep_ptr(suspend_fn), \
325 .poweroff_late = pm_sleep_ptr(suspend_fn), \
328 #define NOIRQ_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
329 .suspend_noirq = pm_sleep_ptr(suspend_fn), \
331 .freeze_noirq = pm_sleep_ptr(suspend_fn), \
333 .poweroff_noirq = pm_sleep_ptr(suspend_fn), \
336 #define RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \ argument
337 .runtime_suspend = suspend_fn, \
342 #define SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
343 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn)
345 #define SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) argument
349 #define SET_LATE_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
350 LATE_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn)
352 #define SET_LATE_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) argument
356 #define SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
357 NOIRQ_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn)
359 #define SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) argument
363 #define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \ argument
364 RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn)
366 #define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) argument
370 suspend_fn, resume_fn, \ argument
373 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
399 #define DEFINE_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
400 _DEFINE_DEV_PM_OPS(name, suspend_fn, resume_fn, NULL, NULL, NULL)
402 #define EXPORT_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
404 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
406 #define EXPORT_GPL_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
408 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
410 #define EXPORT_NS_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn, ns) \ argument
412 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
414 #define EXPORT_NS_GPL_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn, ns) \ argument
416 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
420 #define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
422 SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
441 #define UNIVERSAL_DEV_PM_OPS(name, suspend_fn, resume_fn, idle_fn) \ argument
443 SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
444 SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \