Lines Matching refs:StartAddress

1297   IN      UINTN                     StartAddress,  in PciReadBuffer()  argument
1304 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciReadBuffer()
1305 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100); in PciReadBuffer()
1318 if ((StartAddress & 1) != 0) { in PciReadBuffer()
1322 *(volatile UINT8 *)Buffer = PciRead8 (StartAddress); in PciReadBuffer()
1323 StartAddress += sizeof (UINT8); in PciReadBuffer()
1328 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciReadBuffer()
1332 *(volatile UINT16 *)Buffer = PciRead16 (StartAddress); in PciReadBuffer()
1333 StartAddress += sizeof (UINT16); in PciReadBuffer()
1342 *(volatile UINT32 *)Buffer = PciRead32 (StartAddress); in PciReadBuffer()
1343 StartAddress += sizeof (UINT32); in PciReadBuffer()
1352 *(volatile UINT16 *)Buffer = PciRead16 (StartAddress); in PciReadBuffer()
1353 StartAddress += sizeof (UINT16); in PciReadBuffer()
1362 *(volatile UINT8 *)Buffer = PciRead8 (StartAddress); in PciReadBuffer()
1395 IN UINTN StartAddress, in PciWriteBuffer() argument
1402 ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); in PciWriteBuffer()
1403 ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100); in PciWriteBuffer()
1416 if ((StartAddress & 1) != 0) { in PciWriteBuffer()
1420 PciWrite8 (StartAddress, *(UINT8*)Buffer); in PciWriteBuffer()
1421 StartAddress += sizeof (UINT8); in PciWriteBuffer()
1426 if (Size >= sizeof (UINT16) && (StartAddress & 2) != 0) { in PciWriteBuffer()
1430 PciWrite16 (StartAddress, *(UINT16*)Buffer); in PciWriteBuffer()
1431 StartAddress += sizeof (UINT16); in PciWriteBuffer()
1440 PciWrite32 (StartAddress, *(UINT32*)Buffer); in PciWriteBuffer()
1441 StartAddress += sizeof (UINT32); in PciWriteBuffer()
1450 PciWrite16 (StartAddress, *(UINT16*)Buffer); in PciWriteBuffer()
1451 StartAddress += sizeof (UINT16); in PciWriteBuffer()
1460 PciWrite8 (StartAddress, *(UINT8*)Buffer); in PciWriteBuffer()