Lines Matching refs:Handler
220 * We install the default PCI config space handler at the root so that
227 * NOTE: We ignore AE_ALREADY_EXISTS because this means that a handler
266 * RETURN: TRUE if default handler is installed, FALSE otherwise
268 * DESCRIPTION: Check if the default handler is installed for the requested
287 HandlerObj = ObjDesc->CommonNotify.Handler;
316 * DESCRIPTION: This routine installs an address handler into objects that are
319 * If the Object is a Device, and the device has a handler of
322 * This is because the existing handler is closer in proximity
386 /* Check if this Device already has a handler for this address space */
389 HandlerObj->AddressSpace.SpaceId, ObjDesc->CommonNotify.Handler);
392 /* Found a handler, is it for the same address space? */
395 "Found handler for region [%s] in device %p(%p) handler %p\n",
401 * that someone has already installed a handler for the branch
410 * As long as the device didn't have a handler for this space we
426 * Now we have a region and it is for the handler's address space type.
428 * First disconnect region for any previous handler (if any)
432 /* Connect the region to the new handler */
444 * HandlerObj - Head of the handler object list
446 * RETURN: Matching handler object. NULL if space ID not matched
448 * DESCRIPTION: Search a handler object list for a match on the address
459 /* Walk the handler list for this device */
463 /* Same SpaceId indicates a handler is installed */
470 /* Next handler object */
485 * Handler - Address of the handler
487 * Context - Value passed to the handler on each access
491 * DESCRIPTION: Install a handler for all OpRegions of a given SpaceId.
500 ACPI_ADR_SPACE_HANDLER Handler,
527 if (Handler == ACPI_DEFAULT_HANDLER)
535 Handler = AcpiExSystemMemorySpaceHandler;
541 Handler = AcpiExSystemIoSpaceHandler;
547 Handler = AcpiExPciConfigSpaceHandler;
553 Handler = AcpiExCmosSpaceHandler;
559 Handler = AcpiExPciBarSpaceHandler;
565 Handler = AcpiExDataTableSpaceHandler;
590 * the handler is not already installed.
593 ObjDesc->CommonNotify.Handler);
597 if (HandlerObj->AddressSpace.Handler == Handler)
601 * handler twice. This can easily happen with the
609 /* A handler is already installed */
620 "Creating object on Device %p while installing handler\n",
660 "Installing address handler for region %s(%X) "
666 * Install the handler
668 * At this point there is no existing handler. Just allocate the object
669 * for the handler and link it into the list.
678 /* Init handler obj */
691 HandlerObj->AddressSpace.Handler = Handler;
697 HandlerObj->AddressSpace.Next = ObjDesc->CommonNotify.Handler;
701 * Each region that uses the handler adds a reference.
703 ObjDesc->CommonNotify.Handler = HandlerObj;
706 * Walk the namespace finding all of the regions this handler will
711 * has an address handler of the same type.