Home
last modified time | relevance | path

Searched full:gpe (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/platform/surface/
H A Dsurface_gpe.c3 * Surface GPE/Lid driver to enable wakeup from suspend via the lid by
19 * Note: The GPE numbers for the lid devices found below have been obtained
20 * from ACPI/the DSDT table, specifically from the GPE handler for the
25 PROPERTY_ENTRY_U32("gpe", 0x17),
30 PROPERTY_ENTRY_U32("gpe", 0x4B),
35 PROPERTY_ENTRY_U32("gpe", 0x4D),
40 PROPERTY_ENTRY_U32("gpe", 0x4F),
45 PROPERTY_ENTRY_U32("gpe", 0x57),
209 dev_err(dev, "failed to set GPE wake mask: %s\n", in surface_lid_enable_wakeup()
236 ret = device_property_read_u32(&pdev->dev, "gpe", &gpe_number); in surface_gpe_probe()
[all …]
/linux/Documentation/ABI/testing/
H A Ddebugfs-ec1 What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io}
6 General information like which GPE is assigned to the EC and whether
8 Knowing the EC GPE one can watch the amount of HW events related to
9 the EC here (XY -> GPE number from `/sys/kernel/debug/ec/*/gpe`):
/linux/drivers/acpi/
H A Dec.c128 * this threshold, will think there is a GPE storm happened and
129 * will disable the GPE for normal transaction.
133 MODULE_PARM_DESC(ec_storm_threshold, "Maxim false GPE numbers not considered as GPE storm");
184 static int EC_FLAGS_TRUST_DSDT_GPE; /* Needs DSDT GPE as correction setting */
334 * GPE Registers
341 (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); in acpi_ec_gpe_status_set()
348 acpi_enable_gpe(NULL, ec->gpe); in acpi_ec_enable_gpe()
351 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); in acpi_ec_enable_gpe()
355 * On some platforms, EN=1 writes cannot trigger GPE. So in acpi_ec_enable_gpe()
356 * software need to manually trigger a pseudo GPE event on in acpi_ec_enable_gpe()
[all …]
H A Dec_sys.c122 debugfs_create_x32("gpe", 0444, dev_dir, &first_ec->gpe); in acpi_ec_add_debugfs()
H A Dsleep.c651 * Disable all GPE and clear their status bits before interrupts are in acpi_suspend_enter()
791 * Check non-EC GPE wakeups and if there are none, cancel the in acpi_s2idle_wake()
792 * SCI-related wakeup and dispatch the EC GPE. in acpi_s2idle_wake()
795 pm_pr_dbg("ACPI non-EC GPE wakeup\n"); in acpi_s2idle_wake()
827 acpi_os_wait_events_complete(); /* synchronize GPE processing */ in acpi_s2idle_restore()
H A Dwakeup.c35 * the wakeup enable mask bits in the GPE registers that correspond to wakeup
H A Ddevice_pm.c568 * bridge itself doesn't have a wakeup GPE associated with it.
736 /* ACPI GPE is specified in _PRW. */ in acpi_dev_pm_get_state()
885 acpi_handle_debug(adev->handle, "GPE%2X enabled for wakeup\n", in __acpi_device_wakeup_enable()
904 * Enable the GPE associated with @adev so that it can generate wakeup signals
920 * Disable the GPE associated with @adev and disable wakeup power for it.
/linux/arch/arm/boot/dts/samsung/
H A Ds3c64xx-pinctrl.dtsi47 gpe: gpe-gpio-bank { label
341 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
347 samsung,pins = "gpe-1";
380 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
386 samsung,pins = "gpe-1";
398 samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4";
/linux/drivers/input/keyboard/
H A Dapplespi.c31 * of exchanges: reads, and writes. A read is signaled by a GPE, upon which one
34 * receiving a GPE, reading the response message. Write exchanges cannot be
390 int gpe; member
1546 acpi_finish_gpe(NULL, applespi->gpe); in applespi_async_read_complete()
1549 static u32 applespi_notify(acpi_handle gpe_device, u32 gpe, void *context) in applespi_notify() argument
1614 unsigned long long gpe, usb_status; in applespi_probe() local
1727 acpi_sts = acpi_evaluate_integer(spi_handle, "_GPE", NULL, &gpe); in applespi_probe()
1730 "Failed to obtain GPE for SPI slave device: %s\n", in applespi_probe()
1734 applespi->gpe = (int)gpe; in applespi_probe()
1736 acpi_sts = acpi_install_gpe_handler(NULL, applespi->gpe, in applespi_probe()
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dudp_tunnel_nic.sh134 type_name="vxlan-gpe"
445 new_vxlan vxlanG0 30001 $NSIM_NETDEV 4 "gpe external"
448 new_vxlan vxlanG1 30002 $NSIM_NETDEV 4 "gpe external"
450 new_vxlan vxlanG2 30002 $NSIM_NETDEV 6 "gpe external"
502 new_vxlan vxlanG0 30001 $NSIM_NETDEV 4 "gpe external"
505 new_vxlan vxlanG1 30002 $NSIM_NETDEV 4 "gpe external"
507 new_vxlan vxlanG2 30002 $NSIM_NETDEV 6 "gpe external"
/linux/Documentation/networking/
H A Dvxlan.rst86 Types: geneve, vxlan-gpe
88 port 1230, vxlan-gpe
/linux/drivers/acpi/acpica/
H A Ddbdisply.c719 * DESCRIPTION: Display the current GPE structures
745 /* Walk the GPE lists */ in acpi_db_display_gpes()
760 gpe_type = "FADT-defined GPE block"; in acpi_db_display_gpes()
762 gpe_type = "GPE Block Device"; in acpi_db_display_gpes()
775 (" GPE range: 0x%X to 0x%X on interrupt %u\n", in acpi_db_display_gpes()
792 /* Examine each GPE Register within the block */ in acpi_db_display_gpes()
798 acpi_os_printf(" Reg %u: (GPE %.2X-%.2X) " in acpi_db_display_gpes()
830 /* This GPE is not used (no method or handler), ignore it */ in acpi_db_display_gpes()
836 (" GPE %.2X: %p RunRefs %2.2X Flags %2.2X (", in acpi_db_display_gpes()
H A Ddbcmds.c1076 * PARAMETERS: gpe_arg - Raw GPE number, ascii string
1077 * block_arg - GPE block number, ascii string
1078 * 0 or 1 for FADT GPE blocks
1082 * DESCRIPTION: Simulate firing of a GPE
1096 * GPE blocks. in acpi_db_generate_gpe()
1109 acpi_os_printf("Invalid GPE\n"); in acpi_db_generate_gpe()
H A Ddbinput.c174 {"GPE", 1},
318 {1, " Event <F|G> <Value>", "Generate AcpiEvent (Fixed/GPE)\n"},
319 {1, " Gpe <GpeNum> [GpeBlockDevice]", "Simulate a GPE\n"},
320 {1, " Gpes", "Display info on all GPE devices\n"},
H A Dhwregs.c406 /* Clear the GPE Bits in all GPE registers in all GPE blocks */ in acpi_hw_clear_acpi_status()
H A Devsci.c116 * DESCRIPTION: Handler for GPE Block Device interrupts
/linux/include/net/
H A Dtun_proto.h7 /* One byte protocol values as defined by VXLAN-GPE and NSH. These will
/linux/Documentation/devicetree/bindings/display/panel/
H A Dfocaltech,gpt3.yaml45 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
H A Dfascontek,fs035vg158.yaml48 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
H A Dleadtek,ltk035c5444t.yaml49 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
H A Dauo,a030jtn01.yaml49 reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dingenic,nemc.yaml92 interrupt-parent = <&gpe>;
/linux/Documentation/arch/arm64/
H A Dacpi_object_usage.rst133 there are no GPE blocks defined in hardware reduced mode. This would
671 Do not use GPE block devices; these are not supported in the hardware reduced
672 profile used by arm64. Since there are no GPE blocks defined for use on ARM
763 - Section 9.10: GPE block devices
/linux/drivers/platform/x86/intel/
H A Dvbtn.c334 * In order for system wakeup to work, the EC GPE has to be marked as in intel_vbtn_probe()
336 * no effect until the wakeup mask is set for the EC GPE). in intel_vbtn_probe()
/linux/arch/mips/boot/dts/ingenic/
H A Dci20.dts97 gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
496 interrupt-parent = <&gpe>;

12