Home
last modified time | relevance | path

Searched full:pme (Results 1 – 25 of 100) sorted by relevance

1234

/linux/drivers/pci/pcie/
H A Dpme.c3 * PCIe Native PME support
10 #define dev_fmt(fmt) "PME: " fmt
26 * If this switch is set, MSI will not be used for PCIe PME signaling. This
28 * that using MSI for PCIe PME signaling doesn't play well with PCIe PME-based
46 bool noirq; /* If set, keep the PME interrupt disabled. */
50 * pcie_pme_interrupt_enable - Enable/disable PCIe PME interrupt generation.
65 * pcie_pme_walk_bus - Scan a PCI bus for devices asserting PME#.
68 * Scan given PCI bus and all buses under it for devices asserting PME#.
94 * pcie_pme_from_pci_bridge - Check if PCIe-PCI bridge generated a PME.
98 * PME from PCI devices under a PCIe-PCI bridge may be converted to an in-band
[all …]
H A Dportdrv.c53 * Fill in *pme, *aer, *dpc with the relevant Interrupt Message Numbers if
58 u32 *pme, u32 *aer, u32 *dpc) in pcie_message_numbers() argument
73 *pme = FIELD_GET(PCI_EXP_FLAGS_IRQ, reg16); in pcie_message_numbers()
74 nvec = *pme + 1; in pcie_message_numbers()
116 u32 pme = 0, aer = 0, dpc = 0; in pcie_port_enable_irq_vec() local
125 nvec = pcie_message_numbers(dev, mask, &pme, &aer, &dpc); in pcie_port_enable_irq_vec()
151 /* PME, hotplug and bandwidth notification share an MSI/MSI-X vector */ in pcie_port_enable_irq_vec()
154 pcie_irq = pci_irq_vector(dev, pme); in pcie_port_enable_irq_vec()
185 * If we support PME but can't use MSI/MSI-X for it, we have to in pcie_init_service_irqs()
254 * Disable PME interrupt on this port in case it's been enabled in get_port_device_capability()
[all …]
/linux/arch/sh/drivers/pci/
H A Dpci-sh7751.h89 #define SH7751_PCICONF16_PMES 0xF8000000 /* PME Support */
93 #define SH7751_PCICONF16_PMCK 0x00080000 /* Clock for PME req. */
99 #define SH7751_PCICONF17_PMES 0x00800000 /* PME Status */
102 #define SH7751_PCICONF17_PMEN 0x00010000 /* PME Enable */
/linux/tools/mm/
H A Dpage-types.c473 static uint64_t expand_overloaded_flags(uint64_t flags, uint64_t pme) in expand_overloaded_flags() argument
491 if (pme & PM_SOFT_DIRTY) in expand_overloaded_flags()
493 if (pme & PM_FILE) in expand_overloaded_flags()
495 if (pme & PM_SWAP) in expand_overloaded_flags()
497 if (pme & PM_MMAP_EXCLUSIVE) in expand_overloaded_flags()
515 static uint64_t kpageflags_flags(uint64_t flags, uint64_t pme) in kpageflags_flags() argument
518 flags = expand_overloaded_flags(flags, pme); in kpageflags_flags()
637 uint64_t pme) in add_page() argument
639 flags = kpageflags_flags(flags, pme); in add_page()
668 uint64_t pme) in walk_pfn() argument
[all …]
/linux/drivers/gpio/
H A Dgpio-cs5535.c23 * 26 : PME#
165 void cs5535_gpio_setup_event(unsigned offset, int pair, int pme) in cs5535_gpio_setup_event() argument
190 /* Set the PME bit if this is a PME event */ in cs5535_gpio_setup_event()
191 if (pme) in cs5535_gpio_setup_event()
/linux/Documentation/devicetree/bindings/pci/
H A Dbaikal,bt1-pcie.yaml42 MSI, AER, PME, Hot-plug, Link Bandwidth Management, Link Equalization
58 - const: pme
151 "msi", "aer", "pme", "hp", "bw_mg",
H A Dsnps,dw-pcie.yaml184 PME message is received by the port. That means having the PME
187 const: pme
/linux/arch/powerpc/sysdev/
H A Dfsl_pci.h68 __be32 pex_pme_mes_dr; /* 0x.020 - PCIE PME and message detect register */
69 __be32 pex_pme_mes_disr; /* 0x.024 - PCIE PME and message disable register */
70 __be32 pex_pme_mes_ier; /* 0x.028 - PCIE PME and message interrupt enable register */
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,orion-pinctrl.txt26 mpp2 2 gpio, pci(req3), pci-1(pme)
51 mpp2 2 gpio, pci(req3), pci-1(pme)
76 mpp2 2 gpio, pci(req3), pci(pme)
/linux/Documentation/devicetree/bindings/usb/
H A Drenesas,rzg3e-xhci.yaml40 - const: pme
89 interrupt-names = "all", "smi", "hse", "pme", "xhc";
/linux/drivers/pci/
H A Dpci.c66 #define PME_TIMEOUT 1000 /* How long between PME checks */
2252 * pcie_clear_root_pme_status - Clear root port PME interrupt status.
2261 * pci_check_pme_status - Check if given device has generated PME.
2264 * Check the PME status of the device and if set, clear it and clear PME enable
2265 * (if set). Return 'true' if PME status and PME enable were both set or
2282 /* Clear PME status. */ in pci_check_pme_status()
2285 /* Disable PME to avoid interrupt flood. */ in pci_check_pme_status()
2296 * pci_pme_wakeup - Wake up a PCI device if its PME Status bit is set.
2300 * Check if @dev has generated PME and queue a resume request for it in that
2327 * pci_pme_capable - check the capability of PCI device to generate PME#
[all …]
/linux/drivers/net/ethernet/asix/
H A Dax88796c_main.h186 #define WFCR_PMEIND BIT(0) /* PME indication */
187 #define WFCR_PMETYPE BIT(1) /* PME I/O type */
188 #define WFCR_PMEPOL BIT(2) /* PME polarity */
189 #define WFCR_PMERST BIT(3) /* Reset PME */
197 #define WFCR_PMEEN BIT(11) /* Enable PME pin */
201 #define WFCR_PMES BIT(15) /* PME pin status */
/linux/Documentation/arch/x86/
H A Dearlyprintk.rst33 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
34 Status: D0 PME-Enable- DSel=0 DScale=0 PME+
/linux/Documentation/translations/zh_CN/PCI/
H A Dpciebus-howto.rst41 其端口类型。PCI Express端口的服务包括本地热拔插支持(HP)、电源管理事件支持(PME)、
183 PCI Express电源管理(PME)、高级错误报告(AER)、热插拔(HP)和虚拟通道(VC)的服务
/linux/drivers/usb/host/
H A Duhci-pci.c55 /* Disable platform-specific non-PME# wakeup */ in uhci_pci_configure_hc()
135 /* Intel controllers use non-PME wakeup signalling */ in uhci_pci_init()
192 /* Enable platform-specific non-PME# wakeup */ in uhci_pci_suspend()
/linux/include/uapi/linux/
H A Dpci_regs.h248 #define PCI_PM_CAP_PME_CLOCK 0x0008 /* PME clock required */
254 #define PCI_PM_CAP_PME 0x0800 /* PME pin supported */
255 #define PCI_PM_CAP_PME_MASK 0xF800 /* PME Mask of all supported states */
256 #define PCI_PM_CAP_PME_D0 0x0800 /* PME# from D0 */
257 #define PCI_PM_CAP_PME_D1 0x1000 /* PME# from D1 */
258 #define PCI_PM_CAP_PME_D2 0x2000 /* PME# from D2 */
259 #define PCI_PM_CAP_PME_D3hot 0x4000 /* PME# from D3 (hot) */
260 #define PCI_PM_CAP_PME_D3cold 0x8000 /* PME# from D3 (cold) */
261 #define PCI_PM_CAP_PME_SHIFT 11 /* Start of the PME Mask in PMC */
265 #define PCI_PM_CTRL_PME_ENABLE 0x0100 /* PME pin enable */
[all …]
/linux/include/linux/ssb/
H A Dssb_driver_pci.h31 #define SSB_PCICORE_ISTAT_PME 0x00000010 /* PCI PME# */
37 #define SSB_PCICORE_IMASK_PME 0x00000010 /* PCI PME# */
/linux/fs/proc/
H A Dtask_mmu.c1849 u64 pme; member
1876 return (pagemap_entry_t) { .pme = (frame & PM_PFRAME_MASK) | flags }; in make_pme()
1879 static int add_to_pagemap(pagemap_entry_t *pme, struct pagemapread *pm) in add_to_pagemap() argument
1881 pm->buffer[pm->pos++] = *pme; in add_to_pagemap()
1903 pagemap_entry_t pme = make_pme(0, 0); in pagemap_pte_hole() local
1913 err = add_to_pagemap(&pme, pm); in pagemap_pte_hole()
1923 pme = make_pme(0, PM_SOFT_DIRTY); in pagemap_pte_hole()
1925 err = add_to_pagemap(&pme, pm); in pagemap_pte_hole()
2058 pagemap_entry_t pme; in pagemap_pmd_range_thp() local
2064 pme = make_pme(frame, cur_flags); in pagemap_pmd_range_thp()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_wow.c297 * AR_PMCTRL_HOST_PME_EN - Override PME enable in configuration in ath9k_hw_wow_enable()
307 * Set the power states appropriately and enable PME. in ath9k_hw_wow_enable()
415 * Set the power states appropriately and enable PME. in ath9k_hw_wow_enable()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddm_pp_smu.h137 /* PME w/a */
197 /* PME w/a */
/linux/drivers/pci/controller/
H A Dpci-aardvark.c595 /* Unmask PME interrupt for processing of PME requester */ in advk_pcie_setup_hw()
1559 * the requester ID only when PME was not asserted yet. in advk_pcie_handle_pme()
1560 * Also do not trigger PME interrupt when PME is still asserted. in advk_pcie_handle_pme()
1566 * Trigger PME interrupt only if PMEIE bit in Root Control is set. in advk_pcie_handle_pme()
1573 dev_err_ratelimited(&pcie->pdev->dev, "unhandled PME IRQ\n"); in advk_pcie_handle_pme()
1612 /* Process PME interrupt as the first one to do not miss PME requester id */ in advk_pcie_handle_int()
/linux/drivers/pci/controller/dwc/
H A Dpci-layerscape-ep.c24 /* PEX PFa PCIE PME and message interrupt registers*/
121 pcie->irq = platform_get_irq_byname(pdev, "pme"); in ls_pcie_ep_interrupt_init()
/linux/arch/sh/include/mach-landisk/mach/
H A Diodata_landisk.h22 #define PA_PCIPME 0xb0000004 /* PCI PME Status Register */
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a.dtsi655 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
657 interrupt-names = "pme", "aer";
682 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
683 interrupt-names = "pme";
696 interrupt-names = "pme", "aer";
721 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
722 interrupt-names = "pme";
/linux/drivers/media/rc/
H A Dfintek-cir.c223 /* Allow CIR PME's to wake system */ in fintek_enable_wake()
225 /* Enable CIR PME's */ in fintek_enable_wake()
227 /* Clear CIR PME status register */ in fintek_enable_wake()

1234