Home
last modified time | relevance | path

Searched refs:ResAlloc (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/
DPciHostBridgeResourceAllocation.c79 if (RootBridgeInstance->ResAlloc[ResTypeIo].Length != 0) { in PciHbRaNotifyPhase()
80 …BitsOfAlignment = HighBitSet64 (RootBridgeInstance->ResAlloc[ResTypeIo].Alignment) + 1; // Get… in PciHbRaNotifyPhase()
81 AddrLen = RootBridgeInstance->ResAlloc[ResTypeIo].Length; in PciHbRaNotifyPhase()
94 RootBridgeInstance->ResAlloc[ResTypeIo].Base = (UINTN)BaseAddress; in PciHbRaNotifyPhase()
98 if (RootBridgeInstance->ResAlloc[ResTypeMem32].Length != 0) { in PciHbRaNotifyPhase()
99 …BitsOfAlignment = HighBitSet64 (RootBridgeInstance->ResAlloc[ResTypeMem32].Alignment) + 1; // Get… in PciHbRaNotifyPhase()
100 AddrLen = RootBridgeInstance->ResAlloc[ResTypeMem32].Length; in PciHbRaNotifyPhase()
117 RootBridgeInstance->ResAlloc[ResTypeMem32].Base = (UINTN)BaseAddress; in PciHbRaNotifyPhase()
120 if (RootBridgeInstance->ResAlloc[ResTypePMem32].Length != 0) { in PciHbRaNotifyPhase()
121 …BitsOfAlignment = HighBitSet64 (RootBridgeInstance->ResAlloc[ResTypePMem32].Alignment) + 1; // Ge… in PciHbRaNotifyPhase()
[all …]
DPciHostBridge.c82 &gEfiPciHostBridgeResourceAllocationProtocolGuid, &HostBridge->ResAlloc, in HostBridgeConstructor()
114 &gEfiPciHostBridgeResourceAllocationProtocolGuid, &HostBridge->ResAlloc, in HostBridgeDestructor()
DPciHostBridge.h91 PCI_RESOURCE_ALLOC ResAlloc[ResTypeMax]; member
115 EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL ResAlloc; member
120 #define INSTANCE_FROM_RESOURCE_ALLOCATION_THIS(a) CR (a, PCI_HOST_BRIDGE_INSTANCE, ResAlloc, PCI_…
DPciRootBridge.c660 if (RootBridge->ResAlloc[Index].Length != 0) { in PciRbConfiguration()
661 Configuration.SpaceDesp[Index].AddrRangeMin = RootBridge->ResAlloc[Index].Base; in PciRbConfiguration()
662 …figuration.SpaceDesp[Index].AddrRangeMax = RootBridge->ResAlloc[Index].Base + RootBridge->ResAlloc in PciRbConfiguration()
663 Configuration.SpaceDesp[Index].AddrLen = RootBridge->ResAlloc[Index].Length; in PciRbConfiguration()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/
DPciHostBridge.h35 EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL ResAlloc; member
38 #define PCI_HOST_BRIDGE_FROM_THIS(a) CR (a, PCI_HOST_BRIDGE_INSTANCE, ResAlloc, PCI_HOST_BRIDGE_SIG…
DPciHostBridge.c459 HostBridge->ResAlloc.NotifyPhase = NotifyPhase; in InitializePciHostBridge()
460 HostBridge->ResAlloc.GetNextRootBridge = GetNextRootBridge; in InitializePciHostBridge()
461 HostBridge->ResAlloc.GetAllocAttributes = GetAttributes; in InitializePciHostBridge()
462 HostBridge->ResAlloc.StartBusEnumeration = StartBusEnumeration; in InitializePciHostBridge()
463 HostBridge->ResAlloc.SetBusNumbers = SetBusNumbers; in InitializePciHostBridge()
464 HostBridge->ResAlloc.SubmitResources = SubmitResources; in InitializePciHostBridge()
465 HostBridge->ResAlloc.GetProposedResources = GetProposedResources; in InitializePciHostBridge()
466 HostBridge->ResAlloc.PreprocessController = PreprocessController; in InitializePciHostBridge()
470 &gEfiPciHostBridgeResourceAllocationProtocolGuid, &HostBridge->ResAlloc, in InitializePciHostBridge()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
DPciHostBridge.h40 EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL ResAlloc; member
43 #define INSTANCE_FROM_RESOURCE_ALLOCATION_THIS(a) CR (a, PCI_HOST_BRIDGE_INSTANCE, ResAlloc, PCI_HO…
DPciHostBridge.c108 HostBridge->ResAlloc.NotifyPhase = NotifyPhase; in InitializePciHostBridge()
109 HostBridge->ResAlloc.GetNextRootBridge = GetNextRootBridge; in InitializePciHostBridge()
110 HostBridge->ResAlloc.GetAllocAttributes = GetAttributes; in InitializePciHostBridge()
111 HostBridge->ResAlloc.StartBusEnumeration = StartBusEnumeration; in InitializePciHostBridge()
112 HostBridge->ResAlloc.SetBusNumbers = SetBusNumbers; in InitializePciHostBridge()
113 HostBridge->ResAlloc.SubmitResources = SubmitResources; in InitializePciHostBridge()
114 HostBridge->ResAlloc.GetProposedResources = GetProposedResources; in InitializePciHostBridge()
115 HostBridge->ResAlloc.PreprocessController = PreprocessController; in InitializePciHostBridge()
121 &HostBridge->ResAlloc in InitializePciHostBridge()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/PciHostBridgeDxe/
DPciHostBridge.h89 EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL ResAlloc; member
93 CR(a, PCI_HOST_BRIDGE_INSTANCE, ResAlloc, PCI_HOST_BRIDGE_SIGNATURE)
DPciHostBridge.c517 &gEfiPciHostBridgeResourceAllocationProtocolGuid, &HostBridge->ResAlloc, in InitializePciHostBridge()
560 &gEfiPciHostBridgeResourceAllocationProtocolGuid, &HostBridge->ResAlloc, in InitializePciHostBridge()