Lines Matching refs:Buffer
40 OUT UINT8 *Buffer in MmioReadBuffer8() argument
46 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer8()
48 ReturnBuffer = Buffer; in MmioReadBuffer8()
51 *(Buffer++) = MmioRead8 (StartAddress++); in MmioReadBuffer8()
85 OUT UINT16 *Buffer in MmioReadBuffer16() argument
93 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer16()
96 ASSERT (((UINTN) Buffer & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16()
98 ReturnBuffer = Buffer; in MmioReadBuffer16()
101 *(Buffer++) = MmioRead16 (StartAddress); in MmioReadBuffer16()
136 OUT UINT32 *Buffer in MmioReadBuffer32() argument
144 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer32()
147 ASSERT (((UINTN) Buffer & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32()
149 ReturnBuffer = Buffer; in MmioReadBuffer32()
152 *(Buffer++) = MmioRead32 (StartAddress); in MmioReadBuffer32()
188 OUT UINT64 *Buffer in MmioReadBuffer64() argument
196 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer64()
199 ASSERT (((UINTN) Buffer & (sizeof (UINT64) - 1)) == 0); in MmioReadBuffer64()
201 ReturnBuffer = Buffer; in MmioReadBuffer64()
204 *(Buffer++) = MmioRead64 (StartAddress); in MmioReadBuffer64()
237 IN CONST UINT8 *Buffer in MmioWriteBuffer8() argument
243 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer8()
245 ReturnBuffer = (UINT8 *) Buffer; in MmioWriteBuffer8()
248 MmioWrite8 (StartAddress++, *(Buffer++)); in MmioWriteBuffer8()
284 IN CONST UINT16 *Buffer in MmioWriteBuffer16() argument
292 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer16()
295 ASSERT (((UINTN) Buffer & (sizeof (UINT16) - 1)) == 0); in MmioWriteBuffer16()
297 ReturnBuffer = (UINT16 *) Buffer; in MmioWriteBuffer16()
300 MmioWrite16 (StartAddress, *(Buffer++)); in MmioWriteBuffer16()
339 IN CONST UINT32 *Buffer in MmioWriteBuffer32() argument
347 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer32()
350 ASSERT (((UINTN) Buffer & (sizeof (UINT32) - 1)) == 0); in MmioWriteBuffer32()
352 ReturnBuffer = (UINT32 *) Buffer; in MmioWriteBuffer32()
355 MmioWrite32 (StartAddress, *(Buffer++)); in MmioWriteBuffer32()
393 IN CONST UINT64 *Buffer in MmioWriteBuffer64() argument
401 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer64()
404 ASSERT (((UINTN) Buffer & (sizeof (UINT64) - 1)) == 0); in MmioWriteBuffer64()
406 ReturnBuffer = (UINT64 *) Buffer; in MmioWriteBuffer64()
409 MmioWrite64 (StartAddress, *(Buffer++)); in MmioWriteBuffer64()