Lines Matching refs:handler_obj
122 union acpi_operand_object *handler_obj; in acpi_ev_has_default_handler() local
128 handler_obj = obj_desc->common_notify.handler; in acpi_ev_has_default_handler()
132 while (handler_obj) { in acpi_ev_has_default_handler()
133 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_has_default_handler()
134 if (handler_obj->address_space.handler_flags & in acpi_ev_has_default_handler()
140 handler_obj = handler_obj->address_space.next; in acpi_ev_has_default_handler()
168 union acpi_operand_object *handler_obj; in acpi_ev_install_handler() local
176 handler_obj = (union acpi_operand_object *)context; in acpi_ev_install_handler()
180 if (!handler_obj) { in acpi_ev_install_handler()
217 acpi_ev_find_region_handler(handler_obj->address_space. in acpi_ev_install_handler()
227 acpi_ut_get_region_name(handler_obj-> in acpi_ev_install_handler()
231 handler_obj)); in acpi_ev_install_handler()
252 if (obj_desc->region.space_id != handler_obj->address_space.space_id) { in acpi_ev_install_handler()
268 status = acpi_ev_attach_region(handler_obj, obj_desc, FALSE); in acpi_ev_install_handler()
289 *handler_obj) in acpi_ev_find_region_handler()
294 while (handler_obj) { in acpi_ev_find_region_handler()
298 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_find_region_handler()
299 return (handler_obj); in acpi_ev_find_region_handler()
304 handler_obj = handler_obj->address_space.next; in acpi_ev_find_region_handler()
334 union acpi_operand_object *handler_obj; in acpi_ev_install_space_handler() local
413 handler_obj = acpi_ev_find_region_handler(space_id, in acpi_ev_install_space_handler()
418 if (handler_obj) { in acpi_ev_install_space_handler()
419 if (handler_obj->address_space.handler == handler) { in acpi_ev_install_space_handler()
483 handler_obj = in acpi_ev_install_space_handler()
485 if (!handler_obj) { in acpi_ev_install_space_handler()
493 acpi_os_create_mutex(&handler_obj->address_space.context_mutex); in acpi_ev_install_space_handler()
495 acpi_ut_remove_reference(handler_obj); in acpi_ev_install_space_handler()
499 handler_obj->address_space.space_id = (u8)space_id; in acpi_ev_install_space_handler()
500 handler_obj->address_space.handler_flags = flags; in acpi_ev_install_space_handler()
501 handler_obj->address_space.region_list = NULL; in acpi_ev_install_space_handler()
502 handler_obj->address_space.node = node; in acpi_ev_install_space_handler()
503 handler_obj->address_space.handler = handler; in acpi_ev_install_space_handler()
504 handler_obj->address_space.context = context; in acpi_ev_install_space_handler()
505 handler_obj->address_space.setup = setup; in acpi_ev_install_space_handler()
509 handler_obj->address_space.next = obj_desc->common_notify.handler; in acpi_ev_install_space_handler()
515 obj_desc->common_notify.handler = handler_obj; in acpi_ev_install_space_handler()
530 handler_obj, NULL); in acpi_ev_install_space_handler()