Lines Matching full:pme

63 #define PME_TIMEOUT 1000 /* How long between PME checks */
2230 * pcie_clear_root_pme_status - Clear root port PME interrupt status.
2239 * pci_check_pme_status - Check if given device has generated PME.
2242 * Check the PME status of the device and if set, clear it and clear PME enable
2243 * (if set). Return 'true' if PME status and PME enable were both set or
2260 /* Clear PME status. */ in pci_check_pme_status()
2263 /* Disable PME to avoid interrupt flood. */ in pci_check_pme_status()
2274 * pci_pme_wakeup - Wake up a PCI device if its PME Status bit is set.
2278 * Check if @dev has generated PME and queue a resume request for it in that
2305 * pci_pme_capable - check the capability of PCI device to generate PME#
2307 * @state: PCI state from which device will issue PME#.
2362 /* Clear PME_Status by writing 1 to it and enable PME# */ in __pci_pme_active()
2371 * pci_pme_restore - Restore PME configuration after config space restore.
2393 * pci_pme_active - enable or disable PCI device's PME# function
2395 * @enable: 'true' to enable PME# generation; 'false' to disable it.
2397 * The caller must verify that the device is capable of generating PME# before
2405 * PCI (as opposed to PCIe) PME requires that the device have in pci_pme_active()
2406 * its PME# line hooked up correctly. Not all hardware vendors in pci_pme_active()
2407 * do this, so the PME never gets delivered and the device in pci_pme_active()
2410 * whether any have their PME flag set. The assumption is that in pci_pme_active()
2415 * Although PCIe uses in-band PME message instead of PME# line in pci_pme_active()
2416 * to report PME, PME does not work for some PCIe devices in in pci_pme_active()
2417 * reality. For example, there are devices that set their PME in pci_pme_active()
2418 * status bits, but don't really bother to send a PME message; in pci_pme_active()
2420 * trigger interrupts when they receive PME messages from the in pci_pme_active()
2421 * devices below. So PME poll is used for PCIe devices too. in pci_pme_active()
2430 pci_warn(dev, "can't enable PME#\n"); in pci_pme_active()
2454 pci_dbg(dev, "PME# %s\n", enable ? "enabled" : "disabled"); in pci_pme_active()
2497 * Anderson we should be doing PME# wake enable followed by ACPI wake in __pci_enable_wake()
2505 * Enable PME signaling if the device can signal PME from in __pci_enable_wake()
2506 * D3cold regardless of whether or not it can signal PME from in __pci_enable_wake()
2508 * signal PME when the hierarchy above it goes into D3cold and in __pci_enable_wake()
2558 * up the system from sleep or it is not capable of generating PME# from both
2576 * can generate wake events, based on any available PME info.
2620 * PME#. in pci_target_state()
2735 * (through the platform or using the native PCIe PME) or if the device supports
2736 * PME and one of its upstream bridges can generate wake-up events.
2745 /* PME-capable in principle, but not from the target power state */ in pci_dev_run_wake()
2799 * pci_dev_adjust_pme - Adjust PME setting for a suspended device.
2803 * disable PME for it to prevent it from waking up the system unnecessarily.
2826 * If the device is runtime suspended and wakeup-capable, enable PME for it as
3085 /* Check device's ability to generate PME# */ in pci_pm_init()
3116 pci_info(dev, "PME# supported from%s%s%s%s%s\n", in pci_pm_init()
3129 /* Disable the PME# generation functionality */ in pci_pm_init()