Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/pci/pcie/
Dpme.c3 * PCIe Native PME support
10 #define dev_fmt(fmt) "PME: " fmt
25 * If this switch is set, MSI will not be used for PCIe PME signaling. This
27 * that using MSI for PCIe PME signaling doesn't play well with PCIe PME-based
45 bool noirq; /* If set, keep the PME interrupt disabled. */
49 * pcie_pme_interrupt_enable - Enable/disable PCIe PME interrupt generation.
64 * pcie_pme_walk_bus - Scan a PCI bus for devices asserting PME#.
67 * Scan given PCI bus and all buses under it for devices asserting PME#.
93 * pcie_pme_from_pci_bridge - Check if PCIe-PCI bridge generated a PME.
97 * PME from PCI devices under a PCIe-PCI bridge may be converted to an in-band
[all …]
Dportdrv_core.c41 * Fill in *pme, *aer, *dpc with the relevant Interrupt Message Numbers if
46 u32 *pme, u32 *aer, u32 *dpc) in pcie_message_numbers() argument
61 *pme = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9; in pcie_message_numbers()
62 nvec = *pme + 1; in pcie_message_numbers()
104 u32 pme = 0, aer = 0, dpc = 0; in pcie_port_enable_irq_vec() local
113 nvec = pcie_message_numbers(dev, mask, &pme, &aer, &dpc); in pcie_port_enable_irq_vec()
139 /* PME, hotplug and bandwidth notification share an MSI/MSI-X vector */ in pcie_port_enable_irq_vec()
142 pcie_irq = pci_irq_vector(dev, pme); in pcie_port_enable_irq_vec()
173 * If we support PME but can't use MSI/MSI-X for it, we have to in pcie_init_service_irqs()
243 * Disable PME interrupt on this port in case it's been enabled in get_port_device_capability()
[all …]
DMakefile12 obj-$(CONFIG_PCIE_PME) += pme.o
Dportdrv_pci.c231 pr_notice("%s detected: will not use MSI for PCIe PME signaling\n", in dmi_pcie_pme_disable_msi()
239 * Boxes that should not use MSI for PCIe PME signaling.
/Linux-v5.15/Documentation/devicetree/bindings/pci/
Dlayerscape-pcie-gen4.txt18 "pme": Asserted for pme interrupt when chip support the pme interrupt with
19 none MSI/MSI-X/INTx mode,but there is interrupt line for pme.
34 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
36 interrupt-names = "aer", "pme", "intr";
/Linux-v5.15/arch/arm/mach-sa1100/
Dpci-nanoengine.c68 pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
69 pci 0000:00:00.0: PME# disabled
94 pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
95 pci 0000:00:00.0: PME# disabled
116 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
117 Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
/Linux-v5.15/arch/sh/drivers/pci/
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-v5.15/arch/openrisc/mm/
Dinit.c72 pmd_t *pme; in map_ram() local
92 pme = pmd_offset(pue, v); in map_ram()
94 if ((u32) pue != (u32) pge || (u32) pme != (u32) pge) { in map_ram()
105 set_pmd(pme, __pmd(_KERNPG_TABLE + __pa(pte))); in map_ram()
/Linux-v5.15/arch/x86/platform/olpc/
Dolpc-xo1-sci.c370 * Enable EC SCI events, and map them to both a PME and the SCI in setup_ec_sci()
379 * To achieve this, we map the GPIO to a PME, and then we use one in setup_ec_sci()
381 * PME to the regular SCI interrupt line. in setup_ec_sci()
385 /* Set the SCI to cause a PME event on group 7 */ in setup_ec_sci()
419 /* Set the LID to cause an PME event on group 6 */ in setup_lid_events()
422 /* Set PME group 6 to fire the SCI interrupt */ in setup_lid_events()
566 /* Enable PME generation for EC-generated events */ in xo1_sci_probe()
/Linux-v5.15/tools/vm/
Dpage-types.c473 static uint64_t expand_overloaded_flags(uint64_t flags, uint64_t pme) in expand_overloaded_flags() argument
489 if (pme & PM_SOFT_DIRTY) in expand_overloaded_flags()
491 if (pme & PM_FILE) in expand_overloaded_flags()
493 if (pme & PM_SWAP) in expand_overloaded_flags()
495 if (pme & PM_MMAP_EXCLUSIVE) in expand_overloaded_flags()
513 static uint64_t kpageflags_flags(uint64_t flags, uint64_t pme) in kpageflags_flags() argument
516 flags = expand_overloaded_flags(flags, pme); in kpageflags_flags()
635 uint64_t pme) in add_page() argument
637 flags = kpageflags_flags(flags, pme); in add_page()
666 uint64_t pme) in walk_pfn() argument
[all …]
/Linux-v5.15/drivers/gpio/
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-v5.15/drivers/platform/x86/intel/
Dint0002_vgpio.c14 * Management Event (PME) to the Power Management Controller (PMC) to wakeup
15 * the system. When this happens software needs to clear the PME bus 0 status
20 * handler to call when the PME triggers through _AEI and _L02 / _E02
22 * is a hack to define an AML event handler for the PME while using existing
DKconfig61 Power Management Event (PME) to the Power Management Controller (PMC)
63 clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
68 event handler to call when the PME triggers through _AEI and _L02
/Linux-v5.15/arch/nds32/mm/
Dinit.c56 pmd_t *pme; in map_ram() local
72 pme = pmd_offset(pue, v); in map_ram()
74 if ((u32) pue != (u32) pge || (u32) pme != (u32) pge) { in map_ram()
84 set_pmd(pme, __pmd(__pa(pte) + _PAGE_KERNEL_TABLE)); in map_ram()
/Linux-v5.15/arch/powerpc/sysdev/
Dfsl_pci.h67 __be32 pex_pme_mes_dr; /* 0x.020 - PCIE PME and message detect register */
68 __be32 pex_pme_mes_disr; /* 0x.024 - PCIE PME and message disable register */
69 __be32 pex_pme_mes_ier; /* 0x.028 - PCIE PME and message interrupt enable register */
/Linux-v5.15/Documentation/devicetree/bindings/pinctrl/
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-v5.15/drivers/pci/
Dpci.c63 #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#
[all …]
/Linux-v5.15/drivers/pci/controller/
Dpci-tegra.c283 } pme; member
1518 val |= (0x1 << soc->ports[port->index].pme.turnoff_bit); in tegra_pcie_pme_turnoff()
1521 ack_bit = soc->ports[port->index].pme.ack_bit; in tegra_pcie_pme_turnoff()
1525 dev_err(pcie->dev, "PME Ack is not received on port: %d\n", in tegra_pcie_pme_turnoff()
1531 val &= ~(0x1 << soc->ports[port->index].pme.turnoff_bit); in tegra_pcie_pme_turnoff()
2391 { .pme.turnoff_bit = 0, .pme.ack_bit = 5 },
2392 { .pme.turnoff_bit = 8, .pme.ack_bit = 10 },
2417 { .pme.turnoff_bit = 0, .pme.ack_bit = 5 },
2418 { .pme.turnoff_bit = 8, .pme.ack_bit = 10 },
2419 { .pme.turnoff_bit = 16, .pme.ack_bit = 18 },
[all …]
/Linux-v5.15/Documentation/x86/
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-v5.15/fs/proc/
Dtask_mmu.c1283 u64 pme; member
1309 return (pagemap_entry_t) { .pme = (frame & PM_PFRAME_MASK) | flags }; in make_pme()
1312 static int add_to_pagemap(unsigned long addr, pagemap_entry_t *pme, in add_to_pagemap() argument
1315 pm->buffer[pm->pos++] = *pme; in add_to_pagemap()
1330 pagemap_entry_t pme = make_pme(0, 0); in pagemap_pte_hole() local
1340 err = add_to_pagemap(addr, &pme, pm); in pagemap_pte_hole()
1350 pme = make_pme(0, PM_SOFT_DIRTY); in pagemap_pte_hole()
1352 err = add_to_pagemap(addr, &pme, pm); in pagemap_pte_hole()
1457 pagemap_entry_t pme = make_pme(frame, flags); in pagemap_pmd_range() local
1459 err = add_to_pagemap(addr, &pme, pm); in pagemap_pmd_range()
[all …]
/Linux-v5.15/include/uapi/linux/
Dpci_regs.h239 #define PCI_PM_CAP_PME_CLOCK 0x0008 /* PME clock required */
245 #define PCI_PM_CAP_PME 0x0800 /* PME pin supported */
246 #define PCI_PM_CAP_PME_MASK 0xF800 /* PME Mask of all supported states */
247 #define PCI_PM_CAP_PME_D0 0x0800 /* PME# from D0 */
248 #define PCI_PM_CAP_PME_D1 0x1000 /* PME# from D1 */
249 #define PCI_PM_CAP_PME_D2 0x2000 /* PME# from D2 */
250 #define PCI_PM_CAP_PME_D3hot 0x4000 /* PME# from D3 (hot) */
251 #define PCI_PM_CAP_PME_D3cold 0x8000 /* PME# from D3 (cold) */
252 #define PCI_PM_CAP_PME_SHIFT 11 /* Start of the PME Mask in PMC */
256 #define PCI_PM_CTRL_PME_ENABLE 0x0100 /* PME pin enable */
[all …]
/Linux-v5.15/drivers/usb/host/
Duhci-pci.c55 /* Disable platform-specific non-PME# wakeup */ in uhci_pci_configure_hc()
133 /* Intel controllers use non-PME wakeup signalling */ in uhci_pci_init()
190 /* Enable platform-specific non-PME# wakeup */ in uhci_pci_suspend()
/Linux-v5.15/Documentation/PCI/
Dpciebus-howto.rst35 power management event support (PME), advanced error reporting
205 Service drivers for PCI Express Power Management (PME), Advanced
218 between PME and AER. This patch assumes that all service drivers
/Linux-v5.15/include/linux/ssb/
Dssb_driver_pci.h31 #define SSB_PCICORE_ISTAT_PME 0x00000010 /* PCI PME# */
37 #define SSB_PCICORE_IMASK_PME 0x00000010 /* PCI PME# */
/Linux-v5.15/arch/arm64/boot/dts/freescale/
Dfsl-lx2160a.dtsi1096 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1098 interrupt-names = "aer", "pme", "intr";
1124 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1126 interrupt-names = "aer", "pme", "intr";
1152 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1154 interrupt-names = "aer", "pme", "intr";
1180 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1182 interrupt-names = "aer", "pme", "intr";
1208 <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1210 interrupt-names = "aer", "pme", "intr";
[all …]

12345