Lines Matching full:pme

64 #define PME_TIMEOUT 1000 /* How long between PME checks */
2319 * pcie_clear_root_pme_status - Clear root port PME interrupt status.
2328 * pci_check_pme_status - Check if given device has generated PME.
2331 * Check the PME status of the device and if set, clear it and clear PME enable
2332 * (if set). Return 'true' if PME status and PME enable were both set or
2349 /* Clear PME status. */ in pci_check_pme_status()
2352 /* Disable PME to avoid interrupt flood. */ in pci_check_pme_status()
2363 * pci_pme_wakeup - Wake up a PCI device if its PME Status bit is set.
2367 * Check if @dev has generated PME and queue a resume request for it in that
2394 * pci_pme_capable - check the capability of PCI device to generate PME#
2396 * @state: PCI state from which device will issue PME#.
2467 /* Clear PME_Status by writing 1 to it and enable PME# */ in __pci_pme_active()
2476 * pci_pme_restore - Restore PME configuration after config space restore.
2498 * pci_pme_active - enable or disable PCI device's PME# function
2500 * @enable: 'true' to enable PME# generation; 'false' to disable it.
2502 * The caller must verify that the device is capable of generating PME# before
2510 * PCI (as opposed to PCIe) PME requires that the device have in pci_pme_active()
2511 * its PME# line hooked up correctly. Not all hardware vendors in pci_pme_active()
2512 * do this, so the PME never gets delivered and the device in pci_pme_active()
2515 * whether any have their PME flag set. The assumption is that in pci_pme_active()
2520 * Although PCIe uses in-band PME message instead of PME# line in pci_pme_active()
2521 * to report PME, PME does not work for some PCIe devices in in pci_pme_active()
2522 * reality. For example, there are devices that set their PME in pci_pme_active()
2523 * status bits, but don't really bother to send a PME message; in pci_pme_active()
2525 * trigger interrupts when they receive PME messages from the in pci_pme_active()
2526 * devices below. So PME poll is used for PCIe devices too. in pci_pme_active()
2535 pci_warn(dev, "can't enable PME#\n"); in pci_pme_active()
2559 pci_dbg(dev, "PME# %s\n", enable ? "enabled" : "disabled"); in pci_pme_active()
2602 * Anderson we should be doing PME# wake enable followed by ACPI wake in __pci_enable_wake()
2610 * Enable PME signaling if the device can signal PME from in __pci_enable_wake()
2611 * D3cold regardless of whether or not it can signal PME from in __pci_enable_wake()
2613 * signal PME when the hierarchy above it goes into D3cold and in __pci_enable_wake()
2663 * up the system from sleep or it is not capable of generating PME# from both
2681 * can generate wake events, based on any available PME info.
2720 * PME#. in pci_target_state()
2813 * (through the platform or using the native PCIe PME) or if the device supports
2814 * PME and one of its upstream bridges can generate wake-up events.
2823 /* PME-capable in principle, but not from the target power state */ in pci_dev_run_wake()
2877 * pci_dev_adjust_pme - Adjust PME setting for a suspended device.
2881 * disable PME for it to prevent it from waking up the system unnecessarily.
2904 * If the device is runtime suspended and wakeup-capable, enable PME for it as
3203 /* Check device's ability to generate PME# */ in pci_pm_init()
3234 pci_info(dev, "PME# supported from%s%s%s%s%s\n", in pci_pm_init()
3247 /* Disable the PME# generation functionality */ in pci_pm_init()