Lines Matching refs:Length
39 IN UINTN Length, in MmioReadBuffer8() argument
45 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer8()
46 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer8()
50 while (Length-- != 0) { in MmioReadBuffer8()
83 IN UINTN Length, in MmioReadBuffer16() argument
91 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer16()
92 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer16()
94 ASSERT ((Length & (sizeof (UINT16) - 1)) == 0); in MmioReadBuffer16()
99 while (Length != 0) { in MmioReadBuffer16()
102 Length -= sizeof (UINT16); in MmioReadBuffer16()
134 IN UINTN Length, in MmioReadBuffer32() argument
142 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer32()
143 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer32()
145 ASSERT ((Length & (sizeof (UINT32) - 1)) == 0); in MmioReadBuffer32()
150 while (Length != 0) { in MmioReadBuffer32()
153 Length -= sizeof (UINT32); in MmioReadBuffer32()
185 IN UINTN Length, in MmioReadBuffer64() argument
193 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioReadBuffer64()
194 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioReadBuffer64()
196 ASSERT ((Length & (sizeof (UINT64) - 1)) == 0); in MmioReadBuffer64()
201 while (Length != 0) { in MmioReadBuffer64()
204 Length -= sizeof (UINT64); in MmioReadBuffer64()
233 IN UINTN Length, in MmioWriteBuffer8() argument
239 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioWriteBuffer8()
240 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer8()
244 while (Length-- != 0) { in MmioWriteBuffer8()
279 IN UINTN Length, in MmioWriteBuffer16() argument
287 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioWriteBuffer16()
288 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer16()
290 ASSERT ((Length & (sizeof (UINT16) - 1)) == 0); in MmioWriteBuffer16()
295 while (Length != 0) { in MmioWriteBuffer16()
299 Length -= sizeof (UINT16); in MmioWriteBuffer16()
333 IN UINTN Length, in MmioWriteBuffer32() argument
341 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioWriteBuffer32()
342 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer32()
344 ASSERT ((Length & (sizeof (UINT32) - 1)) == 0); in MmioWriteBuffer32()
349 while (Length != 0) { in MmioWriteBuffer32()
353 Length -= sizeof (UINT32); in MmioWriteBuffer32()
386 IN UINTN Length, in MmioWriteBuffer64() argument
394 ASSERT ((Length - 1) <= (MAX_ADDRESS - StartAddress)); in MmioWriteBuffer64()
395 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN) Buffer)); in MmioWriteBuffer64()
397 ASSERT ((Length & (sizeof (UINT64) - 1)) == 0); in MmioWriteBuffer64()
402 while (Length != 0) { in MmioWriteBuffer64()
406 Length -= sizeof (UINT64); in MmioWriteBuffer64()