Lines Matching refs:gpe_xrupt
212 struct acpi_gpe_xrupt_info *gpe_xrupt; in acpi_ev_get_gpe_xrupt_block() local
231 gpe_xrupt = ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_gpe_xrupt_info)); in acpi_ev_get_gpe_xrupt_block()
232 if (!gpe_xrupt) { in acpi_ev_get_gpe_xrupt_block()
236 gpe_xrupt->interrupt_number = interrupt_number; in acpi_ev_get_gpe_xrupt_block()
247 next_gpe_xrupt->next = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
248 gpe_xrupt->previous = next_gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
250 acpi_gbl_gpe_xrupt_list_head = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
259 gpe_xrupt); in acpi_ev_get_gpe_xrupt_block()
268 return_PTR(gpe_xrupt); in acpi_ev_get_gpe_xrupt_block()
284 acpi_status acpi_ev_delete_gpe_xrupt(struct acpi_gpe_xrupt_info *gpe_xrupt) in acpi_ev_delete_gpe_xrupt() argument
293 if (gpe_xrupt->interrupt_number == acpi_gbl_FADT.sci_interrupt) { in acpi_ev_delete_gpe_xrupt()
294 gpe_xrupt->gpe_block_list_head = NULL; in acpi_ev_delete_gpe_xrupt()
301 acpi_os_remove_interrupt_handler(gpe_xrupt->interrupt_number, in acpi_ev_delete_gpe_xrupt()
310 if (gpe_xrupt->previous) { in acpi_ev_delete_gpe_xrupt()
311 gpe_xrupt->previous->next = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt()
315 acpi_gbl_gpe_xrupt_list_head = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt()
318 if (gpe_xrupt->next) { in acpi_ev_delete_gpe_xrupt()
319 gpe_xrupt->next->previous = gpe_xrupt->previous; in acpi_ev_delete_gpe_xrupt()
325 ACPI_FREE(gpe_xrupt); in acpi_ev_delete_gpe_xrupt()