Searched refs:rpmflags (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/base/power/ |
H A D | runtime.c | 52 static int rpm_resume(struct device *dev, int rpmflags); 53 static int rpm_suspend(struct device *dev, int rpmflags); 468 static int rpm_idle(struct device *dev, int rpmflags) in rpm_idle() argument 473 trace_rpm_idle(dev, rpmflags); in rpm_idle() 507 if (rpmflags & RPM_ASYNC) { in rpm_idle() 536 return retval ? retval : rpm_suspend(dev, rpmflags | RPM_AUTO); in rpm_idle() 560 static int rpm_suspend(struct device *dev, int rpmflags) in rpm_suspend() argument 567 trace_rpm_suspend(dev, rpmflags); in rpm_suspend() 575 if (dev->power.runtime_status == RPM_RESUMING && !(rpmflags & RPM_ASYNC)) in rpm_suspend() 582 if ((rpmflags & RPM_AUTO) && dev->power.runtime_status != RPM_SUSPENDING) { in rpm_suspend() [all …]
|
/linux/include/linux/ |
H A D | pm_runtime.h | 72 extern int __pm_runtime_idle(struct device *dev, int rpmflags); 73 extern int __pm_runtime_suspend(struct device *dev, int rpmflags); 74 extern int __pm_runtime_resume(struct device *dev, int rpmflags); 247 static inline int __pm_runtime_idle(struct device *dev, int rpmflags) in __pm_runtime_idle() argument 251 static inline int __pm_runtime_suspend(struct device *dev, int rpmflags) in __pm_runtime_suspend() argument 255 static inline int __pm_runtime_resume(struct device *dev, int rpmflags) in __pm_runtime_resume() argument
|