Lines Matching refs:Uint8Buffer
217 UINT8 *Uint8Buffer; in CpuMemoryServiceRead() local
231 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceRead()
233 *Uint8Buffer = MmioRead8 ((UINTN)Address); in CpuMemoryServiceRead()
236 *((UINT16 *)Uint8Buffer) = MmioRead16 ((UINTN)Address); in CpuMemoryServiceRead()
238 WriteUnaligned16 ((UINT16 *)Uint8Buffer, MmioRead16 ((UINTN)Address)); in CpuMemoryServiceRead()
242 *((UINT32 *)Uint8Buffer) = MmioRead32 ((UINTN)Address); in CpuMemoryServiceRead()
244 WriteUnaligned32 ((UINT32 *)Uint8Buffer, MmioRead32 ((UINTN)Address)); in CpuMemoryServiceRead()
248 *((UINT64 *)Uint8Buffer) = MmioRead64 ((UINTN)Address); in CpuMemoryServiceRead()
250 WriteUnaligned64 ((UINT64 *)Uint8Buffer, MmioRead64 ((UINTN)Address)); in CpuMemoryServiceRead()
291 UINT8 *Uint8Buffer; in CpuMemoryServiceWrite() local
305 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceWrite()
307 MmioWrite8 ((UINTN)Address, *Uint8Buffer); in CpuMemoryServiceWrite()
310 MmioWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer)); in CpuMemoryServiceWrite()
312 MmioWrite16 ((UINTN)Address, ReadUnaligned16 ((UINT16 *)Uint8Buffer)); in CpuMemoryServiceWrite()
316 MmioWrite32 ((UINTN)Address, *((UINT32 *)Uint8Buffer)); in CpuMemoryServiceWrite()
318 MmioWrite32 ((UINTN)Address, ReadUnaligned32 ((UINT32 *)Uint8Buffer)); in CpuMemoryServiceWrite()
322 MmioWrite64 ((UINTN)Address, *((UINT64 *)Uint8Buffer)); in CpuMemoryServiceWrite()
324 MmioWrite64 ((UINTN)Address, ReadUnaligned64 ((UINT64 *)Uint8Buffer)); in CpuMemoryServiceWrite()
365 UINT8 *Uint8Buffer; in CpuIoServiceRead() local
379 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuIoServiceRead()
381 *Uint8Buffer = IoRead8 ((UINTN)Address); in CpuIoServiceRead()
384 *((UINT16 *)Uint8Buffer) = IoRead16 ((UINTN)Address); in CpuIoServiceRead()
386 WriteUnaligned16 ((UINT16 *)Uint8Buffer, IoRead16 ((UINTN)Address)); in CpuIoServiceRead()
390 *((UINT32 *)Uint8Buffer) = IoRead32 ((UINTN)Address); in CpuIoServiceRead()
392 WriteUnaligned32 ((UINT32 *)Uint8Buffer, IoRead32 ((UINTN)Address)); in CpuIoServiceRead()
434 UINT8 *Uint8Buffer; in CpuIoServiceWrite() local
451 …for (Uint8Buffer = (UINT8 *)Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Coun… in CpuIoServiceWrite()
453 IoWrite8 ((UINTN)Address, *Uint8Buffer); in CpuIoServiceWrite()
456 IoWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer)); in CpuIoServiceWrite()
458 IoWrite16 ((UINTN)Address, ReadUnaligned16 ((UINT16 *)Uint8Buffer)); in CpuIoServiceWrite()
462 IoWrite32 ((UINTN)Address, *((UINT32 *)Uint8Buffer)); in CpuIoServiceWrite()
464 IoWrite32 ((UINTN)Address, ReadUnaligned32 ((UINT32 *)Uint8Buffer)); in CpuIoServiceWrite()