Searched defs:HostBridge (Results 1 - 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/
H A DPciHostBridge.c65 PCI_HOST_BRIDGE_INSTANCE* HostBridge; local
73 HostBridge = AllocateCopyPool (sizeof (PCI_HOST_BRIDGE_INSTANCE), &gPciHostBridgeInstanceTemplate);
74 if (HostBridge == NULL) {
79 // It will also create a device handle for the PCI Host Bridge (as HostBridge->Handle == NULL)
81 &HostBridge->Handle,
82 &gEfiPciHostBridgeResourceAllocationProtocolGuid, &HostBridge->ResAlloc,
87 FreePool (HostBridge);
93 Status = gBS->LocateProtocol (&gEfiCpuIo2ProtocolGuid, NULL, (VOID **)(&(HostBridge->CpuIo)));
96 Status = gBS->LocateProtocol (&gEfiMetronomeArchProtocolGuid, NULL, (VOID **)(&(HostBridge->Metronome)));
99 HostBridge
[all...]
H A DPciHostBridgeResourceAllocation.c569 PCI_HOST_BRIDGE_INSTANCE* HostBridge; local
582 HostBridge = INSTANCE_FROM_RESOURCE_ALLOCATION_THIS (This);
583 RootBridge = HostBridge->RootBridge;
H A DPciHostBridge.h85 PCI_HOST_BRIDGE_INSTANCE *HostBridge; member in struct:__anon3331
309 IN PCI_HOST_BRIDGE_INSTANCE *HostBridge,
H A DPciRootBridge.c21 #define CPUIO_FROM_ROOT_BRIDGE_INSTANCE(Instance) (Instance->HostBridge->CpuIo)
22 #define METRONOME_FROM_ROOT_BRIDGE_INSTANCE(Instance) (Instance->HostBridge->Metronome)
674 IN PCI_HOST_BRIDGE_INSTANCE *HostBridge,
695 RootBridge->Io.ParentHandle = HostBridge->Handle;
698 RootBridge->HostBridge = HostBridge;
724 HostBridge->RootBridge = RootBridge;
673 PciRbConstructor( IN PCI_HOST_BRIDGE_INSTANCE *HostBridge, IN UINT32 PciAcpiUid, IN UINT64 MemAllocAttributes ) argument
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciPlatform/
H A DPciPlatform.c39 IN EFI_HANDLE HostBridge,
58 IN EFI_HANDLE HostBridge,
37 PhaseNotify( IN EFI_PCI_PLATFORM_PROTOCOL *This, IN EFI_HANDLE HostBridge, IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PHASE Phase, IN EFI_PCI_CHIPSET_EXECUTION_PHASE ChipsetPhase ) argument
56 PlatformPrepController( IN EFI_PCI_PLATFORM_PROTOCOL *This, IN EFI_HANDLE HostBridge, IN EFI_HANDLE RootBridge, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress, IN EFI_PCI_CONTROLLER_RESOURCE_ALLOCATION_PHASE Phase, IN EFI_PCI_CHIPSET_EXECUTION_PHASE ChipsetPhase ) argument
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PciPlatform/
H A DPciPlatform.c137 IN EFI_HANDLE HostBridge,
150 IN EFI_HANDLE HostBridge,
126 PhaseNotify( IN EFI_PCI_PLATFORM_PROTOCOL *This, IN EFI_HANDLE HostBridge, IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PHASE Phase, IN EFI_PCI_CHIPSET_EXECUTION_PHASE ChipsetPhase ) argument
139 PlatformPrepController( IN EFI_PCI_PLATFORM_PROTOCOL *This, IN EFI_HANDLE HostBridge, IN EFI_HANDLE RootBridge, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress, IN EFI_PCI_CONTROLLER_RESOURCE_ALLOCATION_PHASE Phase, IN EFI_PCI_CHIPSET_EXECUTION_PHASE ChipsetPhase ) argument
/device/linaro/bootloader/edk2/ArmVirtPkg/PciHostBridgeDxe/
H A DPciHostBridge.c104 PCI_HOST_BRIDGE_INSTANCE *HostBridge; local
166 HostBridge = AllocateCopyPool (sizeof(PCI_HOST_BRIDGE_INSTANCE), &mPciHostBridgeInstanceTemplate);
167 if (HostBridge == NULL) {
171 HostBridge->RootBridgeNumber = RootBridgeNumber[Loop1];
172 InitializeListHead (&HostBridge->Head);
175 &HostBridge->HostBridgeHandle,
176 &gEfiPciHostBridgeResourceAllocationProtocolGuid, &HostBridge->ResAlloc,
180 FreePool (HostBridge);
188 for (Loop2 = 0; Loop2 < HostBridge->RootBridgeNumber; Loop2++) {
199 HostBridge
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/PciHostBridgeDxe/
H A DPciHostBridge.c217 PCI_HOST_BRIDGE_INSTANCE *HostBridge; local
226 HostBridge = AllocateCopyPool (sizeof(PCI_HOST_BRIDGE_INSTANCE),
228 if (HostBridge == NULL) {
232 InitializeListHead (&HostBridge->Head);
235 &HostBridge->HostBridgeHandle,
237 &HostBridge->ResAlloc,
286 (UINT8)(RootBridgeNumber - 1), HostBridge->HostBridgeHandle,
291 InsertTailList (&HostBridge->Head, &RootBus->Link);
302 HostBridge->HostBridgeHandle, &RootBus);
306 InsertTailList (&HostBridge
[all...]
/device/linaro/bootloader/edk2/PcAtChipsetPkg/PciHostBridgeDxe/
H A DPciHostBridge.c108 PCI_HOST_BRIDGE_INSTANCE *HostBridge; local
117 HostBridge = AllocateCopyPool (sizeof(PCI_HOST_BRIDGE_INSTANCE),
119 if (HostBridge == NULL) {
123 HostBridge->RootBridgeNumber = RootBridgeNumber[Loop1];
124 InitializeListHead (&HostBridge->Head);
127 &HostBridge->HostBridgeHandle,
129 &HostBridge->ResAlloc,
133 FreePool (HostBridge);
141 for (Loop2 = 0; Loop2 < HostBridge->RootBridgeNumber; Loop2++) {
153 HostBridge
[all...]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
H A DPciHostBridge.c84 PCI_HOST_BRIDGE_INSTANCE *HostBridge; local
97 Status = gBS->AllocatePool(EfiBootServicesData, sizeof(PCI_HOST_BRIDGE_INSTANCE), (VOID **) &HostBridge);
99 ZeroMem (HostBridge, sizeof (PCI_HOST_BRIDGE_INSTANCE));
101 HostBridge->Signature = PCI_HOST_BRIDGE_SIGNATURE;
102 HostBridge->RootBridgeCount = 1;
103 HostBridge->ResourceSubmited = FALSE;
104 HostBridge->CanRestarted = TRUE;
106 // InitializeListHead (&HostBridge->Head);
108 HostBridge->ResAlloc.NotifyPhase = NotifyPhase;
109 HostBridge
[all...]

Completed in 256 milliseconds