Lines Matching refs:Buffer
47 OUT UINT8 *Buffer in MmioReadBuffer8() argument
53 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer8()
55 ReturnBuffer = Buffer; in MmioReadBuffer8()
58 *(Buffer++) = MmioRead8 (StartAddress++); in MmioReadBuffer8()
91 OUT UINT16 *Buffer in MmioReadBuffer16() argument
99 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer16()
102 ASSERT (((UINTN) Buffer & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16()
104 ReturnBuffer = Buffer; in MmioReadBuffer16()
107 *(Buffer++) = MmioRead16 (StartAddress); in MmioReadBuffer16()
142 OUT UINT32 *Buffer in MmioReadBuffer32() argument
150 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer32()
153 ASSERT (((UINTN) Buffer & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32()
155 ReturnBuffer = Buffer; in MmioReadBuffer32()
158 *(Buffer++) = MmioRead32 (StartAddress); in MmioReadBuffer32()
193 OUT UINT64 *Buffer in MmioReadBuffer64() argument
201 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer64()
204 ASSERT (((UINTN) Buffer & (sizeof (UINT64) - 1)) == 0); in MmioReadBuffer64()
206 ReturnBuffer = Buffer; in MmioReadBuffer64()
209 *(Buffer++) = MmioRead64 (StartAddress); in MmioReadBuffer64()
241 IN CONST UINT8 *Buffer in MmioWriteBuffer8() argument
247 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer8()
249 ReturnBuffer = (UINT8 *) Buffer; in MmioWriteBuffer8()
252 MmioWrite8 (StartAddress++, *(Buffer++)); in MmioWriteBuffer8()
287 IN CONST UINT16 *Buffer in MmioWriteBuffer16() argument
295 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer16()
298 ASSERT (((UINTN) Buffer & (sizeof (UINT16) - 1)) == 0); in MmioWriteBuffer16()
300 ReturnBuffer = (UINT16 *) Buffer; in MmioWriteBuffer16()
303 MmioWrite16 (StartAddress, *(Buffer++)); in MmioWriteBuffer16()
341 IN CONST UINT32 *Buffer in MmioWriteBuffer32() argument
349 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer32()
352 ASSERT (((UINTN) Buffer & (sizeof (UINT32) - 1)) == 0); in MmioWriteBuffer32()
354 ReturnBuffer = (UINT32 *) Buffer; in MmioWriteBuffer32()
357 MmioWrite32 (StartAddress, *(Buffer++)); in MmioWriteBuffer32()
394 IN CONST UINT64 *Buffer in MmioWriteBuffer64() argument
402 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer64()
405 ASSERT (((UINTN) Buffer & (sizeof (UINT64) - 1)) == 0); in MmioWriteBuffer64()
407 ReturnBuffer = (UINT64 *) Buffer; in MmioWriteBuffer64()
410 MmioWrite64 (StartAddress, *(Buffer++)); in MmioWriteBuffer64()