Lines Matching refs:StartAddress
1247 IN UINT64 StartAddress, in PciSegmentReadBuffer() argument
1254 ASSERT_INVALID_PCI_SEGMENT_ADDRESS (StartAddress, 0); in PciSegmentReadBuffer()
1255 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciSegmentReadBuffer()
1268 if ((StartAddress & BIT0) != 0) { in PciSegmentReadBuffer()
1272 *(volatile UINT8 *)Buffer = PciSegmentRead8 (StartAddress); in PciSegmentReadBuffer()
1273 StartAddress += sizeof (UINT8); in PciSegmentReadBuffer()
1278 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciSegmentReadBuffer()
1282 WriteUnaligned16 (Buffer, PciSegmentRead16 (StartAddress)); in PciSegmentReadBuffer()
1283 StartAddress += sizeof (UINT16); in PciSegmentReadBuffer()
1292 WriteUnaligned32 (Buffer, PciSegmentRead32 (StartAddress)); in PciSegmentReadBuffer()
1293 StartAddress += sizeof (UINT32); in PciSegmentReadBuffer()
1302 WriteUnaligned16 (Buffer, PciSegmentRead16 (StartAddress)); in PciSegmentReadBuffer()
1303 StartAddress += sizeof (UINT16); in PciSegmentReadBuffer()
1312 *(volatile UINT8 *)Buffer = PciSegmentRead8 (StartAddress); in PciSegmentReadBuffer()
1346 IN UINT64 StartAddress, in PciSegmentWriteBuffer() argument
1353 ASSERT_INVALID_PCI_SEGMENT_ADDRESS (StartAddress, 0); in PciSegmentWriteBuffer()
1354 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciSegmentWriteBuffer()
1367 if ((StartAddress & BIT0) != 0) { in PciSegmentWriteBuffer()
1371 PciSegmentWrite8 (StartAddress, *(UINT8*)Buffer); in PciSegmentWriteBuffer()
1372 StartAddress += sizeof (UINT8); in PciSegmentWriteBuffer()
1377 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciSegmentWriteBuffer()
1381 PciSegmentWrite16 (StartAddress, ReadUnaligned16 (Buffer)); in PciSegmentWriteBuffer()
1382 StartAddress += sizeof (UINT16); in PciSegmentWriteBuffer()
1391 PciSegmentWrite32 (StartAddress, ReadUnaligned32 (Buffer)); in PciSegmentWriteBuffer()
1392 StartAddress += sizeof (UINT32); in PciSegmentWriteBuffer()
1401 PciSegmentWrite16 (StartAddress, ReadUnaligned16 (Buffer)); in PciSegmentWriteBuffer()
1402 StartAddress += sizeof (UINT16); in PciSegmentWriteBuffer()
1411 PciSegmentWrite8 (StartAddress, *(UINT8*)Buffer); in PciSegmentWriteBuffer()