Lines Matching full:handler

65 	 * We install the default PCI config space handler at the root so that  in acpi_ev_install_region_handlers()
72 * NOTE: We ignore AE_ALREADY_EXISTS because this means that a handler in acpi_ev_install_region_handlers()
110 * RETURN: TRUE if default handler is installed, FALSE otherwise
112 * DESCRIPTION: Check if the default handler is installed for the requested
128 handler_obj = obj_desc->common_notify.handler; in acpi_ev_has_default_handler()
153 * DESCRIPTION: This routine installs an address handler into objects that are
156 * If the Object is a Device, and the device has a handler of
159 * This is because the existing handler is closer in proximity
214 /* Check if this Device already has a handler for this address space */ in acpi_ev_install_handler()
220 handler); in acpi_ev_install_handler()
223 /* Found a handler, is it for the same address space? */ in acpi_ev_install_handler()
226 "Found handler for region [%s] in device %p(%p) handler %p\n", in acpi_ev_install_handler()
235 * that someone has already installed a handler for the branch in acpi_ev_install_handler()
244 * As long as the device didn't have a handler for this space we in acpi_ev_install_handler()
260 * Now we have a region and it is for the handler's address space type. in acpi_ev_install_handler()
262 * First disconnect region for any previous handler (if any) in acpi_ev_install_handler()
266 /* Connect the region to the new handler */ in acpi_ev_install_handler()
277 * handler_obj - Head of the handler object list
279 * RETURN: Matching handler object. NULL if space ID not matched
281 * DESCRIPTION: Search a handler object list for a match on the address
292 /* Walk the handler list for this device */ in acpi_ev_find_region_handler()
296 /* Same space_id indicates a handler is installed */ in acpi_ev_find_region_handler()
302 /* Next handler object */ in acpi_ev_find_region_handler()
316 * handler - Address of the handler
318 * context - Value passed to the handler on each access
322 * DESCRIPTION: Install a handler for all op_regions of a given space_id.
330 acpi_adr_space_handler handler, in acpi_ev_install_space_handler() argument
352 if (handler == ACPI_DEFAULT_HANDLER) { in acpi_ev_install_space_handler()
358 handler = acpi_ex_system_memory_space_handler; in acpi_ev_install_space_handler()
364 handler = acpi_ex_system_io_space_handler; in acpi_ev_install_space_handler()
370 handler = acpi_ex_pci_config_space_handler; in acpi_ev_install_space_handler()
376 handler = acpi_ex_cmos_space_handler; in acpi_ev_install_space_handler()
382 handler = acpi_ex_pci_bar_space_handler; in acpi_ev_install_space_handler()
388 handler = acpi_ex_data_table_space_handler; in acpi_ev_install_space_handler()
411 * the handler is not already installed. in acpi_ev_install_space_handler()
416 handler); in acpi_ev_install_space_handler()
419 if (handler_obj->address_space.handler == handler) { in acpi_ev_install_space_handler()
422 * handler twice. This can easily happen with the in acpi_ev_install_space_handler()
428 /* A handler is already installed */ in acpi_ev_install_space_handler()
437 "Creating object on Device %p while installing handler\n", in acpi_ev_install_space_handler()
472 "Installing address handler for region %s(%X) " in acpi_ev_install_space_handler()
478 * Install the handler in acpi_ev_install_space_handler()
480 * At this point there is no existing handler. Just allocate the object in acpi_ev_install_space_handler()
481 * for the handler and link it into the list. in acpi_ev_install_space_handler()
490 /* Init handler obj */ in acpi_ev_install_space_handler()
503 handler_obj->address_space.handler = handler; in acpi_ev_install_space_handler()
509 handler_obj->address_space.next = obj_desc->common_notify.handler; in acpi_ev_install_space_handler()
513 * Each region that uses the handler adds a reference. in acpi_ev_install_space_handler()
515 obj_desc->common_notify.handler = handler_obj; in acpi_ev_install_space_handler()
518 * Walk the namespace finding all of the regions this handler will in acpi_ev_install_space_handler()
523 * has an address handler of the same type. in acpi_ev_install_space_handler()