Searched refs:rpmflags (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/base/power/ |
D | runtime.c | 51 static int rpm_resume(struct device *dev, int rpmflags); 52 static int rpm_suspend(struct device *dev, int rpmflags); 377 static int rpm_idle(struct device *dev, int rpmflags) in rpm_idle() argument 382 trace_rpm_idle_rcuidle(dev, rpmflags); in rpm_idle() 412 if (rpmflags & RPM_ASYNC) { in rpm_idle() 434 return retval ? retval : rpm_suspend(dev, rpmflags | RPM_AUTO); in rpm_idle() 493 static int rpm_suspend(struct device *dev, int rpmflags) in rpm_suspend() argument 500 trace_rpm_suspend_rcuidle(dev, rpmflags); in rpm_suspend() 510 !(rpmflags & RPM_ASYNC)) in rpm_suspend() 516 if ((rpmflags & RPM_AUTO) in rpm_suspend() [all …]
|
/Linux-v4.19/include/linux/ |
D | pm_runtime.h | 39 extern int __pm_runtime_idle(struct device *dev, int rpmflags); 40 extern int __pm_runtime_suspend(struct device *dev, int rpmflags); 41 extern int __pm_runtime_resume(struct device *dev, int rpmflags); 125 static inline int __pm_runtime_idle(struct device *dev, int rpmflags) in __pm_runtime_idle() argument 129 static inline int __pm_runtime_suspend(struct device *dev, int rpmflags) in __pm_runtime_suspend() argument 133 static inline int __pm_runtime_resume(struct device *dev, int rpmflags) in __pm_runtime_resume() argument
|