Lines Matching refs:enable
459 static void acpi_pci_propagate_wakeup_enable(struct pci_bus *bus, bool enable) in acpi_pci_propagate_wakeup_enable() argument
462 if (!acpi_pm_device_sleep_wake(&bus->self->dev, enable)) in acpi_pci_propagate_wakeup_enable()
469 acpi_pm_device_sleep_wake(bus->bridge, enable); in acpi_pci_propagate_wakeup_enable()
472 static int acpi_pci_sleep_wake(struct pci_dev *dev, bool enable) in acpi_pci_sleep_wake() argument
475 return acpi_pm_device_sleep_wake(&dev->dev, enable); in acpi_pci_sleep_wake()
477 acpi_pci_propagate_wakeup_enable(dev->bus, enable); in acpi_pci_sleep_wake()
481 static void acpi_pci_propagate_run_wake(struct pci_bus *bus, bool enable) in acpi_pci_propagate_run_wake() argument
488 if (!acpi_pm_device_run_wake(&bridge->dev, enable)) in acpi_pci_propagate_run_wake()
495 acpi_pm_device_run_wake(bus->bridge, enable); in acpi_pci_propagate_run_wake()
498 static int acpi_pci_run_wake(struct pci_dev *dev, bool enable) in acpi_pci_run_wake() argument
509 if (!acpi_pm_device_run_wake(&dev->dev, enable)) in acpi_pci_run_wake()
512 acpi_pci_propagate_run_wake(dev->bus, enable); in acpi_pci_run_wake()