Lines Matching defs:handler

65 	 * We install the default PCI config space handler at the root so that
72 * NOTE: We ignore AE_ALREADY_EXISTS because this means that a handler
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;
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 */
220 handler);
223 /* Found a handler, is it for the same address space? */
226 "Found handler for region [%s] in device %p(%p) handler %p\n",
235 * that someone has already installed a handler for the branch
244 * As long as the device didn't have a handler for this space we
260 * Now we have a region and it is for the handler's address space type.
262 * First disconnect region for any previous handler (if any)
266 /* Connect the region to the new 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 */
296 /* Same space_id indicates a handler is installed */
302 /* Next handler object */
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,
352 if (handler == ACPI_DEFAULT_HANDLER) {
358 handler = acpi_ex_system_memory_space_handler;
364 handler = acpi_ex_system_io_space_handler;
370 handler = acpi_ex_pci_config_space_handler;
376 handler = acpi_ex_cmos_space_handler;
382 handler = acpi_ex_pci_bar_space_handler;
388 handler = acpi_ex_data_table_space_handler;
411 * the handler is not already installed.
416 handler);
419 if (handler_obj->address_space.handler == handler) {
422 * handler twice. This can easily happen with the
428 /* A handler is already installed */
437 "Creating object on Device %p while installing handler\n",
472 "Installing address handler for region %s(%X) "
478 * Install the handler
480 * At this point there is no existing handler. Just allocate the object
481 * for the handler and link it into the list.
490 /* Init handler obj */
503 handler_obj->address_space.handler = handler;
509 handler_obj->address_space.next = obj_desc->common_notify.handler;
513 * Each region that uses the handler adds a reference.
515 obj_desc->common_notify.handler = handler_obj;
518 * Walk the namespace finding all of the regions this handler will
523 * has an address handler of the same type.