Lines Matching refs:gpe_event_info
500 struct acpi_gpe_event_info *gpe_event_info; in acpi_install_gpe_handler() local
519 gpe_event_info = acpi_ev_get_gpe_event_info (gpe_device, gpe_number); in acpi_install_gpe_handler()
520 if (!gpe_event_info) { in acpi_install_gpe_handler()
527 if (gpe_event_info->handler) { in acpi_install_gpe_handler()
535 gpe_event_info->handler = handler; in acpi_install_gpe_handler()
536 gpe_event_info->context = context; in acpi_install_gpe_handler()
537 gpe_event_info->flags = (u8) type; in acpi_install_gpe_handler()
542 status = acpi_hw_clear_gpe (gpe_event_info); in acpi_install_gpe_handler()
547 status = acpi_hw_enable_gpe (gpe_event_info); in acpi_install_gpe_handler()
577 struct acpi_gpe_event_info *gpe_event_info; in acpi_remove_gpe_handler() local
596 gpe_event_info = acpi_ev_get_gpe_event_info (gpe_device, gpe_number); in acpi_remove_gpe_handler()
597 if (!gpe_event_info) { in acpi_remove_gpe_handler()
604 status = acpi_hw_disable_gpe (gpe_event_info); in acpi_remove_gpe_handler()
611 if (gpe_event_info->handler != handler) { in acpi_remove_gpe_handler()
612 (void) acpi_hw_enable_gpe (gpe_event_info); in acpi_remove_gpe_handler()
620 gpe_event_info->handler = NULL; in acpi_remove_gpe_handler()
621 gpe_event_info->context = NULL; in acpi_remove_gpe_handler()