Lines Matching refs:gpe_event_info
95 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
107 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
108 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL()
109 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) != in ACPI_EXPORT_SYMBOL()
111 status = acpi_ev_add_gpe_reference(gpe_event_info, TRUE); in ACPI_EXPORT_SYMBOL()
113 ACPI_GPE_IS_POLLING_NEEDED(gpe_event_info)) { in ACPI_EXPORT_SYMBOL()
119 gpe_event_info, in ACPI_EXPORT_SYMBOL()
151 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
160 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
161 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL()
162 status = acpi_ev_remove_gpe_reference(gpe_event_info) ; in ACPI_EXPORT_SYMBOL()
201 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
211 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
212 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
222 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE); in ACPI_EXPORT_SYMBOL()
223 gpe_event_info->disable_for_dispatch = FALSE; in ACPI_EXPORT_SYMBOL()
228 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE); in ACPI_EXPORT_SYMBOL()
229 gpe_event_info->disable_for_dispatch = TRUE; in ACPI_EXPORT_SYMBOL()
261 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
271 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
272 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
277 status = acpi_ev_mask_gpe(gpe_event_info, is_masked); in ACPI_EXPORT_SYMBOL()
308 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
318 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
319 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL()
323 gpe_event_info->flags |= ACPI_GPE_CAN_WAKE; in ACPI_EXPORT_SYMBOL()
356 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
403 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
404 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
415 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in ACPI_EXPORT_SYMBOL()
421 gpe_event_info->flags = in ACPI_EXPORT_SYMBOL()
423 } else if (gpe_event_info->flags & ACPI_GPE_AUTO_ENABLED) { in ACPI_EXPORT_SYMBOL()
429 (void)acpi_ev_remove_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL()
430 gpe_event_info->flags &= ~ACPI_GPE_AUTO_ENABLED; in ACPI_EXPORT_SYMBOL()
437 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in ACPI_EXPORT_SYMBOL()
442 notify = gpe_event_info->dispatch.notify_list; in ACPI_EXPORT_SYMBOL()
454 new_notify->next = gpe_event_info->dispatch.notify_list; in ACPI_EXPORT_SYMBOL()
455 gpe_event_info->dispatch.notify_list = new_notify; in ACPI_EXPORT_SYMBOL()
461 gpe_event_info->flags |= ACPI_GPE_CAN_WAKE; in ACPI_EXPORT_SYMBOL()
495 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
508 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
509 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
514 if (!(gpe_event_info->flags & ACPI_GPE_CAN_WAKE)) { in ACPI_EXPORT_SYMBOL()
519 gpe_register_info = gpe_event_info->register_info; in ACPI_EXPORT_SYMBOL()
525 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in ACPI_EXPORT_SYMBOL()
571 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
580 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
581 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
586 status = acpi_hw_clear_gpe(gpe_event_info); in ACPI_EXPORT_SYMBOL()
614 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
623 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
624 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
631 status = acpi_hw_get_gpe_status(gpe_event_info, event_status); in ACPI_EXPORT_SYMBOL()
680 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
690 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
691 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
696 status = acpi_ev_finish_gpe(gpe_event_info); in ACPI_EXPORT_SYMBOL()