Lines Matching refs:gpe_event_info

722 	struct acpi_gpe_event_info *gpe_event_info;  in ACPI_EXPORT_SYMBOL()  local
752 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
753 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
760 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in ACPI_EXPORT_SYMBOL()
762 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in ACPI_EXPORT_SYMBOL()
770 handler->method_node = gpe_event_info->dispatch.method_node; in ACPI_EXPORT_SYMBOL()
771 handler->original_flags = (u8)(gpe_event_info->flags & in ACPI_EXPORT_SYMBOL()
783 ACPI_GPE_DISPATCH_NOTIFY)) && gpe_event_info->runtime_count) { in ACPI_EXPORT_SYMBOL()
785 (void)acpi_ev_remove_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL()
790 (u32)(gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK)) { in ACPI_EXPORT_SYMBOL()
798 gpe_event_info->dispatch.handler = handler; in ACPI_EXPORT_SYMBOL()
802 gpe_event_info->flags &= in ACPI_EXPORT_SYMBOL()
804 gpe_event_info->flags |= in ACPI_EXPORT_SYMBOL()
908 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
930 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
931 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
938 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) != in ACPI_EXPORT_SYMBOL()
940 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) != in ACPI_EXPORT_SYMBOL()
948 if (gpe_event_info->dispatch.handler->address != address) { in ACPI_EXPORT_SYMBOL()
955 handler = gpe_event_info->dispatch.handler; in ACPI_EXPORT_SYMBOL()
956 gpe_event_info->dispatch.handler = NULL; in ACPI_EXPORT_SYMBOL()
960 gpe_event_info->dispatch.method_node = handler->method_node; in ACPI_EXPORT_SYMBOL()
961 gpe_event_info->flags &= in ACPI_EXPORT_SYMBOL()
963 gpe_event_info->flags |= handler->original_flags; in ACPI_EXPORT_SYMBOL()
974 (void)acpi_ev_add_gpe_reference(gpe_event_info, FALSE); in ACPI_EXPORT_SYMBOL()
975 if (ACPI_GPE_IS_POLLING_NEEDED(gpe_event_info)) { in ACPI_EXPORT_SYMBOL()
980 (void)acpi_ev_detect_gpe(gpe_device, gpe_event_info, in ACPI_EXPORT_SYMBOL()