Lines Matching refs:gpe_xrupt
406 struct acpi_gpe_xrupt_info *gpe_xrupt; in acpi_ev_get_gpe_xrupt_block() local
426 gpe_xrupt = ACPI_MEM_CALLOCATE (sizeof (struct acpi_gpe_xrupt_info)); in acpi_ev_get_gpe_xrupt_block()
427 if (!gpe_xrupt) { in acpi_ev_get_gpe_xrupt_block()
431 gpe_xrupt->interrupt_level = interrupt_level; in acpi_ev_get_gpe_xrupt_block()
442 next_gpe_xrupt->next = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
443 gpe_xrupt->previous = next_gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
446 acpi_gbl_gpe_xrupt_list_head = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
454 acpi_ev_gpe_xrupt_handler, gpe_xrupt); in acpi_ev_get_gpe_xrupt_block()
463 return_PTR (gpe_xrupt); in acpi_ev_get_gpe_xrupt_block()
482 struct acpi_gpe_xrupt_info *gpe_xrupt) in acpi_ev_delete_gpe_xrupt() argument
492 if (gpe_xrupt->interrupt_level == acpi_gbl_FADT->sci_int) { in acpi_ev_delete_gpe_xrupt()
493 gpe_xrupt->gpe_block_list_head = NULL; in acpi_ev_delete_gpe_xrupt()
499 status = acpi_os_remove_interrupt_handler (gpe_xrupt->interrupt_level, in acpi_ev_delete_gpe_xrupt()
508 if (gpe_xrupt->previous) { in acpi_ev_delete_gpe_xrupt()
509 gpe_xrupt->previous->next = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt()
512 if (gpe_xrupt->next) { in acpi_ev_delete_gpe_xrupt()
513 gpe_xrupt->next->previous = gpe_xrupt->previous; in acpi_ev_delete_gpe_xrupt()
519 ACPI_MEM_FREE (gpe_xrupt); in acpi_ev_delete_gpe_xrupt()