Lines Matching refs:handler

59 			    acpi_notify_handler handler, void *context)  in acpi_install_notify_handler()  argument
72 if ((!device) || (!handler) || (!handler_type) || in acpi_install_notify_handler()
92 if (acpi_gbl_global_notify[i].handler) { in acpi_install_notify_handler()
97 acpi_gbl_global_notify[i].handler = handler; in acpi_install_notify_handler()
147 if (handler_obj->notify.handler == handler) { in acpi_install_notify_handler()
167 handler_obj->notify.handler = handler; in acpi_install_notify_handler()
212 u32 handler_type, acpi_notify_handler handler) in ACPI_EXPORT_SYMBOL()
226 if ((!device) || (!handler) || (!handler_type) || in ACPI_EXPORT_SYMBOL()
242 if (!acpi_gbl_global_notify[i].handler || in ACPI_EXPORT_SYMBOL()
243 (acpi_gbl_global_notify[i].handler != in ACPI_EXPORT_SYMBOL()
244 handler)) { in ACPI_EXPORT_SYMBOL()
252 acpi_gbl_global_notify[i].handler = NULL; in ACPI_EXPORT_SYMBOL()
294 (handler_obj->notify.handler != handler)) { in ACPI_EXPORT_SYMBOL()
346 acpi_status acpi_install_exception_handler(acpi_exception_handler handler) in ACPI_EXPORT_SYMBOL()
366 acpi_gbl_exception_handler = handler; in ACPI_EXPORT_SYMBOL()
534 acpi_install_global_event_handler(acpi_gbl_event_handler handler, void *context) in ACPI_EXPORT_SYMBOL()
542 if (!handler) { in ACPI_EXPORT_SYMBOL()
558 acpi_gbl_global_event_handler = handler; in ACPI_EXPORT_SYMBOL()
585 acpi_event_handler handler, void *context) in ACPI_EXPORT_SYMBOL()
604 if (acpi_gbl_fixed_event_handlers[event].handler) { in ACPI_EXPORT_SYMBOL()
611 acpi_gbl_fixed_event_handlers[event].handler = handler; in ACPI_EXPORT_SYMBOL()
624 acpi_gbl_fixed_event_handlers[event].handler = NULL; in ACPI_EXPORT_SYMBOL()
630 handler)); in ACPI_EXPORT_SYMBOL()
653 acpi_remove_fixed_event_handler(u32 event, acpi_event_handler handler) in ACPI_EXPORT_SYMBOL()
676 acpi_gbl_fixed_event_handlers[event].handler = NULL; in ACPI_EXPORT_SYMBOL()
723 struct acpi_gpe_handler_info *handler; in ACPI_EXPORT_SYMBOL() local
742 handler = ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_gpe_handler_info)); in ACPI_EXPORT_SYMBOL()
743 if (!handler) { in ACPI_EXPORT_SYMBOL()
768 handler->address = address; in ACPI_EXPORT_SYMBOL()
769 handler->context = context; 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()
780 if (((ACPI_GPE_DISPATCH_TYPE(handler->original_flags) == in ACPI_EXPORT_SYMBOL()
782 (ACPI_GPE_DISPATCH_TYPE(handler->original_flags) == in ACPI_EXPORT_SYMBOL()
784 handler->originally_enabled = TRUE; in ACPI_EXPORT_SYMBOL()
798 gpe_event_info->dispatch.handler = handler; in ACPI_EXPORT_SYMBOL()
817 ACPI_FREE(handler); in ACPI_EXPORT_SYMBOL()
909 struct acpi_gpe_handler_info *handler; in ACPI_EXPORT_SYMBOL() local
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()
963 gpe_event_info->flags |= handler->original_flags; in ACPI_EXPORT_SYMBOL()
970 if (((ACPI_GPE_DISPATCH_TYPE(handler->original_flags) == in ACPI_EXPORT_SYMBOL()
972 (ACPI_GPE_DISPATCH_TYPE(handler->original_flags) == in ACPI_EXPORT_SYMBOL()
973 ACPI_GPE_DISPATCH_NOTIFY)) && handler->originally_enabled) { in ACPI_EXPORT_SYMBOL()
995 ACPI_FREE(handler); in ACPI_EXPORT_SYMBOL()