Lines Matching refs:enable
226 static void acpi_pci_propagate_wakeup_enable(struct pci_bus *bus, bool enable) in acpi_pci_propagate_wakeup_enable() argument
229 if (!acpi_pm_device_sleep_wake(&bus->self->dev, enable)) in acpi_pci_propagate_wakeup_enable()
236 acpi_pm_device_sleep_wake(bus->bridge, enable); in acpi_pci_propagate_wakeup_enable()
239 static int acpi_pci_sleep_wake(struct pci_dev *dev, bool enable) in acpi_pci_sleep_wake() argument
242 return acpi_pm_device_sleep_wake(&dev->dev, enable); in acpi_pci_sleep_wake()
244 acpi_pci_propagate_wakeup_enable(dev->bus, enable); in acpi_pci_sleep_wake()
248 static void acpi_pci_propagate_run_wake(struct pci_bus *bus, bool enable) in acpi_pci_propagate_run_wake() argument
255 if (!acpi_pm_device_run_wake(&bridge->dev, enable)) in acpi_pci_propagate_run_wake()
262 acpi_pm_device_run_wake(bus->bridge, enable); in acpi_pci_propagate_run_wake()
265 static int acpi_pci_run_wake(struct pci_dev *dev, bool enable) in acpi_pci_run_wake() argument
276 if (!acpi_pm_device_run_wake(&dev->dev, enable)) in acpi_pci_run_wake()
279 acpi_pci_propagate_run_wake(dev->bus, enable); in acpi_pci_run_wake()