/linux-master/drivers/gpio/ |
H A D | gpio-sch.c | 46 u32 gpe; member in struct:sch_gpio 258 static u32 sch_gpio_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) argument 292 acpi_disable_gpe(NULL, sch->gpe); 293 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); 301 status = acpi_install_gpe_handler(NULL, sch->gpe, ACPI_GPE_LEVEL_TRIGGERED, 305 sch->gpe, acpi_format_exception(status)); 309 status = acpi_enable_gpe(NULL, sch->gpe); 312 sch->gpe, acpi_format_exception(status)); 313 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); 392 sch->gpe [all...] |
/linux-master/drivers/acpi/ |
H A D | ec.c | 341 (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); 348 acpi_enable_gpe(NULL, ec->gpe); 351 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); 367 acpi_disable_gpe(NULL, ec->gpe); 370 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); 382 ec->gpe >= 0 && ec->reference_count == 1) 392 ec->gpe >= 0 && ec->reference_count == 0) 402 if (ec->gpe >= 0) 416 if (ec->gpe >= 0) 1284 if (ec->gpe > [all...] |
H A D | ec_sys.c | 122 debugfs_create_x32("gpe", 0444, dev_dir, &first_ec->gpe);
|
H A D | sysfs.c | 730 * enable/disable/clear a gpe/fixed event in user space. 827 u8 gpe; local 829 ret = kstrtou8(val, 0, &gpe); 835 set_bit(gpe, acpi_masked_gpes_map); 845 u16 gpe; local 847 for_each_set_bit(gpe, acpi_masked_gpes_map, ACPI_MASKABLE_GPE_MAX) { 848 status = acpi_get_gpe_device(gpe, &handle); 850 pr_info("Masking GPE 0x%x.\n", gpe); 851 (void)acpi_mask_gpe(handle, gpe, TRUE); 888 sprintf(buffer, "gpe [all...] |
H A D | internal.h | 189 int gpe; member in struct:acpi_ec
|
/linux-master/drivers/platform/x86/ |
H A D | apple-gmux.c | 70 int gpe; member in struct:apple_gmux_data 527 if (gmux_data->gpe >= 0 && 790 unsigned long long gpe; local 909 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); 911 gmux_data->gpe = (int)gpe; 923 status = acpi_enable_gpe(NULL, gmux_data->gpe); 925 pr_err("Cannot enable gpe: %s\n", 931 gmux_data->gpe = -1; 968 if (gmux_data->gpe > [all...] |
/linux-master/drivers/input/keyboard/ |
H A D | applespi.c | 390 int gpe; member in struct:applespi_data 1569 acpi_finish_gpe(NULL, applespi->gpe); 1572 static u32 applespi_notify(acpi_handle gpe_device, u32 gpe, void *context) argument 1640 unsigned long long gpe, usb_status; local 1753 acpi_sts = acpi_evaluate_integer(spi_handle, "_GPE", NULL, &gpe); 1760 applespi->gpe = (int)gpe; 1762 acpi_sts = acpi_install_gpe_handler(NULL, applespi->gpe, 1768 applespi->gpe, acpi_format_exception(acpi_sts)); 1774 acpi_sts = acpi_enable_gpe(NULL, applespi->gpe); [all...] |
/linux-master/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 217 u32 gpe; local 222 gpe = inl(acpi_base + CS5536_PM_GPE0_STS); 225 dev_dbg(&pdev->dev, "sts %x gpe %x\n", sts, gpe); 253 if (gpe & CS5536_GPIOM7_PME_FLAG) { /* EC GPIO */
|
H A D | olpc-xo15-sci.c | 132 static u32 xo15_sci_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) argument
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 628 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)hdr; local 631 if (!gpe->np_applied) 636 if (gpe->version != 0) 642 if (gpe->oam_flag) 645 *protocol = tun_p_to_eth_p(gpe->next_protocol); 2145 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; local 2147 gpe->np_applied = 1; 2148 gpe->next_protocol = tun_p_from_eth_p(protocol); 2149 if (!gpe->next_protocol)
|
/linux-master/include/acpi/ |
H A D | actbl1.h | 990 u8 gpe; /* The GPE for the EC */ member in struct:acpi_table_ecdt
|
H A D | actbl2.h | 1402 u8 gpe; member in struct:acpi_table_mchi
|
/linux-master/tools/testing/selftests/net/ |
H A D | rtnetlink.sh | 473 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan gpe
|