Home
last modified time | relevance | path

Searched refs:HighBitSet32 (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
DHighBitSet64.c49 return HighBitSet32 ((UINT32)Operand); in HighBitSet64()
56 return HighBitSet32 (((UINT32*)&Operand)[1]) + 32; in HighBitSet64()
58 return HighBitSet32 ((UINT32)RShiftU64 (Operand, 32)) + 32; in HighBitSet64()
DGetPowerOfTwo32.c47 return 1ul << HighBitSet32 (Operand); in GetPowerOfTwo32()
DHighBitSet32.c41 HighBitSet32 ( in HighBitSet32() function
DBaseLib.inf47 HighBitSet32.c
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
DHighBitSet64.c44 return HighBitSet32 ((UINT32)Operand); in HighBitSet64()
51 return HighBitSet32 (((UINT32*)&Operand)[1]) + 32; in HighBitSet64()
53 return HighBitSet32 ((UINT32)RShiftU64 (Operand, 32)) + 32; in HighBitSet64()
DGetPowerOfTwo32.c43 return 1ul << HighBitSet32 (Operand); in GetPowerOfTwo32()
DHighBitSet32.c36 HighBitSet32 ( in HighBitSet32() function
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DPool.c196 PoolIndex = (UINTN) (HighBitSet32 ((UINT32)FreePoolHdr->Header.Size) - MIN_POOL_SHIFT); in InternalFreePoolByIndex()
252 PoolIndex = (UINTN) HighBitSet32 ((UINT32)Size); in SmmInternalAllocatePool()
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DInit.c259 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
268 SectorsPerClusterAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorsPerCluster); in FatOpenDevice()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicLib/
DBaseXApicLib.c736 Divisor = (UINT32)((HighBitSet32 ((UINT32)DivideValue) - 1) & 0x7); in InitializeApicTimer()
1081 ThreadBits = (UINTN)(HighBitSet32(MaxLogicProcessorsPerPackage / MaxCoresPerPackage - 1) + 1); in GetProcessorLocationByApicId()
1082 CoreBits = (UINTN)(HighBitSet32(MaxCoresPerPackage - 1) + 1); } in GetProcessorLocationByApicId()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicX2ApicLib/
DBaseXApicX2ApicLib.c831 Divisor = (UINT32)((HighBitSet32 ((UINT32)DivideValue) - 1) & 0x7); in InitializeApicTimer()
1176 ThreadBits = (UINTN)(HighBitSet32(MaxLogicProcessorsPerPackage / MaxCoresPerPackage - 1) + 1); in GetProcessorLocationByApicId()
1177 CoreBits = (UINTN)(HighBitSet32(MaxCoresPerPackage - 1) + 1); } in GetProcessorLocationByApicId()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcPei/
DSdMmcPciHcPei.c167 Size |= ((UINT32)(-1) << HighBitSet32 (Size)); in InitializeSdMmcHcPeim()
/device/linaro/bootloader/edk2/OptionRomPkg/Library/FrameBufferBltLib/
DFrameBufferBltLib.c56 mPixelShl[Loop] = HighBitSet32 (Masks[Loop]) - 23 + (Loop * 8); in ConfigurePixelBitMaskFormat()
69 mBltLibBytesPerPixel = (UINTN) ((HighBitSet32 (MergedMasks) + 7) / 8); in ConfigurePixelBitMaskFormat()
/device/linaro/bootloader/edk2/OptionRomPkg/Application/BltLibSample/
DBltLibSample.c142 for (SqRt = 0, Mask = (UINT32) (1 << (HighBitSet32 (Uint32) / 2)); in Uint32SqRt()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FrameBufferBltLib/
DFrameBufferBltLib.c66 Configure->PixelShl[Loop] = HighBitSet32 (Masks[Loop]) - 23 + (Loop * 8); in ConfigurePixelBitMaskFormat()
80 Configure->BytesPerPixel = (UINTN) ((HighBitSet32 (MergedMasks) + 7) / 8); in ConfigurePixelBitMaskFormat()
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciEnumeratorSupport.c1000 Value |= ((UINT32)(-1) << HighBitSet32 (Value)); in PciParseBar()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciEnumeratorSupport.c1696 Value |= ((UINT32) -1 << HighBitSet32 (Value)); in PciIovParseVfBar()
1911 Value |= ((UINT32)(-1) << HighBitSet32 (Value)); in PciParseBar()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhcPeim.c1493 XhcDev->PageSize = 1 << (HighBitSet32 (PageSize) + 12); in XhcPeimEntry()
DXhciSched.c1777 InputContext->EP[Dci-1].Interval = (UINT32) HighBitSet32 ((UINT32) Interval) + 3; in XhcPeiSetConfigCmd()
1980 InputContext->EP[Dci-1].Interval = (UINT32) HighBitSet32( (UINT32) Interval) + 3; in XhcPeiSetConfigCmd64()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DSdMmcPciHci.c752 Divisor = 1 << (HighBitSet32 (Divisor) + 1); in SdMmcHcClockSupply()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DSdMmcPciHci.c752 Divisor = 1 << (HighBitSet32 (Divisor) + 1); in SdMmcHcClockSupply()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhci.c1835 Xhc->PageSize = 1 << (HighBitSet32(PageSize) + 12); in XhcCreateUsbHc()
DXhciSched.c2688 InputContext->EP[Dci-1].Interval = (UINT32)HighBitSet32((UINT32)Interval) + 3; in XhcInitializeEndpointContext()
2856 InputContext->EP[Dci-1].Interval = (UINT32)HighBitSet32((UINT32)Interval) + 3; in XhcInitializeEndpointContext64()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueBaseLib.h1801 HighBitSet32 (
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DBaseLib.h2349 HighBitSet32 (

12