Lines Matching full:gpe
70 int gpe; member
527 if (gmux_data->gpe >= 0 && in gmux_set_discrete_state()
613 * to trigger an ACPI GPE. ACPI name GMGP holds this GPIO pin's number. On the
617 * The GPE merely signals that an interrupt occurred, the actual type of event
624 * MacBookPro14,3), the ACPI GPE method differentiates between the OS type: On
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()
925 pr_err("Cannot enable gpe: %s\n", in gmux_probe()
930 pr_warn("No GPE found for gmux\n"); 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()
997 if (gmux_data->gpe >= 0) { in gmux_remove()
998 acpi_disable_gpe(NULL, gmux_data->gpe); in gmux_remove()