Lines Matching refs:gpe_xrupt
135 struct acpi_gpe_xrupt_info *gpe_xrupt; in acpi_ev_get_gpe_xrupt_block() local
155 gpe_xrupt = ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_gpe_xrupt_info)); in acpi_ev_get_gpe_xrupt_block()
156 if (!gpe_xrupt) { in acpi_ev_get_gpe_xrupt_block()
160 gpe_xrupt->interrupt_number = interrupt_number; in acpi_ev_get_gpe_xrupt_block()
171 next_gpe_xrupt->next = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
172 gpe_xrupt->previous = next_gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
174 acpi_gbl_gpe_xrupt_list_head = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
184 gpe_xrupt); in acpi_ev_get_gpe_xrupt_block()
193 *gpe_xrupt_block = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block()
210 acpi_status acpi_ev_delete_gpe_xrupt(struct acpi_gpe_xrupt_info *gpe_xrupt) in acpi_ev_delete_gpe_xrupt() argument
219 if (gpe_xrupt->interrupt_number == acpi_gbl_FADT.sci_interrupt) { in acpi_ev_delete_gpe_xrupt()
220 gpe_xrupt->gpe_block_list_head = NULL; in acpi_ev_delete_gpe_xrupt()
227 acpi_os_remove_interrupt_handler(gpe_xrupt->interrupt_number, in acpi_ev_delete_gpe_xrupt()
236 if (gpe_xrupt->previous) { in acpi_ev_delete_gpe_xrupt()
237 gpe_xrupt->previous->next = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt()
241 acpi_gbl_gpe_xrupt_list_head = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt()
244 if (gpe_xrupt->next) { in acpi_ev_delete_gpe_xrupt()
245 gpe_xrupt->next->previous = gpe_xrupt->previous; in acpi_ev_delete_gpe_xrupt()
251 ACPI_FREE(gpe_xrupt); in acpi_ev_delete_gpe_xrupt()