Home
last modified time | relevance | path

Searched refs:AlignMask (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/
DPciRootBridgeIo.c115 UINTN AlignMask; in PciRootBridgeIoMemRead() local
129 AlignMask = (1 << (Width & 0x03)) - 1; in PciRootBridgeIoMemRead()
130 if (Address & AlignMask) { in PciRootBridgeIoMemRead()
189 UINTN AlignMask; in PciRootBridgeIoMemWrite() local
203 AlignMask = (1 << (Width & 0x03)) - 1; in PciRootBridgeIoMemWrite()
204 if (Address & AlignMask) { in PciRootBridgeIoMemWrite()
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ipf/
DPcatIo.c64 UINTN AlignMask; in PcatRootBridgeIoIoRead() local
92 AlignMask = (1 << (Width & 0x03)) - 1; in PcatRootBridgeIoIoRead()
93 if ( Address & AlignMask ) { in PcatRootBridgeIoIoRead()
168 UINTN AlignMask; in PcatRootBridgeIoIoWrite() local
195 AlignMask = (1 << (Width & 0x03)) - 1; in PcatRootBridgeIoIoWrite()
196 if ( Address & AlignMask ) { in PcatRootBridgeIoIoWrite()
321 UINTN AlignMask; in PcatRootBridgeIoPciRW() local
339 AlignMask = (1 << (Width & 0x03)) - 1; in PcatRootBridgeIoPciRW()
340 if ( UserAddress & AlignMask ) { in PcatRootBridgeIoPciRW()
/device/linaro/bootloader/edk2/EmulatorPkg/CpuRuntimeDxe/
DCpuIo.c304 UINTN AlignMask; in CpuIoCheckAddressRange() local
322 AlignMask = (1 << Width) - 1; in CpuIoCheckAddressRange()
323 if ((UINTN) Buffer & AlignMask) { in CpuIoCheckAddressRange()
/device/linaro/bootloader/edk2/Nt32Pkg/CpuRuntimeDxe/
DCpuIo.c315 UINTN AlignMask; in CpuIoCheckAddressRange() local
333 AlignMask = ((UINTN)1 << Width) - 1; in CpuIoCheckAddressRange()
334 if ((UINTN) Buffer & AlignMask) { in CpuIoCheckAddressRange()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/
DNonDiscoverablePciDeviceIo.c235 UINTN AlignMask; in PciIoMemRead() local
259 AlignMask = (1 << (Width & 0x03)) - 1; in PciIoMemRead()
260 if ((UINTN)Address & AlignMask) { in PciIoMemRead()
322 UINTN AlignMask; in PciIoMemWrite() local
346 AlignMask = (1 << (Width & 0x03)) - 1; in PciIoMemWrite()
347 if ((UINTN)Address & AlignMask) { in PciIoMemWrite()
988 UINTN AlignMask; in NonCoherentPciIoMap() local
1019 AlignMask = mCpu->DmaBufferAlignment - 1; in NonCoherentPciIoMap()
1020 if ((((UINTN) HostAddress | *NumberOfBytes) & AlignMask) == 0) { in NonCoherentPciIoMap()
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/
DPcatPciRootBridgeIo.c392 UINTN AlignMask; in PcatRootBridgeIoMemRead() local
406 AlignMask = (1 << (Width & 0x03)) - 1; in PcatRootBridgeIoMemRead()
407 if (Address & AlignMask) { in PcatRootBridgeIoMemRead()
439 UINTN AlignMask; in PcatRootBridgeIoMemWrite() local
453 AlignMask = (1 << (Width & 0x03)) - 1; in PcatRootBridgeIoMemWrite()
454 if (Address & AlignMask) { in PcatRootBridgeIoMemWrite()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
DPciRootBridgeIo.c551 UINTN AlignMask; in RootBridgeIoIoRead() local
572 AlignMask = (1 << (Width & 0x03)) - 1; in RootBridgeIoIoRead()
581 if (Address & AlignMask) { in RootBridgeIoIoRead()
627 UINTN AlignMask; in RootBridgeIoIoWrite() local
648 AlignMask = (1 << (Width & 0x03)) - 1; in RootBridgeIoIoWrite()
657 if (Address & AlignMask) { in RootBridgeIoIoWrite()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiDxeS3BootScriptLib/
DBootScriptExecute.c146 UINTN AlignMask; in BuildLoopData() local
155 AlignMask = *AddressStride - 1; in BuildLoopData()
156 if ((Address & AlignMask) != 0) { in BuildLoopData()