Searched refs:gpe (Results 1 - 12 of 12) sorted by relevance

/linux-4.4.14/drivers/platform/x86/
H A Dapple-gmux.c40 int gpe; member in struct:apple_gmux_data
308 if (gmux_data->gpe >= 0 && gmux_set_discrete_state()
446 unsigned long long gpe; gmux_probe() local
566 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); gmux_probe()
568 gmux_data->gpe = (int)gpe; gmux_probe()
580 status = acpi_enable_gpe(NULL, gmux_data->gpe); gmux_probe()
582 pr_err("Cannot enable gpe: %s\n", gmux_probe()
588 gmux_data->gpe = -1; gmux_probe()
603 if (gmux_data->gpe >= 0) gmux_probe()
604 acpi_disable_gpe(NULL, gmux_data->gpe); gmux_probe()
606 if (gmux_data->gpe >= 0) gmux_probe()
629 if (gmux_data->gpe >= 0) { gmux_remove()
630 acpi_disable_gpe(NULL, gmux_data->gpe); gmux_remove()
/linux-4.4.14/drivers/acpi/
H A Dec_sys.c128 if (!debugfs_create_x32("gpe", 0444, dev_dir, (u32 *)&first_ec->gpe)) acpi_ec_add_debugfs()
H A Dec.c313 (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); acpi_ec_is_gpe_raised()
320 acpi_enable_gpe(NULL, ec->gpe); acpi_ec_enable_gpe()
323 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); acpi_ec_enable_gpe()
339 acpi_disable_gpe(NULL, ec->gpe); acpi_ec_disable_gpe()
342 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); acpi_ec_disable_gpe()
360 acpi_clear_gpe(NULL, ec->gpe); acpi_ec_clear_gpe()
1277 ec->gpe = tmp; ec_parse_device()
1292 status = acpi_install_gpe_raw_handler(NULL, ec->gpe, ec_install_handlers()
1314 acpi_remove_gpe_handler(NULL, ec->gpe, ec_install_handlers()
1332 if (ACPI_FAILURE(acpi_remove_gpe_handler(NULL, ec->gpe, ec_remove_handlers()
1334 pr_err("failed to remove gpe handler\n"); ec_remove_handlers()
1377 ec->gpe, ec->command_addr, ec->data_addr); acpi_ec_add()
1554 boot_ec->gpe = ecdt_ptr->gpe; acpi_ec_ecdt_probe()
1584 saved_ec->gpe != boot_ec->gpe || acpi_ec_ecdt_probe()
H A Dinternal.h144 unsigned long gpe; acpi_early_processor_osc() member in struct:acpi_ec
H A Dsysfs.c620 * enable/disable/clear a gpe/fixed event in user space.
726 sprintf(buffer, "gpe%02X", i); acpi_irq_stats_init()
/linux-4.4.14/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c216 u32 gpe; xo1_sci_intr() local
221 gpe = inl(acpi_base + CS5536_PM_GPE0_STS); xo1_sci_intr()
224 dev_dbg(&pdev->dev, "sts %x gpe %x\n", sts, gpe); xo1_sci_intr()
252 if (gpe & CS5536_GPIOM7_PME_FLAG) { /* EC GPIO */ xo1_sci_intr()
H A Dolpc-xo15-sci.c136 static u32 xo15_sci_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) xo15_sci_gpe_handler() argument
/linux-4.4.14/drivers/pinctrl/samsung/
H A Dpinctrl-s3c24xx.c566 PIN_BANK_2BIT(16, 0x040, "gpe"),
586 PIN_BANK_2BIT(16, 0x040, "gpe"),
608 PIN_BANK_2BIT(16, 0x040, "gpe"),
628 PIN_BANK_2BIT(16, 0x040, "gpe"),
H A Dpinctrl-s3c64xx.c784 PIN_BANK_4BIT(5, 0x080, "gpe"),
/linux-4.4.14/drivers/acpi/acpica/
H A Devxfgpe.c916 * gpe device indicates that the gpe number is contained in one of ACPI_EXPORT_SYMBOL()
917 * the FADT-defined gpe blocks. Otherwise, the GPE block device. ACPI_EXPORT_SYMBOL()
/linux-4.4.14/include/acpi/
H A Dactbl1.h198 u8 gpe; /* The GPE for the EC */ member in struct:acpi_table_ecdt
H A Dactbl2.h1039 u8 gpe; member in struct:acpi_table_mchi

Completed in 339 milliseconds