Lines Matching full:pme
63 #define PME_TIMEOUT 1000 /* How long between PME checks */
2283 * pcie_clear_root_pme_status - Clear root port PME interrupt status.
2292 * pci_check_pme_status - Check if given device has generated PME.
2295 * Check the PME status of the device and if set, clear it and clear PME enable
2296 * (if set). Return 'true' if PME status and PME enable were both set or
2313 /* Clear PME status. */ in pci_check_pme_status()
2316 /* Disable PME to avoid interrupt flood. */ in pci_check_pme_status()
2327 * pci_pme_wakeup - Wake up a PCI device if its PME Status bit is set.
2331 * Check if @dev has generated PME and queue a resume request for it in that
2358 * pci_pme_capable - check the capability of PCI device to generate PME#
2360 * @state: PCI state from which device will issue PME#.
2431 /* Clear PME_Status by writing 1 to it and enable PME# */ in __pci_pme_active()
2440 * pci_pme_restore - Restore PME configuration after config space restore.
2462 * pci_pme_active - enable or disable PCI device's PME# function
2464 * @enable: 'true' to enable PME# generation; 'false' to disable it.
2466 * The caller must verify that the device is capable of generating PME# before
2474 * PCI (as opposed to PCIe) PME requires that the device have in pci_pme_active()
2475 * its PME# line hooked up correctly. Not all hardware vendors in pci_pme_active()
2476 * do this, so the PME never gets delivered and the device in pci_pme_active()
2479 * whether any have their PME flag set. The assumption is that in pci_pme_active()
2484 * Although PCIe uses in-band PME message instead of PME# line in pci_pme_active()
2485 * to report PME, PME does not work for some PCIe devices in in pci_pme_active()
2486 * reality. For example, there are devices that set their PME in pci_pme_active()
2487 * status bits, but don't really bother to send a PME message; in pci_pme_active()
2489 * trigger interrupts when they receive PME messages from the in pci_pme_active()
2490 * devices below. So PME poll is used for PCIe devices too. in pci_pme_active()
2499 pci_warn(dev, "can't enable PME#\n"); in pci_pme_active()
2523 pci_dbg(dev, "PME# %s\n", enable ? "enabled" : "disabled"); in pci_pme_active()
2566 * Anderson we should be doing PME# wake enable followed by ACPI wake in __pci_enable_wake()
2574 * Enable PME signaling if the device can signal PME from in __pci_enable_wake()
2575 * D3cold regardless of whether or not it can signal PME from in __pci_enable_wake()
2577 * signal PME when the hierarchy above it goes into D3cold and in __pci_enable_wake()
2627 * up the system from sleep or it is not capable of generating PME# from both
2645 * can generate wake events, based on any available PME info.
2684 * PME#. in pci_target_state()
2777 * (through the platform or using the native PCIe PME) or if the device supports
2778 * PME and one of its upstream bridges can generate wake-up events.
2787 /* PME-capable in principle, but not from the target power state */ in pci_dev_run_wake()
2841 * pci_dev_adjust_pme - Adjust PME setting for a suspended device.
2845 * disable PME for it to prevent it from waking up the system unnecessarily.
2868 * If the device is runtime suspended and wakeup-capable, enable PME for it as
3177 /* Check device's ability to generate PME# */ in pci_pm_init()
3208 pci_info(dev, "PME# supported from%s%s%s%s%s\n", in pci_pm_init()
3221 /* Disable the PME# generation functionality */ in pci_pm_init()