Home
last modified time | relevance | path

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

1234567

/openbmc/linux/drivers/pci/pcie/
H A 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 …]
H A Dportdrv.c52 * Fill in *pme, *aer, *dpc with the relevant Interrupt Message Numbers if
57 u32 *pme, u32 *aer, u32 *dpc) in pcie_message_numbers() argument
72 *pme = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9; in pcie_message_numbers()
73 nvec = *pme + 1; in pcie_message_numbers()
115 u32 pme = 0, aer = 0, dpc = 0; in pcie_port_enable_irq_vec() local
124 nvec = pcie_message_numbers(dev, mask, &pme, &aer, &dpc); in pcie_port_enable_irq_vec()
150 /* PME, hotplug and bandwidth notification share an MSI/MSI-X vector */ in pcie_port_enable_irq_vec()
153 pcie_irq = pci_irq_vector(dev, pme); in pcie_port_enable_irq_vec()
184 * If we support PME but can't use MSI/MSI-X for it, we have to in pcie_init_service_irqs()
251 * Disable PME interrupt on this port in case it's been enabled in get_port_device_capability()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pci/
H A 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";
H A Dlayerscape-pci.txt37 "pme": Used for interrupt line which reports PME events when
41 events(could include AER and PME events).
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.yaml180 PME message is received by the port. That means having the PME
183 const: pme
/openbmc/u-boot/drivers/net/
H A Dnatsemi.c353 /* D0 state, disable PME assertion */ in natsemi_initialize()
399 /* Disable PME: in natsemi_initialize()
400 * The PME bit is initialized from the EEPROM contents. in natsemi_initialize()
401 * PCI cards probably have PME disabled, but motherboard in natsemi_initialize()
402 * implementations may have PME set to enable WakeOnLan. in natsemi_initialize()
403 * With PME set the chip will scan incoming packets but in natsemi_initialize()
563 /* Disable PME: in natsemi_init()
564 * The PME bit is initialized from the EEPROM contents. in natsemi_init()
565 * PCI cards probably have PME disabled, but motherboard in natsemi_init()
566 * implementations may have PME set to enable WakeOnLan. in natsemi_init()
[all …]
H A Dns8382x.c357 if (tmp & (0x03 | 0x100)) { /* D0 state, disable PME assertion */ in ns8382x_initialize()
423 /* Disable PME: in ns8382x_initialize()
424 * The PME bit is initialized from the EEPROM contents. in ns8382x_initialize()
425 * PCI cards probably have PME disabled, but motherboard in ns8382x_initialize()
426 * implementations may have PME set to enable WakeOnLan. in ns8382x_initialize()
427 * With PME set the chip will scan incoming packets but in ns8382x_initialize()
537 /* Disable PME: in ns8382x_init()
538 * The PME bit is initialized from the EEPROM contents. in ns8382x_init()
539 * PCI cards probably have PME disabled, but motherboard in ns8382x_init()
540 * implementations may have PME set to enable WakeOnLan. in ns8382x_init()
[all …]
/openbmc/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 */
/openbmc/linux/arch/x86/platform/olpc/
H A 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()
/openbmc/linux/tools/mm/
H A Dpage-types.c474 static uint64_t expand_overloaded_flags(uint64_t flags, uint64_t pme) in expand_overloaded_flags() argument
492 if (pme & PM_SOFT_DIRTY) in expand_overloaded_flags()
494 if (pme & PM_FILE) in expand_overloaded_flags()
496 if (pme & PM_SWAP) in expand_overloaded_flags()
498 if (pme & PM_MMAP_EXCLUSIVE) in expand_overloaded_flags()
516 static uint64_t kpageflags_flags(uint64_t flags, uint64_t pme) in kpageflags_flags() argument
519 flags = expand_overloaded_flags(flags, pme); in kpageflags_flags()
638 uint64_t pme) in add_page() argument
640 flags = kpageflags_flags(flags, pme); in add_page()
669 uint64_t pme) in walk_pfn() argument
[all …]
/openbmc/u-boot/drivers/misc/
H A Dfsl_portals.c160 if (!strncmp(name, "pme", 3)) { in fdt_qportal()
168 "fsl,pme-rev1", &pme_rev1, in fdt_qportal()
173 "fsl,pme-rev2", &pme_rev2, in fdt_qportal()
253 err = fdt_qportal(blob, off, i, "pme@0", FSL_HW_PORTAL_PME, 1); in fdt_fixup_qportals()
257 fdt_qportal(blob, off, i, "pme@0", FSL_HW_PORTAL_PME, 0); in fdt_fixup_qportals()
/openbmc/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()
/openbmc/linux/arch/openrisc/mm/
H A Dinit.c69 pmd_t *pme; in map_ram() local
89 pme = pmd_offset(pue, v); in map_ram()
91 if ((u32) pue != (u32) pge || (u32) pme != (u32) pge) { in map_ram()
102 set_pmd(pme, __pmd(_KERNPG_TABLE + __pa(pte))); in map_ram()
/openbmc/linux/drivers/platform/x86/intel/
H A 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
H A DKconfig50 Power Management Event (PME) to the Power Management Controller (PMC)
52 clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
57 event handler to call when the PME triggers through _AEI and _L02
/openbmc/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 */
/openbmc/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)
/openbmc/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 */
/openbmc/linux/fs/proc/
H A Dtask_mmu.c1332 u64 pme; member
1358 return (pagemap_entry_t) { .pme = (frame & PM_PFRAME_MASK) | flags }; in make_pme()
1361 static int add_to_pagemap(pagemap_entry_t *pme, struct pagemapread *pm) in add_to_pagemap() argument
1363 pm->buffer[pm->pos++] = *pme; in add_to_pagemap()
1378 pagemap_entry_t pme = make_pme(0, 0); in pagemap_pte_hole() local
1388 err = add_to_pagemap(&pme, pm); in pagemap_pte_hole()
1398 pme = make_pme(0, PM_SOFT_DIRTY); in pagemap_pte_hole()
1400 err = add_to_pagemap(&pme, pm); in pagemap_pte_hole()
1520 pagemap_entry_t pme; in pagemap_pmd_range() local
1526 pme = make_pme(frame, cur_flags); in pagemap_pmd_range()
[all …]
/openbmc/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+
/openbmc/linux/drivers/pci/controller/
H A Dpci-tegra.c283 } pme; member
1515 val |= (0x1 << soc->ports[port->index].pme.turnoff_bit); in tegra_pcie_pme_turnoff()
1518 ack_bit = soc->ports[port->index].pme.ack_bit; in tegra_pcie_pme_turnoff()
1522 dev_err(pcie->dev, "PME Ack is not received on port: %d\n", in tegra_pcie_pme_turnoff()
1528 val &= ~(0x1 << soc->ports[port->index].pme.turnoff_bit); in tegra_pcie_pme_turnoff()
2389 { .pme.turnoff_bit = 0, .pme.ack_bit = 5 },
2390 { .pme.turnoff_bit = 8, .pme.ack_bit = 10 },
2415 { .pme.turnoff_bit = 0, .pme.ack_bit = 5 },
2416 { .pme.turnoff_bit = 8, .pme.ack_bit = 10 },
2417 { .pme.turnoff_bit = 16, .pme.ack_bit = 18 },
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1046a.dtsi806 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
807 interrupt-names = "aer", "pme";
832 interrupt-names = "pme";
845 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
846 interrupt-names = "aer", "pme";
871 interrupt-names = "pme";
884 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
885 interrupt-names = "aer", "pme";
910 interrupt-names = "pme";
/openbmc/linux/drivers/pci/
H A Dpci.c65 #define PME_TIMEOUT 1000 /* How long between PME checks */
2369 * pcie_clear_root_pme_status - Clear root port PME interrupt status.
2378 * pci_check_pme_status - Check if given device has generated PME.
2381 * Check the PME status of the device and if set, clear it and clear PME enable
2382 * (if set). Return 'true' if PME status and PME enable were both set or
2399 /* Clear PME status. */ in pci_check_pme_status()
2402 /* Disable PME to avoid interrupt flood. */ in pci_check_pme_status()
2413 * pci_pme_wakeup - Wake up a PCI device if its PME Status bit is set.
2417 * Check if @dev has generated PME and queue a resume request for it in that
2444 * pci_pme_capable - check the capability of PCI device to generate PME#
[all …]
/openbmc/qemu/hw/ide/
H A Dich.c38 * Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
39 * Status: D0 PME-Enable- DSel=0 DScale=0 PME-

1234567