/openbmc/qemu/hw/acpi/ |
H A D | core.c | 656 ar->gpe.len = len; in acpi_gpe_init() 661 ar->gpe.sts = g_malloc0(len); in acpi_gpe_init() 662 ar->gpe.en = g_malloc0(len); in acpi_gpe_init() 667 memset(ar->gpe.sts, 0, ar->gpe.len / 2); in acpi_gpe_reset() 668 memset(ar->gpe.en, 0, ar->gpe.len / 2); in acpi_gpe_reset() 675 if (addr < ar->gpe.len / 2) { in acpi_gpe_ioport_get_ptr() 676 cur = ar->gpe.sts + addr; in acpi_gpe_ioport_get_ptr() 677 } else if (addr < ar->gpe.len) { in acpi_gpe_ioport_get_ptr() 678 cur = ar->gpe.en + addr - ar->gpe.len / 2; in acpi_gpe_ioport_get_ptr() 691 if (addr < ar->gpe.len / 2) { in acpi_gpe_ioport_writeb() [all …]
|
H A D | ich9.c | 254 VMSTATE_GPE_ARRAY(acpi_regs.gpe.sts, ICH9LPCPMRegs), 255 VMSTATE_GPE_ARRAY(acpi_regs.gpe.en, ICH9LPCPMRegs),
|
H A D | piix4.c | 260 VMSTATE_STRUCT(ar.gpe, PIIX4PMState, 2, vmstate_gpe, ACPIGPE),
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-sch.c | 46 u32 gpe; member 258 static u32 sch_gpio_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) in sch_gpio_gpe_handler() argument 292 acpi_disable_gpe(NULL, sch->gpe); in sch_gpio_remove_gpe_handler() 293 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_remove_gpe_handler() 301 status = acpi_install_gpe_handler(NULL, sch->gpe, ACPI_GPE_LEVEL_TRIGGERED, in sch_gpio_install_gpe_handler() 305 sch->gpe, acpi_format_exception(status)); in sch_gpio_install_gpe_handler() 309 status = acpi_enable_gpe(NULL, sch->gpe); in sch_gpio_install_gpe_handler() 312 sch->gpe, acpi_format_exception(status)); in sch_gpio_install_gpe_handler() 313 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_install_gpe_handler() 392 sch->gpe = GPE0E_GPIO; in sch_gpio_probe()
|
/openbmc/linux/arch/mips/boot/dts/ingenic/ |
H A D | gcw0.dts | 44 gpio = <&gpe 9 0>; 139 gpios = <&gpe 21 GPIO_ACTIVE_LOW>; 146 gpios = <&gpe 25 GPIO_ACTIVE_LOW>; 153 gpios = <&gpe 23 GPIO_ACTIVE_LOW>; 160 gpios = <&gpe 24 GPIO_ACTIVE_LOW>; 167 gpios = <&gpe 29 GPIO_ACTIVE_LOW>; 174 gpios = <&gpe 20 GPIO_ACTIVE_LOW>; 181 gpios = <&gpe 27 GPIO_ACTIVE_LOW>; 188 gpios = <&gpe 28 GPIO_ACTIVE_LOW>; 202 gpios = <&gpe 26 GPIO_ACTIVE_LOW>; [all …]
|
H A D | ci20.dts | 97 gpios = <&gpe 3 GPIO_ACTIVE_LOW>; 496 interrupt-parent = <&gpe>;
|
H A D | jz4770.dtsi | 204 gpe: gpio@4 { label
|
H A D | jz4780.dtsi | 229 gpe: gpio@4 { label
|
/openbmc/linux/drivers/acpi/ |
H A D | ec.c | 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() 367 acpi_disable_gpe(NULL, ec->gpe); in acpi_ec_disable_gpe() 370 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); in acpi_ec_disable_gpe() 382 ec->gpe >= 0 && ec->reference_count == 1) in acpi_ec_submit_request() 392 ec->gpe >= 0 && ec->reference_count == 0) in acpi_ec_complete_request() 402 if (ec->gpe >= 0) in acpi_ec_mask_events() 416 if (ec->gpe >= 0) in acpi_ec_unmask_events() 1308 if (ec->gpe >= 0 && acpi_ec_gpe_status_set(ec)) in clear_gpe_and_advance_transaction() [all …]
|
H A D | sysfs.c | 827 u8 gpe; in acpi_gpe_set_masked_gpes() local 829 ret = kstrtou8(val, 0, &gpe); in acpi_gpe_set_masked_gpes() 835 set_bit(gpe, acpi_masked_gpes_map); in acpi_gpe_set_masked_gpes() 845 u16 gpe; in acpi_gpe_apply_masked_gpes() local 847 for_each_set_bit(gpe, acpi_masked_gpes_map, ACPI_MASKABLE_GPE_MAX) { in acpi_gpe_apply_masked_gpes() 848 status = acpi_get_gpe_device(gpe, &handle); in acpi_gpe_apply_masked_gpes() 850 pr_info("Masking GPE 0x%x.\n", gpe); in acpi_gpe_apply_masked_gpes() 851 (void)acpi_mask_gpe(handle, gpe, TRUE); in acpi_gpe_apply_masked_gpes()
|
H A D | ec_sys.c | 122 debugfs_create_x32("gpe", 0444, dev_dir, &first_ec->gpe); in acpi_ec_add_debugfs()
|
H A D | internal.h | 170 int gpe; member
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | s3c64xx-pinctrl.dtsi | 47 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";
|
/openbmc/linux/drivers/platform/x86/ |
H A D | apple-gmux.c | 70 int gpe; member 527 if (gmux_data->gpe >= 0 && in gmux_set_discrete_state() 790 unsigned long long gpe; in gmux_probe() local 909 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe() 911 gmux_data->gpe = (int)gpe; in gmux_probe() 923 status = acpi_enable_gpe(NULL, gmux_data->gpe); in gmux_probe() 931 gmux_data->gpe = -1; in gmux_probe() 968 if (gmux_data->gpe >= 0) in gmux_probe() 969 acpi_disable_gpe(NULL, gmux_data->gpe); in gmux_probe() 971 if (gmux_data->gpe >= 0) in gmux_probe() [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | applespi.c | 390 int gpe; member 1569 acpi_finish_gpe(NULL, applespi->gpe); in applespi_async_read_complete() 1572 static u32 applespi_notify(acpi_handle gpe_device, u32 gpe, void *context) in applespi_notify() argument 1640 unsigned long long gpe, usb_status; in applespi_probe() local 1753 acpi_sts = acpi_evaluate_integer(spi_handle, "_GPE", NULL, &gpe); in applespi_probe() 1760 applespi->gpe = (int)gpe; in applespi_probe() 1762 acpi_sts = acpi_install_gpe_handler(NULL, applespi->gpe, in applespi_probe() 1768 applespi->gpe, acpi_format_exception(acpi_sts)); in applespi_probe() 1774 acpi_sts = acpi_enable_gpe(NULL, applespi->gpe); in applespi_probe() 1778 applespi->gpe, acpi_format_exception(acpi_sts)); in applespi_probe() [all …]
|
/openbmc/u-boot/arch/x86/include/asm/arch-braswell/ |
H A D | gpio.h | 180 int_mask, glitch, inv_rx_tx, wake_mask, wake_mask_bit, gpe, \ argument 210 .misc = ((((gpe) != NA) ? (gpe << 0) : 0) | \
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | debugfs-ec | 1 What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io} 9 the EC here (XY -> GPE number from `/sys/kernel/debug/ec/*/gpe`):
|
/openbmc/linux/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 217 u32 gpe; in xo1_sci_intr() local 222 gpe = inl(acpi_base + CS5536_PM_GPE0_STS); in xo1_sci_intr() 225 dev_dbg(&pdev->dev, "sts %x gpe %x\n", sts, gpe); in xo1_sci_intr() 253 if (gpe & CS5536_GPIOM7_PME_FLAG) { /* EC GPIO */ in xo1_sci_intr()
|
H A D | olpc-xo15-sci.c | 132 static u32 xo15_sci_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) in xo15_sci_gpe_handler() argument
|
/openbmc/linux/Documentation/networking/ |
H A D | vxlan.rst | 86 Types: geneve, vxlan-gpe 88 port 1230, vxlan-gpe
|
/openbmc/qemu/include/hw/acpi/ |
H A D | acpi.h | 145 ACPIGPE gpe; member
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 628 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)hdr; in vxlan_parse_gpe_proto() local 631 if (!gpe->np_applied) in vxlan_parse_gpe_proto() 636 if (gpe->version != 0) in vxlan_parse_gpe_proto() 642 if (gpe->oam_flag) in vxlan_parse_gpe_proto() 645 *protocol = tun_p_to_eth_p(gpe->next_protocol); in vxlan_parse_gpe_proto() 2168 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr() local 2170 gpe->np_applied = 1; in vxlan_build_gpe_hdr() 2171 gpe->next_protocol = tun_p_from_eth_p(protocol); in vxlan_build_gpe_hdr() 2172 if (!gpe->next_protocol) in vxlan_build_gpe_hdr()
|
/openbmc/linux/include/acpi/ |
H A D | actbl1.h | 987 u8 gpe; /* The GPE for the EC */ member
|
H A D | actbl2.h | 1394 u8 gpe; member
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | rtnetlink.sh | 524 ip -netns "$testns" link set dev "$vxlan" type vxlan gpe 2>/dev/null
|