pci_dev_run_wake (9) - Linux Manuals
pci_dev_run_wake: Check if device can generate run-time wake-up events.
pci_dev_run_wake - Check if device can generate run-time wake-up events.
bool pci_dev_run_wake(struct pci_dev
- Device to check.
Return true if the device itself is capable of generating wake-up events (through the platform or using the native PCIe PME) or if the device supports PME and one of its upstream bridges can generate wake-up events.