Home
last modified time | relevance | path

Searched refs:OperationWidth (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/CpuIoDxe/
DCpuIo.c239 EFI_CPU_IO_PROTOCOL_WIDTH OperationWidth; in CpuMemoryServiceRead() local
252 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03); in CpuMemoryServiceRead()
254 if (OperationWidth == EfiCpuIoWidthUint8) { in CpuMemoryServiceRead()
256 } else if (OperationWidth == EfiCpuIoWidthUint16) { in CpuMemoryServiceRead()
258 } else if (OperationWidth == EfiCpuIoWidthUint32) { in CpuMemoryServiceRead()
260 } else if (OperationWidth == EfiCpuIoWidthUint64) { in CpuMemoryServiceRead()
319 EFI_CPU_IO_PROTOCOL_WIDTH OperationWidth; in CpuMemoryServiceWrite() local
332 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03); in CpuMemoryServiceWrite()
334 if (OperationWidth == EfiCpuIoWidthUint8) { in CpuMemoryServiceWrite()
336 } else if (OperationWidth == EfiCpuIoWidthUint16) { in CpuMemoryServiceWrite()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIo2Dxe/
DCpuIo2Dxe.c240 EFI_CPU_IO_PROTOCOL_WIDTH OperationWidth; in CpuMemoryServiceRead() local
253 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03); in CpuMemoryServiceRead()
255 if (OperationWidth == EfiCpuIoWidthUint8) { in CpuMemoryServiceRead()
257 } else if (OperationWidth == EfiCpuIoWidthUint16) { in CpuMemoryServiceRead()
259 } else if (OperationWidth == EfiCpuIoWidthUint32) { in CpuMemoryServiceRead()
261 } else if (OperationWidth == EfiCpuIoWidthUint64) { in CpuMemoryServiceRead()
320 EFI_CPU_IO_PROTOCOL_WIDTH OperationWidth; in CpuMemoryServiceWrite() local
333 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03); in CpuMemoryServiceWrite()
335 if (OperationWidth == EfiCpuIoWidthUint8) { in CpuMemoryServiceWrite()
337 } else if (OperationWidth == EfiCpuIoWidthUint16) { in CpuMemoryServiceWrite()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmPciCpuIo2Dxe/
DArmPciCpuIo2Dxe.c238 EFI_CPU_IO_PROTOCOL_WIDTH OperationWidth; in CpuMemoryServiceRead() local
251 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03); in CpuMemoryServiceRead()
253 if (OperationWidth == EfiCpuIoWidthUint8) { in CpuMemoryServiceRead()
255 } else if (OperationWidth == EfiCpuIoWidthUint16) { in CpuMemoryServiceRead()
257 } else if (OperationWidth == EfiCpuIoWidthUint32) { in CpuMemoryServiceRead()
259 } else if (OperationWidth == EfiCpuIoWidthUint64) { in CpuMemoryServiceRead()
319 EFI_CPU_IO_PROTOCOL_WIDTH OperationWidth; in CpuMemoryServiceWrite() local
332 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03); in CpuMemoryServiceWrite()
334 if (OperationWidth == EfiCpuIoWidthUint8) { in CpuMemoryServiceWrite()
336 } else if (OperationWidth == EfiCpuIoWidthUint16) { in CpuMemoryServiceWrite()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIoPei/
DCpuIoPei.c215 EFI_PEI_CPU_IO_PPI_WIDTH OperationWidth; in CpuMemoryServiceRead() local
229 OperationWidth = (EFI_PEI_CPU_IO_PPI_WIDTH) (Width & 0x03); in CpuMemoryServiceRead()
230 Aligned = (BOOLEAN)(((UINTN)Buffer & (mInStride[OperationWidth] - 1)) == 0x00); in CpuMemoryServiceRead()
232 if (OperationWidth == EfiPeiCpuIoWidthUint8) { in CpuMemoryServiceRead()
234 } else if (OperationWidth == EfiPeiCpuIoWidthUint16) { in CpuMemoryServiceRead()
240 } else if (OperationWidth == EfiPeiCpuIoWidthUint32) { in CpuMemoryServiceRead()
246 } else if (OperationWidth == EfiPeiCpuIoWidthUint64) { in CpuMemoryServiceRead()
289 EFI_PEI_CPU_IO_PPI_WIDTH OperationWidth; in CpuMemoryServiceWrite() local
303 OperationWidth = (EFI_PEI_CPU_IO_PPI_WIDTH) (Width & 0x03); in CpuMemoryServiceWrite()
304 Aligned = (BOOLEAN)(((UINTN)Buffer & (mInStride[OperationWidth] - 1)) == 0x00); in CpuMemoryServiceWrite()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/PciHostBridgeDxe/
DPciRootBridgeIo.c1057 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH OperationWidth; in RootBridgeIoMemRW() local
1078 OperationWidth = (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (Width & 0x03); in RootBridgeIoMemRW()
1081 switch (OperationWidth) { in RootBridgeIoMemRW()
1103 switch (OperationWidth) { in RootBridgeIoMemRW()
1160 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH OperationWidth; in RootBridgeIoIoRW() local
1176 OperationWidth = (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (Width & 0x03); in RootBridgeIoIoRW()
1180 switch (OperationWidth) { in RootBridgeIoIoRW()
1202 switch (OperationWidth) { in RootBridgeIoIoRW()
1675 EFI_CPU_IO_PROTOCOL_WIDTH OperationWidth; in CpuMemoryServiceRead() local
1684 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03); in CpuMemoryServiceRead()
[all …]