Lines Matching refs:StartAddress
1255 IN UINTN StartAddress, in PciReadBuffer() argument
1262 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciReadBuffer()
1263 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciReadBuffer()
1276 if ((StartAddress & BIT0) != 0) { in PciReadBuffer()
1280 *(volatile UINT8 *)Buffer = PciRead8 (StartAddress); in PciReadBuffer()
1281 StartAddress += sizeof (UINT8); in PciReadBuffer()
1286 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciReadBuffer()
1290 WriteUnaligned16 (Buffer, PciRead16 (StartAddress)); in PciReadBuffer()
1291 StartAddress += sizeof (UINT16); in PciReadBuffer()
1300 WriteUnaligned32 (Buffer, PciRead32 (StartAddress)); in PciReadBuffer()
1301 StartAddress += sizeof (UINT32); in PciReadBuffer()
1310 WriteUnaligned16 (Buffer, PciRead16 (StartAddress)); in PciReadBuffer()
1311 StartAddress += sizeof (UINT16); in PciReadBuffer()
1320 *(volatile UINT8 *)Buffer = PciRead8 (StartAddress); in PciReadBuffer()
1353 IN UINTN StartAddress, in PciWriteBuffer() argument
1360 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciWriteBuffer()
1361 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); in PciWriteBuffer()
1374 if ((StartAddress & BIT0) != 0) { in PciWriteBuffer()
1378 PciWrite8 (StartAddress, *(UINT8*)Buffer); in PciWriteBuffer()
1379 StartAddress += sizeof (UINT8); in PciWriteBuffer()
1384 if (Size >= sizeof (UINT16) && (StartAddress & BIT1) != 0) { in PciWriteBuffer()
1388 PciWrite16 (StartAddress, ReadUnaligned16 (Buffer)); in PciWriteBuffer()
1389 StartAddress += sizeof (UINT16); in PciWriteBuffer()
1398 PciWrite32 (StartAddress, ReadUnaligned32 (Buffer)); in PciWriteBuffer()
1399 StartAddress += sizeof (UINT32); in PciWriteBuffer()
1408 PciWrite16 (StartAddress, ReadUnaligned16 (Buffer)); in PciWriteBuffer()
1409 StartAddress += sizeof (UINT16); in PciWriteBuffer()
1418 PciWrite8 (StartAddress, *(UINT8*)Buffer); in PciWriteBuffer()