Lines Matching refs:resume_fn
312 #define SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
314 .resume = pm_sleep_ptr(resume_fn), \
316 .thaw = pm_sleep_ptr(resume_fn), \
318 .restore = pm_sleep_ptr(resume_fn),
320 #define LATE_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
322 .resume_early = pm_sleep_ptr(resume_fn), \
324 .thaw_early = pm_sleep_ptr(resume_fn), \
326 .restore_early = pm_sleep_ptr(resume_fn),
328 #define NOIRQ_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ argument
330 .resume_noirq = pm_sleep_ptr(resume_fn), \
332 .thaw_noirq = pm_sleep_ptr(resume_fn), \
334 .restore_noirq = pm_sleep_ptr(resume_fn),
336 #define RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \ argument
338 .runtime_resume = resume_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) \
403 #define DEFINE_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
404 _DEFINE_DEV_PM_OPS(name, suspend_fn, resume_fn, NULL, NULL, NULL)
406 #define EXPORT_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
408 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
410 #define EXPORT_GPL_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
412 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
414 #define EXPORT_NS_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn, ns) \ argument
416 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
418 #define EXPORT_NS_GPL_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn, ns) \ argument
420 SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
424 #define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
426 SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
445 #define UNIVERSAL_DEV_PM_OPS(name, suspend_fn, resume_fn, idle_fn) \ argument
447 SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
448 SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \
455 #define DEFINE_NOIRQ_DEV_PM_OPS(name, suspend_fn, resume_fn) \ argument
457 NOIRQ_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \