Lines Matching full:handler

220      * We install the default PCI config space handler at the root so that  in AcpiEvInstallRegionHandlers()
227 * NOTE: We ignore AE_ALREADY_EXISTS because this means that a handler in AcpiEvInstallRegionHandlers()
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; in AcpiEvHasDefaultHandler()
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 */ in AcpiEvInstallHandler()
389 HandlerObj->AddressSpace.SpaceId, ObjDesc->CommonNotify.Handler); in AcpiEvInstallHandler()
392 /* Found a handler, is it for the same address space? */ in AcpiEvInstallHandler()
395 "Found handler for region [%s] in device %p(%p) handler %p\n", in AcpiEvInstallHandler()
401 * that someone has already installed a handler for the branch in AcpiEvInstallHandler()
410 * As long as the device didn't have a handler for this space we in AcpiEvInstallHandler()
426 * Now we have a region and it is for the handler's address space type. in AcpiEvInstallHandler()
428 * First disconnect region for any previous handler (if any) in AcpiEvInstallHandler()
432 /* Connect the region to the new handler */ in AcpiEvInstallHandler()
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 */ in AcpiEvFindRegionHandler()
463 /* Same SpaceId indicates a handler is installed */ in AcpiEvFindRegionHandler()
470 /* Next handler object */ in AcpiEvFindRegionHandler()
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, in AcpiEvInstallSpaceHandler() argument
527 if (Handler == ACPI_DEFAULT_HANDLER) in AcpiEvInstallSpaceHandler()
535 Handler = AcpiExSystemMemorySpaceHandler; in AcpiEvInstallSpaceHandler()
541 Handler = AcpiExSystemIoSpaceHandler; in AcpiEvInstallSpaceHandler()
547 Handler = AcpiExPciConfigSpaceHandler; in AcpiEvInstallSpaceHandler()
553 Handler = AcpiExCmosSpaceHandler; in AcpiEvInstallSpaceHandler()
559 Handler = AcpiExPciBarSpaceHandler; in AcpiEvInstallSpaceHandler()
565 Handler = AcpiExDataTableSpaceHandler; in AcpiEvInstallSpaceHandler()
590 * the handler is not already installed. in AcpiEvInstallSpaceHandler()
593 ObjDesc->CommonNotify.Handler); in AcpiEvInstallSpaceHandler()
597 if (HandlerObj->AddressSpace.Handler == Handler) in AcpiEvInstallSpaceHandler()
601 * handler twice. This can easily happen with the in AcpiEvInstallSpaceHandler()
609 /* A handler is already installed */ in AcpiEvInstallSpaceHandler()
620 "Creating object on Device %p while installing handler\n", in AcpiEvInstallSpaceHandler()
660 "Installing address handler for region %s(%X) " in AcpiEvInstallSpaceHandler()
666 * Install the handler in AcpiEvInstallSpaceHandler()
668 * At this point there is no existing handler. Just allocate the object in AcpiEvInstallSpaceHandler()
669 * for the handler and link it into the list. in AcpiEvInstallSpaceHandler()
678 /* Init handler obj */ in AcpiEvInstallSpaceHandler()
691 HandlerObj->AddressSpace.Handler = Handler; in AcpiEvInstallSpaceHandler()
697 HandlerObj->AddressSpace.Next = ObjDesc->CommonNotify.Handler; in AcpiEvInstallSpaceHandler()
701 * Each region that uses the handler adds a reference. in AcpiEvInstallSpaceHandler()
703 ObjDesc->CommonNotify.Handler = HandlerObj; in AcpiEvInstallSpaceHandler()
706 * Walk the namespace finding all of the regions this handler will in AcpiEvInstallSpaceHandler()
711 * has an address handler of the same type. in AcpiEvInstallSpaceHandler()