Home
last modified time | relevance | path

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

12

/linux/drivers/gpio/
H A Dgpio-sch.c45 /* GPE handling */
46 u32 gpe; member
261 static u32 sch_gpio_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) in sch_gpio_gpe_handler() argument
285 /* Acknowledge GPE to ACPICA */ in sch_gpio_gpe_handler()
295 acpi_disable_gpe(NULL, sch->gpe); in sch_gpio_remove_gpe_handler()
296 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_remove_gpe_handler()
304 status = acpi_install_gpe_handler(NULL, sch->gpe, ACPI_GPE_LEVEL_TRIGGERED, in sch_gpio_install_gpe_handler()
307 dev_err(dev, "Failed to install GPE handler for %u: %s\n", in sch_gpio_install_gpe_handler()
308 sch->gpe, acpi_format_exception(status)); in sch_gpio_install_gpe_handler()
312 status = acpi_enable_gpe(NULL, sch->gpe); in sch_gpio_install_gpe_handler()
[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/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/acpi/
H A Dsysfs.c643 pr_debug("GPE event 0x%02x\n", event_number); in acpi_global_event_handler()
663 pr_warn("Invalid GPE 0x%x", index); in get_status()
731 * enable/disable/clear a gpe/fixed event in user space.
759 pr_warn("Can not change Invalid GPE/Fixed Event status\n"); in counter_set()
806 * A Quirk Mechanism for GPE Flooding Prevention:
808 * Quirks may be needed to prevent GPE flooding on a specific GPE. The
814 * the GPE flooding for GPE 00, they need to specify the following boot
828 u8 gpe; in acpi_gpe_set_masked_gpes() local
830 ret = kstrtou8(val, 0, &gpe); in acpi_gpe_set_masked_gpes()
836 set_bit(gpe, acpi_masked_gpes_map); in acpi_gpe_set_masked_gpes()
[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 Dbutton.c585 dev_dbg(button->dev, "Disabling ACPI GPE%02llx\n", in acpi_button_remove_event_handler()
632 * If the wakeup GPE has a handler method, enable it in case it is also in acpi_button_add_event_handler()
640 dev_dbg(button->dev, "Enabled ACPI GPE%02llx\n", in acpi_button_add_event_handler()
H A Dwakeup.c35 * the wakeup enable mask bits in the GPE registers that correspond to wakeup
/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/arch/x86/platform/olpc/
H A Dolpc-xo15-sci.c132 static u32 xo15_sci_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) in xo15_sci_gpe_handler() argument
149 /* Get GPE bit assignment (EC events). */ in xo15_sci_probe()
161 dev_info(&pdev->dev, "Initialized, GPE = 0x%lx\n", xo15_sci_gpe); in xo15_sci_probe()
/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/include/net/
H A Dvxlan.h137 * Ver = Version. Indicates VXLAN GPE protocol version.
146 * immediately following the VXLAN GPE header.
148 * https://tools.ietf.org/html/draft-ietf-nvo3-vxlan-gpe-01
173 /* VXLAN-GPE header flags. */
396 /* VXLAN-GPE: IP4/6 header + UDP + VXLAN */ in vxlan_headroom()
552 VXLAN_FLAG(GPE); in vxlan_flag_attr_error()
H A Dtun_proto.h7 /* One byte protocol values as defined by VXLAN-GPE and NSH. These will
/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"},
/linux/drivers/platform/x86/
H A Dxo15-ebook.c126 /* Button's GPE is run-wake GPE */ in ebook_switch_probe()
/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()

12