Lines Matching refs:suspend
18 #include <linux/suspend.h>
590 * chance to suspend again
600 * Default "suspend" method for devices that have no driver provided suspend,
607 * e.g. the BIOS will change its device state when we suspend.
621 /* if the device was enabled before suspend, re-enable */
624 * if the device was busmaster before the suspend, make it busmaster
638 if (drv && drv->suspend) {
642 error = drv->suspend(pci_dev, state);
643 suspend_report_result(dev, drv->suspend, error);
651 drv->suspend);
697 bool ret = drv && (drv->suspend || drv->resume);
805 * system suspend. Namely, if the device is expected to wake up the
812 * suspend callbacks can cope with runtime-suspended devices, it is
813 * better to resume the device from runtime suspend here.
823 if (pm->suspend) {
827 error = pm->suspend(dev);
828 suspend_report_result(dev, pm->suspend, error);
836 pm->suspend);
936 * If the target system sleep state is suspend-to-idle, it is sufficient
959 * In the suspend-to-idle case, devices left in D0 during suspend will
996 * This is necessary for the suspend error path in which resume is
1308 * to schedule a new suspend, so log the event only with debug
1312 pci_dbg(pci_dev, "can't suspend now (%ps returned %d)\n",
1316 pci_err(pci_dev, "can't suspend (%ps returned %d)\n",
1392 .suspend = pci_pm_suspend,