Lines Matching refs:PciBar
375 if ((*Offset + Count * ((UINTN)1 << Width)) - 1 >= PciIoDevice->PciBar[BarIndex].Length) { in PciIoVerifyBarAccess()
379 *Offset = *Offset + PciIoDevice->PciBar[BarIndex].BaseAddress; in PciIoVerifyBarAccess()
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()
1637 AddressSpace->AddrRangeMin = PciIoDevice->PciBar[BarIndex].BaseAddress; in PciIoGetBarAttributes()
1638 AddressSpace->AddrLen = PciIoDevice->PciBar[BarIndex].Length; in PciIoGetBarAttributes()
1639 AddressSpace->AddrRangeMax = PciIoDevice->PciBar[BarIndex].Alignment; in PciIoGetBarAttributes()
1641 switch (PciIoDevice->PciBar[BarIndex].BarType) { in PciIoGetBarAttributes()
1755 if (PciIoDevice->PciBar[BarIndex].BarType == PciBarTypeUnknown) { in PciIoSetBarAttributes()