/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIo2Smm/ |
D | CpuIo2Smm.c | 171 UINT8 *Uint8Buffer; in CpuMemoryServiceRead() local 182 for (Uint8Buffer = Buffer; Count > 0; Address += Stride, Uint8Buffer += Stride, Count--) { in CpuMemoryServiceRead() 184 *Uint8Buffer = MmioRead8 ((UINTN)Address); in CpuMemoryServiceRead() 186 *((UINT16 *)Uint8Buffer) = MmioRead16 ((UINTN)Address); in CpuMemoryServiceRead() 188 *((UINT32 *)Uint8Buffer) = MmioRead32 ((UINTN)Address); in CpuMemoryServiceRead() 190 *((UINT64 *)Uint8Buffer) = MmioRead64 ((UINTN)Address); in CpuMemoryServiceRead() 231 UINT8 *Uint8Buffer; in CpuMemoryServiceWrite() local 242 for (Uint8Buffer = Buffer; Count > 0; Address += Stride, Uint8Buffer += Stride, Count--) { in CpuMemoryServiceWrite() 244 MmioWrite8 ((UINTN)Address, *Uint8Buffer); in CpuMemoryServiceWrite() 246 MmioWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer)); in CpuMemoryServiceWrite() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/CpuIoDxe/ |
D | CpuIo.c | 240 UINT8 *Uint8Buffer; in CpuMemoryServiceRead() local 253 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceRead() 255 *Uint8Buffer = MmioRead8 ((UINTN)Address); in CpuMemoryServiceRead() 257 *((UINT16 *)Uint8Buffer) = MmioRead16 ((UINTN)Address); in CpuMemoryServiceRead() 259 *((UINT32 *)Uint8Buffer) = MmioRead32 ((UINTN)Address); in CpuMemoryServiceRead() 261 *((UINT64 *)Uint8Buffer) = MmioRead64 ((UINTN)Address); in CpuMemoryServiceRead() 320 UINT8 *Uint8Buffer; in CpuMemoryServiceWrite() local 333 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceWrite() 335 MmioWrite8 ((UINTN)Address, *Uint8Buffer); in CpuMemoryServiceWrite() 337 MmioWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer)); in CpuMemoryServiceWrite() [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ |
D | ArmPciCpuIo2Dxe.c | 239 UINT8 *Uint8Buffer; in CpuMemoryServiceRead() local 252 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceRead() 254 *Uint8Buffer = MmioRead8 ((UINTN)Address); in CpuMemoryServiceRead() 256 *((UINT16 *)Uint8Buffer) = MmioRead16 ((UINTN)Address); in CpuMemoryServiceRead() 258 *((UINT32 *)Uint8Buffer) = MmioRead32 ((UINTN)Address); in CpuMemoryServiceRead() 260 *((UINT64 *)Uint8Buffer) = MmioRead64 ((UINTN)Address); in CpuMemoryServiceRead() 320 UINT8 *Uint8Buffer; in CpuMemoryServiceWrite() local 333 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceWrite() 335 MmioWrite8 ((UINTN)Address, *Uint8Buffer); in CpuMemoryServiceWrite() 337 MmioWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer)); in CpuMemoryServiceWrite() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIo2Dxe/ |
D | CpuIo2Dxe.c | 241 UINT8 *Uint8Buffer; in CpuMemoryServiceRead() local 254 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceRead() 256 *Uint8Buffer = MmioRead8 ((UINTN)Address); in CpuMemoryServiceRead() 258 *((UINT16 *)Uint8Buffer) = MmioRead16 ((UINTN)Address); in CpuMemoryServiceRead() 260 *((UINT32 *)Uint8Buffer) = MmioRead32 ((UINTN)Address); in CpuMemoryServiceRead() 262 *((UINT64 *)Uint8Buffer) = MmioRead64 ((UINTN)Address); in CpuMemoryServiceRead() 321 UINT8 *Uint8Buffer; in CpuMemoryServiceWrite() local 334 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in CpuMemoryServiceWrite() 336 MmioWrite8 ((UINTN)Address, *Uint8Buffer); in CpuMemoryServiceWrite() 338 MmioWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer)); in CpuMemoryServiceWrite() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIoPei/ |
D | CpuIoPei.c | 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 [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/PciHostBridgeDxe/ |
D | PciRootBridgeIo.c | 1058 UINT8 *Uint8Buffer; in RootBridgeIoMemRW() local 1079 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in RootBridgeIoMemRW() 1083 MmioWrite8 ((UINTN)Address, *Uint8Buffer); in RootBridgeIoMemRW() 1086 MmioWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer)); in RootBridgeIoMemRW() 1089 MmioWrite32 ((UINTN)Address, *((UINT32 *)Uint8Buffer)); in RootBridgeIoMemRW() 1092 MmioWrite64 ((UINTN)Address, *((UINT64 *)Uint8Buffer)); in RootBridgeIoMemRW() 1105 *Uint8Buffer = MmioRead8 ((UINTN)Address); in RootBridgeIoMemRW() 1108 *((UINT16 *)Uint8Buffer) = MmioRead16 ((UINTN)Address); in RootBridgeIoMemRW() 1111 *((UINT32 *)Uint8Buffer) = MmioRead32 ((UINTN)Address); in RootBridgeIoMemRW() 1114 *((UINT64 *)Uint8Buffer) = MmioRead64 ((UINTN)Address); in RootBridgeIoMemRW() [all …]
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/ |
D | SerialIo.c | 635 UINT8 *Uint8Buffer; in SerialRead() local 654 Uint8Buffer = (UINT8 *)Buffer; in SerialRead() 659 *Uint8Buffer = (UINT8)(mLoopbackBuffer & 0xff); in SerialRead() 669 *Uint8Buffer = *Data8; in SerialRead() 670 Uint8Buffer ++; in SerialRead() 697 *Uint8Buffer = *Data8; in SerialRead() 698 Uint8Buffer ++; in SerialRead() 701 *BufferSize = (UINTN)Uint8Buffer - (UINTN)Buffer; in SerialRead()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/ |
D | PciRootBridgeIo.c | 926 UINT8 *Uint8Buffer; in RootBridgeIoPciAccess() local 960 for (Uint8Buffer = Buffer; Count > 0; Address += InStride, Uint8Buffer += OutStride, Count--) { in RootBridgeIoPciAccess() 962 PciSegmentReadBuffer (Address, Size, Uint8Buffer); in RootBridgeIoPciAccess() 964 PciSegmentWriteBuffer (Address, Size, Uint8Buffer); in RootBridgeIoPciAccess()
|