Searched defs:Alignment (Results 1 - 25 of 42) sorted by relevance

12

/device/linaro/bootloader/edk2/ArmPkg/Library/BaseMemoryLibStm/AArch64/
H A DCopyMem.c46 UINTN Alignment; local
71 Alignment = Length & 0x7;
72 if (Alignment != 0) {
76 while (Alignment-- != 0) {
112 Alignment = Length & 0x3;
113 if (Alignment != 0) {
117 while (Alignment-- != 0) {
/device/linaro/bootloader/edk2/CorebootModulePkg/CbSupportDxe/
H A DCbSupportDxe.c25 @param Alignment Align with 2^Alignment
36 IN UINTN Alignment,
61 Alignment,
78 Alignment,
31 CbReserveResourceInGcd( IN BOOLEAN IsMMIO, IN UINTN GcdType, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINTN Alignment, IN EFI_HANDLE ImageHandle ) argument
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
H A DPciResourceSupport.h30 UINT64 Alignment; member in struct:__anon5780
158 @param Alignment Alignment of resource.
171 IN UINT64 Alignment,
183 @param Alignment Alignment of resource.
196 IN UINT64 Alignment,
H A DPciResourceSupport.c119 if (ResNode->Alignment > Temp->Alignment) {
121 } else if (ResNode->Alignment == Temp->Alignment) {
122 ResNodeAlignRest = ResNode->Length & ResNode->Alignment;
123 TempAlignRest = Temp->Length & Temp->Alignment;
256 Offset = Aperture & (Node->Alignment);
260 Aperture = Aperture + (Node->Alignment + 1) - Offset;
280 Offset = Aperture & (Node->Alignment);
282 Aperture = Aperture + (Node->Alignment
687 CreateResourceNode( IN PCI_IO_DEVICE *PciDev, IN UINT64 Length, IN UINT64 Alignment, IN UINT8 Bar, IN PCI_BAR_TYPE ResType, IN PCI_RESOURCE_USAGE ResUsage ) argument
734 CreateVfResourceNode( IN PCI_IO_DEVICE *PciDev, IN UINT64 Length, IN UINT64 Alignment, IN UINT8 Bar, IN PCI_BAR_TYPE ResType, IN PCI_RESOURCE_USAGE ResUsage ) argument
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/
H A DQemuLoader.h41 // allocated in the zone specified by Zone, aligned at a multiple of Alignment.
45 UINT32 Alignment; // power of two member in struct:__anon8643
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
H A DPciHostResource.h62 UINT64 Alignment; member in struct:__anon8831
H A DPciHostBridge.c283 UINT64 Alignment; local
381 if (MaxAlignment <= RootBridgeInstance->ResAllocNode[Index2].Alignment) {
382 MaxAlignment = RootBridgeInstance->ResAllocNode[Index2].Alignment;
393 Alignment = RootBridgeInstance->ResAllocNode[Index].Alignment;
396 // Get the number of '1' in Alignment.
398 for (BitsOfAlignment = 0; Alignment != 0; BitsOfAlignment++) {
399 Alignment = RShiftU64 (Alignment, 1);
403 Alignment
1010 UINT64 Alignment; local
[all...]
/device/linaro/bootloader/edk2/ArmPkg/Library/UncachedMemoryAllocationLib/
H A DUncachedMemoryAllocationLib.c40 IN UINTN Alignment
71 * @param Alignment Required alignment
82 IN UINTN Alignment,
94 // Alignment must be a power of two or zero.
95 ASSERT ((Alignment & (Alignment - 1)) == 0);
106 if (((UINTN)Node->Base & (Alignment - 1)) == 0) {
143 if (Alignment > EFI_PAGE_SIZE) {
144 AlignmentMask = Alignment - 1;
145 Pages += EFI_SIZE_TO_PAGES (Alignment);
79 AllocatePagesFromList( IN EFI_MEMORY_TYPE MemoryType, IN UINTN Pages, IN UINTN Alignment, OUT VOID **Allocation ) argument
[all...]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/
H A DPciHostBridge.h74 UINT64 Alignment; member in struct:__anon3330
/device/linaro/bootloader/edk2/ArmVirtPkg/PciHostBridgeDxe/
H A DPciHostBridge.c377 // Get the number of '1' in Alignment.
379 BitsOfAlignment = (UINTN) (HighBitSet64 (RootBridgeInstance->ResAllocNode[Index].Alignment) + 1);
906 UINT64 Alignment; local
974 Alignment = Ptr->AddrRangeMax;
983 RootBridgeInstance->ResAllocNode[TypeMem32].Alignment = Alignment;
1000 Alignment = (UINTN) Ptr->AddrRangeMax;
1002 RootBridgeInstance->ResAllocNode[TypeIo].Alignment = Alignment;
H A DPciHostBridge.h432 UINT64 Alignment; member in struct:__anon3405
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Common/
H A DMdeModuleHii.h84 UINT8 Alignment; ///< left, center, or right-aligned. member in struct:_EFI_IFR_GUID_BANNER
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/Fv2OnFvThunk/
H A DFv2OnFvThunk.c808 INTN Alignment; local
810 Alignment = LowBitSet64 (RShiftU64 (FvAttributes, 16) & 0xffff);
811 if (Alignment != -1) {
812 Alignment = Alignment << 16;
814 Alignment = 0;
816 FvAttributes = (FvAttributes & 0x1ff) | Alignment;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/
H A DTianoHii.h84 UINT8 Alignment; // left, center, or right-aligned member in struct:_EFI_IFR_GUID_BANNER
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/
H A DIfrOpCodeCreation.c579 IN UINT8 Alignment,
594 Alignment - Alignment of the banner
610 Banner.Alignment = Alignment;
576 CreateBannerOpCode( IN UINT16 Title, IN UINT16 LineNumber, IN UINT8 Alignment, IN OUT VOID *FormBuffer ) argument
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
H A DUsbHcMem.c604 If Alignment is not a power of two and Alignment is not zero, then ASSERT().
608 @param Alignment The requested alignment of the allocation. Must be a power of two.
615 @retval EFI_INVALID_PARAMETER Pages or Alignment is not valid.
624 IN UINTN Alignment,
639 // Alignment must be a power of two or zero.
641 ASSERT ((Alignment & (Alignment - 1)) == 0);
643 if ((Alignment & (Alignment
621 UsbHcAllocateAlignedPages( IN EFI_PCI_IO_PROTOCOL *PciIo, IN UINTN Pages, IN UINTN Alignment, OUT VOID **HostAddress, OUT EFI_PHYSICAL_ADDRESS *DeviceAddress, OUT VOID **Mapping ) argument
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
H A DUsbHcMem.c563 If Alignment is not a power of two and Alignment is not zero, then ASSERT().
566 @param Alignment The requested alignment of the allocation. Must be a power of two.
572 @retval EFI_INVALID_PARAMETER Pages or Alignment is not valid.
579 IN UINTN Alignment,
591 // Alignment must be a power of two or zero.
593 ASSERT ((Alignment & (Alignment - 1)) == 0);
595 if ((Alignment & (Alignment
577 UsbHcAllocateAlignedPages( IN UINTN Pages, IN UINTN Alignment, OUT VOID **HostAddress, OUT EFI_PHYSICAL_ADDRESS *DeviceAddress ) argument
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/
H A DMdeModuleHii.h83 UINT8 Alignment; ///< left, center, or right-aligned. member in struct:_EFI_IFR_GUID_BANNER
/device/linaro/bootloader/edk2/OvmfPkg/PciHostBridgeDxe/
H A DPciHostBridge.c537 // Get the number of '1' in Alignment.
541 RootBridgeInstance->ResAllocNode[Index].Alignment
1164 UINT64 Alignment; local
1228 Alignment = Ptr->AddrRangeMax;
1238 RootBridgeInstance->ResAllocNode[TypeMem32].Alignment =
1239 Alignment;
1259 Alignment = (UINTN) Ptr->AddrRangeMax;
1261 RootBridgeInstance->ResAllocNode[TypeIo].Alignment = Alignment;
H A DPciHostBridge.h579 UINT64 Alignment; member in struct:__anon8717
/device/linaro/bootloader/edk2/PcAtChipsetPkg/PciHostBridgeDxe/
H A DPciHostBridge.c382 // Get the number of '1' in Alignment.
386 RootBridgeInstance->ResAllocNode[Index].Alignment
1009 UINT64 Alignment; local
1073 Alignment = Ptr->AddrRangeMax;
1083 RootBridgeInstance->ResAllocNode[TypeMem32].Alignment =
1084 Alignment;
1104 Alignment = (UINTN) Ptr->AddrRangeMax;
1106 RootBridgeInstance->ResAllocNode[TypeIo].Alignment = Alignment;
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/
H A DQNCInit.c35 UINTN Alignment; member in struct:_QNC_SPACE_TABLE_ITEM
289 @param Alignment Align with 2^Alignment
301 IN UINTN Alignment,
327 Alignment,
352 Alignment,
478 mQNCReservedSpaceTable[Index].Alignment,
296 QNCReserveSpaceInGcd( IN UINTN IoOrMemory, IN UINTN GcdType, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINTN Alignment, IN BOOLEAN RuntimeOrNot, IN EFI_HANDLE ImageHandle ) argument
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
H A DPciBus.h84 UINT64 Alignment; member in struct:__anon3832
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/
H A DUefiIfrOpCodeCreation.c611 IN UINT8 Alignment,
631 Banner.Alignment = Alignment;
608 CreateBannerOpCode( IN EFI_STRING_ID Title, IN UINT16 LineNumber, IN UINT8 Alignment, IN OUT EFI_HII_UPDATE_DATA *Data ) argument
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
H A DLegacyBios.c104 @param Alignment Address alignment. Bit mapped. First non-zero
119 IN UINTN Alignment,
136 Regs.X.DX = (UINT16) Alignment;
243 UINTN Alignment; local
252 Alignment = 0;
296 &Alignment,
493 &Alignment,
512 &Alignment,
115 LegacyBiosGetLegacyRegion( IN EFI_LEGACY_BIOS_PROTOCOL *This, IN UINTN LegacyMemorySize, IN UINTN Region, IN UINTN Alignment, OUT VOID **LegacyMemoryAddress ) argument

Completed in 543 milliseconds

12