Home
last modified time | relevance | path

Searched refs:BarType (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciEnumeratorSupport.c423 if (PciIoDevice->PciBar[Index].BarType == PciBarTypeUnknown) { in DumpPciBars()
430 Index, mBarTypeStr[MIN (PciIoDevice->PciBar[Index].BarType, PciBarTypeMaxType)], in DumpPciBars()
436 …if ((PciIoDevice->VfPciBar[Index].BarType == PciBarTypeUnknown) && (PciIoDevice->VfPciBar[Index].L… in DumpPciBars()
443 Index, mBarTypeStr[MIN (PciIoDevice->VfPciBar[Index].BarType, PciBarTypeMaxType)], in DumpPciBars()
1428 if (PciIoDevice->PciBar[BarIndex].BarType == PciBarTypeMem64) { in UpdatePciInfo()
1431 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypeMem32; in UpdatePciInfo()
1440 if (PciIoDevice->PciBar[BarIndex].BarType == PciBarTypePMem64) { in UpdatePciInfo()
1443 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypePMem32; in UpdatePciInfo()
1632 PciIoDevice->VfPciBar[BarIndex].BarType = PciBarTypePMem32; in PciIovParseVfBar()
1634 PciIoDevice->VfPciBar[BarIndex].BarType = PciBarTypeMem32; in PciIovParseVfBar()
[all …]
DPciIo.c1241 IN PCI_BAR_TYPE BarType in CheckBarType() argument
1244 switch (BarType) { in CheckBarType()
1248 if (PciIoDevice->PciBar[BarIndex].BarType != PciBarTypeMem32 && in CheckBarType()
1249 PciIoDevice->PciBar[BarIndex].BarType != PciBarTypePMem32 && in CheckBarType()
1250 PciIoDevice->PciBar[BarIndex].BarType != PciBarTypePMem64 && in CheckBarType()
1251 PciIoDevice->PciBar[BarIndex].BarType != PciBarTypeMem64 ) { in CheckBarType()
1258 if (PciIoDevice->PciBar[BarIndex].BarType != PciBarTypeIo32 && in CheckBarType()
1259 PciIoDevice->PciBar[BarIndex].BarType != PciBarTypeIo16){ in CheckBarType()
1834 if ((BarIndex >= PCI_MAX_BAR) || (PciIoDevice->PciBar[BarIndex].BarType == PciBarTypeUnknown)) { in PciIoGetBarAttributes()
1860 switch (PciIoDevice->PciBar[BarIndex].BarType) { in PciIoGetBarAttributes()
[all …]
DPciResourceSupport.c471 switch ((PciDev->PciBar)[Index].BarType) { in GetResourceFromDevice()
580 switch ((PciDev->VfPciBar)[Index].BarType) { in GetResourceFromDevice()
1321 switch ((Node->PciDev->PciBar[Node->Bar]).BarType) { in ProgramBar()
1405 switch ((Node->PciDev->VfPciBar[Node->Bar]).BarType) { in ProgramVfBar()
1499 switch ((Node->PciDev->PciBar[Node->Bar]).BarType) { in ProgramPpbApperture()
1997 Node->PciDev->PciBar[Node->Bar].BarType = Node->ResType; in ProgramP2C()
2067 Node->PciDev->PciBar[Node->Bar].BarType = Node->ResType; in ProgramP2C()
2090 Node->PciDev->PciBar[Node->Bar].BarType = Node->ResType; in ProgramP2C()
2114 Node->PciDev->PciBar[Node->Bar].BarType = Node->ResType; in ProgramP2C()
DPciBus.h104 PCI_BAR_TYPE BarType; member
DPciLib.c64 (PciIoDevice->PciBar)[P2C_MEM_1].BarType = PciBarTypeMem32; in GetBackPcCardBar()
76 (PciIoDevice->PciBar)[P2C_MEM_2].BarType = PciBarTypePMem32; in GetBackPcCardBar()
88 (PciIoDevice->PciBar)[P2C_IO_1].BarType = PciBarTypeIo16; in GetBackPcCardBar()
100 (PciIoDevice->PciBar)[P2C_IO_2].BarType = PciBarTypeIo16; in GetBackPcCardBar()
DPciEnumerator.c1695 if (Bridge->PciBar[P2C_MEM_1].BarType == PciBarTypePMem32) { in GetResourceBaseFromBridge()
1699 if (Bridge->PciBar[P2C_MEM_1].BarType == PciBarTypeMem32) { in GetResourceBaseFromBridge()
1705 if (Bridge->PciBar[P2C_MEM_2].BarType == PciBarTypePMem32) { in GetResourceBaseFromBridge()
1709 if (Bridge->PciBar[P2C_MEM_2].BarType == PciBarTypeMem32) { in GetResourceBaseFromBridge()
DPciIo.h519 IN PCI_BAR_TYPE BarType
/device/linaro/bootloader/edk2/OvmfPkg/Virtio10Dxe/
DVirtio10.c81 EFI_PCI_IO_PROTOCOL_ACCESS *BarType; in Virtio10Transfer() local
114 BarType = (Config->BarType == Virtio10BarTypeMem) ? &PciIo->Mem : &PciIo->Io; in Virtio10Transfer()
115 Access = Write ? BarType->Write : BarType->Read; in Virtio10Transfer()
147 OUT VIRTIO_1_0_BAR_TYPE *BarType in GetBarType() argument
166 *BarType = Virtio10BarTypeMem; in GetBarType()
171 *BarType = Virtio10BarTypeIo; in GetBarType()
325 Status = GetBarType (Device->PciIo, VirtIoCap.Bar, &ParsedConfig->BarType); in ParseCapabilities()
386 *Attributes |= (Config->BarType == Virtio10BarTypeMem) ? in UpdateAttributes()
DVirtio10.h36 VIRTIO_1_0_BAR_TYPE BarType; member
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciEnumeratorSupport.c914 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypeIo32; in PciParseBar()
922 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypeIo16; in PciParseBar()
932 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypeUnknown; in PciParseBar()
951 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypePMem32; in PciParseBar()
953 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypeMem32; in PciParseBar()
966 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypePMem64; in PciParseBar()
968 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypeMem64; in PciParseBar()
1017 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypeUnknown; in PciParseBar()
1029 PciIoDevice->PciBar[BarIndex].BarType = PciBarTypeUnknown; in PciParseBar()
DPciIo.c50 PCI_BAR_TYPE BarType
1178 PCI_BAR_TYPE BarType in CheckBarType() argument
1194 switch (BarType) { in CheckBarType()
1198 if (PciIoDevice->PciBar[BarIndex].BarType != PciBarTypeMem32 && in CheckBarType()
1199 PciIoDevice->PciBar[BarIndex].BarType != PciBarTypePMem32 && in CheckBarType()
1200 PciIoDevice->PciBar[BarIndex].BarType != PciBarTypePMem64 && in CheckBarType()
1201 PciIoDevice->PciBar[BarIndex].BarType != PciBarTypeMem64 ) { in CheckBarType()
1208 if (PciIoDevice->PciBar[BarIndex].BarType != PciBarTypeIo32 && in CheckBarType()
1209 PciIoDevice->PciBar[BarIndex].BarType != PciBarTypeIo16){ in CheckBarType()
1614 if ((BarIndex >= PCI_MAX_BAR) || (PciIoDevice->PciBar[BarIndex].BarType == PciBarTypeUnknown)) { in PciIoGetBarAttributes()
[all …]
DPciBus.h85 PCI_BAR_TYPE BarType; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
DPciBus.h102 PCI_BAR_TYPE BarType;