Home
last modified time | relevance | path

Searched refs:ResAllocNode (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
DPciHostBridge.c304 RootBridgeInstance->ResAllocNode[Index].Type = Index; in NotifyPhase()
305 RootBridgeInstance->ResAllocNode[Index].Base = 0; in NotifyPhase()
306 RootBridgeInstance->ResAllocNode[Index].Length = 0; in NotifyPhase()
307 RootBridgeInstance->ResAllocNode[Index].Status = ResNone; in NotifyPhase()
369 if (RootBridgeInstance->ResAllocNode[Index1].Status == ResNone) { in NotifyPhase()
381 if (MaxAlignment <= RootBridgeInstance->ResAllocNode[Index2].Alignment) { in NotifyPhase()
382 MaxAlignment = RootBridgeInstance->ResAllocNode[Index2].Alignment; in NotifyPhase()
393 Alignment = RootBridgeInstance->ResAllocNode[Index].Alignment; in NotifyPhase()
402 AddrLen = RootBridgeInstance->ResAllocNode[Index].Length; in NotifyPhase()
403 Alignment = RootBridgeInstance->ResAllocNode[Index].Alignment; in NotifyPhase()
[all …]
DPciRootBridgeIo.c77 PrivateData->ResAllocNode[Index].Type = Index; in SimpleIioRootBridgeConstructor()
78 PrivateData->ResAllocNode[Index].Base = 0; in SimpleIioRootBridgeConstructor()
79 PrivateData->ResAllocNode[Index].Length = 0; in SimpleIioRootBridgeConstructor()
80 PrivateData->ResAllocNode[Index].Status = ResNone; in SimpleIioRootBridgeConstructor()
1505 PCI_RES_NODE *ResAllocNode; in RootBridgeIoConfiguration() local
1533 ResAllocNode = &RbPrivateData->ResAllocNode[Idx]; in RootBridgeIoConfiguration()
1535 if (ResAllocNode->Status != ResAllocated) { in RootBridgeIoConfiguration()
1539 switch (ResAllocNode->Type) { in RootBridgeIoConfiguration()
1545 Config->AddrRangeMin = ResAllocNode->Base; in RootBridgeIoConfiguration()
1546 Config->AddrRangeMax = ResAllocNode->Base + ResAllocNode->Length - 1; in RootBridgeIoConfiguration()
[all …]
DPciRootBridge.h82 PCI_RES_NODE ResAllocNode[6]; member
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/PciHostBridgeDxe/
DPciHostBridge.c597 AddrLen = RootBridgeInstance->ResAllocNode[Index].Length; in NotifyAllocateMemResources()
600 BitsOfAlignment = (UINTN) (HighBitSet64 (RootBridgeInstance->ResAllocNode[Index].Alignment) + 1); in NotifyAllocateMemResources()
603 RootBridgeInstance->ResAllocNode[Index].Alignment) in NotifyAllocateMemResources()
604 & ~(RootBridgeInstance->ResAllocNode[Index].Alignment); in NotifyAllocateMemResources()
607 RootBridgeInstance->ResAllocNode[Index].Length = 0; in NotifyAllocateMemResources()
624 RootBridgeInstance->ResAllocNode[Index].Base = (UINTN)BaseAddress; in NotifyAllocateMemResources()
625 RootBridgeInstance->ResAllocNode[Index].Status = ResAllocated; in NotifyAllocateMemResources()
632 RootBridgeInstance->ResAllocNode[Index].Length = 0; in NotifyAllocateMemResources()
657 if (RootBridgeInstance->ResAllocNode[Index].Status != ResNone) { in NotifyAllocateResources()
692 if (RootBridgeInstance->ResAllocNode[Index].Status == ResAllocated) { in NotifyFreeResources()
[all …]
DPciRootBridgeIo.c816 PrivateData->ResAllocNode[Index].Type = Index; in RootBridgeConstructor()
817 PrivateData->ResAllocNode[Index].Base = 0; in RootBridgeConstructor()
818 PrivateData->ResAllocNode[Index].Length = 0; in RootBridgeConstructor()
819 PrivateData->ResAllocNode[Index].Status = ResNone; in RootBridgeConstructor()
2303 if (PrivateData->ResAllocNode[Index].Status == ResAllocated) { in RootBridgeIoConfiguration()
2304 Configuration.SpaceDesp[Index].AddrRangeMin = PrivateData->ResAllocNode[Index].Base; in RootBridgeIoConfiguration()
2305 …tion.SpaceDesp[Index].AddrRangeMax = PrivateData->ResAllocNode[Index].Base + PrivateData->ResAlloc… in RootBridgeIoConfiguration()
2306 Configuration.SpaceDesp[Index].AddrLen = PrivateData->ResAllocNode[Index].Length; in RootBridgeIoConfiguration()
DPciHostBridge.h461 PCI_RES_NODE ResAllocNode[6]; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/
DPciHostBridge.c512 PCI_RES_NODE *ResAllocNode; in ResourceConflict() local
534 ResAllocNode = &RootBridge->ResAllocNode[Index]; in ResourceConflict()
538 Descriptor->AddrRangeMin = ResAllocNode->Base; in ResourceConflict()
539 Descriptor->AddrRangeMax = ResAllocNode->Alignment; in ResourceConflict()
540 Descriptor->AddrLen = ResAllocNode->Length; in ResourceConflict()
541 switch (ResAllocNode->Type) { in ResourceConflict()
703 RootBridge->ResAllocNode[Index].Type = Index; in NotifyPhase()
704 RootBridge->ResAllocNode[Index].Base = 0; in NotifyPhase()
705 RootBridge->ResAllocNode[Index].Length = 0; in NotifyPhase()
706 RootBridge->ResAllocNode[Index].Status = ResNone; in NotifyPhase()
[all …]
DPciRootBridgeIo.c205 RootBridge->ResAllocNode[Index].Type = Index; in CreateRootBridge()
207 RootBridge->ResAllocNode[Index].Base = Aperture->Base; in CreateRootBridge()
208 RootBridge->ResAllocNode[Index].Length = Aperture->Limit - Aperture->Base + 1; in CreateRootBridge()
209 RootBridge->ResAllocNode[Index].Status = ResAllocated; in CreateRootBridge()
211 RootBridge->ResAllocNode[Index].Base = 0; in CreateRootBridge()
212 RootBridge->ResAllocNode[Index].Length = 0; in CreateRootBridge()
213 RootBridge->ResAllocNode[Index].Status = ResNone; in CreateRootBridge()
1535 PCI_RES_NODE *ResAllocNode; in RootBridgeIoConfiguration() local
1550 ResAllocNode = &RootBridge->ResAllocNode[Index]; in RootBridgeIoConfiguration()
1552 if (ResAllocNode->Status != ResAllocated) { in RootBridgeIoConfiguration()
[all …]
DPciRootBridge.h67 PCI_RES_NODE ResAllocNode[TypeMax]; member