Lines Matching defs:Bridge

311   @param Bridge     Given parent's root bridge.
318 IN PCI_IO_DEVICE *Bridge,
329 CurrentLink = Bridge->ChildList.ForwardLink;
330 while (CurrentLink != NULL && CurrentLink != &Bridge->ChildList) {
355 @param Bridge Parent root bridge instance.
365 IN PCI_IO_DEVICE *Bridge,
380 PciRootBridgeIo = Bridge->PciRootBridgeIo;
410 Status = PciAllocateBusNumber (Bridge, *SubBusNumber, 1, SubBusNumber);
454 Bridge,
552 @param Bridge Given bridge device instance.
559 IN PCI_IO_DEVICE *Bridge
572 CurrentLink = Bridge->ChildList.ForwardLink;
573 while (CurrentLink != NULL && CurrentLink != &Bridge->ChildList) {
644 // Set the attributes for devcies behind the Root Bridge
749 PCI_IO_DEVICE *Bridge;
774 Bridge = PciDevice;
775 while (Bridge->Parent != NULL) {
776 Bridge = Bridge->Parent;
779 RemoveAllPciDeviceOnBridge (Bridge->Handle, PciDevice);
790 Bridge = PciDevice->Parent;
791 CurrentLink = Bridge->ChildList.ForwardLink;
792 while (CurrentLink != NULL && CurrentLink != &Bridge->ChildList) {
1079 @param Bridge detecting bridge
1093 IN PCI_IO_DEVICE *Bridge,
1466 @param Bridge Pointer to bridge instance.
1474 IN PCI_IO_DEVICE *Bridge
1490 Bridge,
1492 Bridge->BridgeIoAlignment,
1499 Bridge,
1508 Bridge,
1517 Bridge,
1526 Bridge,
1538 Bridge,
1547 Bridge,
1617 @param Bridge Given Pci driver instance.
1630 IN PCI_IO_DEVICE *Bridge,
1638 if (!Bridge->Allocated) {
1648 if (IS_PCI_BRIDGE (&Bridge->Pci)) {
1650 if (Bridge->PciBar[PPB_IO_RANGE].Length > 0) {
1651 *IoBase = Bridge->PciBar[PPB_IO_RANGE].BaseAddress;
1654 if (Bridge->PciBar[PPB_MEM32_RANGE].Length > 0) {
1655 *Mem32Base = Bridge->PciBar[PPB_MEM32_RANGE].BaseAddress;
1658 if (Bridge->PciBar[PPB_PMEM32_RANGE].Length > 0) {
1659 *PMem32Base = Bridge->PciBar[PPB_PMEM32_RANGE].BaseAddress;
1662 if (Bridge->PciBar[PPB_PMEM64_RANGE].Length > 0) {
1663 *PMem64Base = Bridge->PciBar[PPB_PMEM64_RANGE].BaseAddress;
1670 if (IS_CARDBUS_BRIDGE (&Bridge->Pci)) {
1671 if (Bridge->PciBar[P2C_IO_1].Length > 0) {
1672 *IoBase = Bridge->PciBar[P2C_IO_1].BaseAddress;
1674 if (Bridge->PciBar[P2C_IO_2].Length > 0) {
1675 *IoBase = Bridge->PciBar[P2C_IO_2].BaseAddress;
1679 if (Bridge->PciBar[P2C_MEM_1].Length > 0) {
1680 if (Bridge->PciBar[P2C_MEM_1].BarType == PciBarTypePMem32) {
1681 *PMem32Base = Bridge->PciBar[P2C_MEM_1].BaseAddress;
1684 if (Bridge->PciBar[P2C_MEM_1].BarType == PciBarTypeMem32) {
1685 *Mem32Base = Bridge->PciBar[P2C_MEM_1].BaseAddress;
1689 if (Bridge->PciBar[P2C_MEM_2].Length > 0) {
1690 if (Bridge->PciBar[P2C_MEM_2].BarType == PciBarTypePMem32) {
1691 *PMem32Base = Bridge->PciBar[P2C_MEM_2].BaseAddress;
1694 if (Bridge->PciBar[P2C_MEM_2].BarType == PciBarTypeMem32) {
1695 *Mem32Base = Bridge->PciBar[P2C_MEM_2].BaseAddress;
1782 // Get Host Bridge Handle.
1812 // Get Host Bridge Handle.
1882 @param Bridge Pointer to the EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL instance.
1899 IN PCI_IO_DEVICE *Bridge,
1915 HostBridgeHandle = Bridge->PciRootBridgeIo->ParentHandle;
1936 while (Bridge->Parent != NULL) {
1937 Bridge = Bridge->Parent;
1940 RootBridgeHandle = Bridge->Handle;
2044 PCI_IO_DEVICE *Bridge;
2085 Bridge = PCI_IO_DEVICE_FROM_PCI_IO_THIS (PciIo);
2090 Temp = Bridge;
2103 if (IsListEmpty (&Bridge->ChildList)) {
2105 Status = PciBridgeEnumerator (Bridge);
2114 Bridge,
2129 RemoveAllPciDeviceOnBridge (RootBridgeHandle, Bridge);