Home
last modified time | relevance | path

Searched refs:RShiftU64 (Results 1 – 25 of 142) sorted by relevance

123456

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/Ipf/
DEbcSupport.c478 Code[1] = RShiftU64 (Addr, 22) & 0x1ffffffffff; in EbcCreateThunks()
484 BitI = RShiftU64 (Addr, 63) & 0x01; in EbcCreateThunks()
488 BitIc = RShiftU64 (Addr, 21) & 0x01; in EbcCreateThunks()
492 BitImm5c = RShiftU64 (Addr, 16) & 0x1F; in EbcCreateThunks()
496 BitImm9d = RShiftU64 (Addr, 7) & 0x1FF; in EbcCreateThunks()
543 Code[1] = RShiftU64 (Addr, 22) & 0x1ffffffffff; in EbcCreateThunks()
549 BitI = RShiftU64 (Addr, 63) & 0x01; in EbcCreateThunks()
553 BitIc = RShiftU64 (Addr, 21) & 0x01; in EbcCreateThunks()
557 BitImm5c = RShiftU64 (Addr, 16) & 0x1F; in EbcCreateThunks()
561 BitImm9d = RShiftU64 (Addr, 7) & 0x1FF; in EbcCreateThunks()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/
DRShiftU64.S31 .globl ASM_PFX(RShiftU64)
33 #RShiftU64 (
52 ASM_PFX(RShiftU64):
79 #RShiftU64 ENDP
DRShiftU64.asm31 ;RShiftU64 (
50 RShiftU64 PROC label
77 RShiftU64 ENDP
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/
DCEATA.c531 CardData->TaskFile.LBAMid = (UINT8)RShiftU64(LBA, 8); in ReadDMAExt()
532 CardData->TaskFile.LBAHigh = (UINT8)RShiftU64(LBA, 16); in ReadDMAExt()
534 CardData->TaskFile.LBALow_Exp = (UINT8)RShiftU64(LBA, 24); in ReadDMAExt()
535 CardData->TaskFile.LBAMid_Exp = (UINT8)RShiftU64(LBA, 32); in ReadDMAExt()
536 CardData->TaskFile.LBAHigh_Exp = (UINT8)RShiftU64(LBA, 40); in ReadDMAExt()
588 CardData->TaskFile.LBAMid = (UINT8)RShiftU64(LBA, 8); in WriteDMAExt()
589 CardData->TaskFile.LBAHigh = (UINT8)RShiftU64(LBA, 16); in WriteDMAExt()
591 CardData->TaskFile.LBALow_Exp = (UINT8)RShiftU64(LBA, 24); in WriteDMAExt()
592 CardData->TaskFile.LBAMid_Exp = (UINT8)RShiftU64(LBA, 32); in WriteDMAExt()
593 CardData->TaskFile.LBAHigh_Exp = (UINT8)RShiftU64(LBA, 40); in WriteDMAExt()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DAta.c1212 LbaLow = (UINT8) RShiftU64 (StartLba, 24); in AtaPioDataInExt()
1213 LbaMid = (UINT8) RShiftU64 (StartLba, 32); in AtaPioDataInExt()
1214 LbaHigh = (UINT8) RShiftU64 (StartLba, 40); in AtaPioDataInExt()
1220 LbaMid = (UINT8) RShiftU64 (StartLba, 8); in AtaPioDataInExt()
1221 LbaHigh = (UINT8) RShiftU64 (StartLba, 16); in AtaPioDataInExt()
1362 LbaLow = (UINT8) RShiftU64 (LbaAddress, 24); in AtaCommandIssueExt()
1367 LbaMid = (UINT8) RShiftU64 (LbaAddress, 32); in AtaCommandIssueExt()
1369 LbaMid = (UINT8) RShiftU64 (LbaAddress, 8); in AtaCommandIssueExt()
1372 LbaHigh = (UINT8) RShiftU64 (LbaAddress, 40); in AtaCommandIssueExt()
1374 LbaHigh = (UINT8) RShiftU64 (LbaAddress, 16); in AtaCommandIssueExt()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/VlvPlatformInitDxe/
DVlvPlatformInit.c113 HiGTBaseAddress = (UINT32) RShiftU64 ((GTTMMADR & 0xFFFFFFFF00000000), 32); in PostPmInitCallBack()
123 …HiGTBaseAddress = (UINT32) RShiftU64 ((OriginalGTTMMADR & 0xFFFFFFFF00000000), 3… in PostPmInitCallBack()
209 …HiGTBaseAddress = (UINT32) RShiftU64 ((MemBaseAddress & 0xFFFFFFFF00000000), 32); in IgdPmHook()
/device/linaro/bootloader/edk2/MdePkg/Library/DxeTimerLibEsal/
DDxeTimerLibEsal.c218 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond()
219 Frequency = RShiftU64 (Frequency, (UINTN) Shift); in GetTimeInNanoSecond()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/
DIpfTimerLib.c211 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond()
212 Frequency = RShiftU64 (Frequency, (UINTN) Shift); in GetTimeInNanoSecond()
DX86TimerLib.c261 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond()
262 Frequency = RShiftU64 (Frequency, (UINTN) Shift); in GetTimeInNanoSecond()
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/
DIpfTimerLib.c211 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond()
212 Frequency = RShiftU64 (Frequency, (UINTN) Shift); in GetTimeInNanoSecond()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DSupport.c197 BaseAddress = LShiftU64 (RShiftU64 (BaseAddress, EFI_PAGE_SHIFT) + 1, EFI_PAGE_SHIFT); in GenMemoryMap()
202 BaseAddress = LShiftU64 (RShiftU64 (BaseAddress, EFI_PAGE_SHIFT), EFI_PAGE_SHIFT); in GenMemoryMap()
204 Length = LShiftU64 (RShiftU64 (Length, EFI_PAGE_SHIFT) + 1, EFI_PAGE_SHIFT); in GenMemoryMap()
220 RShiftU64 (Length, EFI_PAGE_SHIFT), in GenMemoryMap()
/device/linaro/bootloader/edk2/StdLib/LibC/CRT/
DGcc.c91 return (int) RShiftU64 ((UINT64) Datum, (UINTN)Count); in __lshrsi3()
97 return (long) RShiftU64 ((UINT64) Datum, (UINTN)Count); in __lshrdi3()
103 return (long long) RShiftU64 ((UINT64) Datum, (UINTN)Count); in __lshrti3()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/
DMonotonicCounter.c155 *HighCount = (UINT32) RShiftU64 (mEfiMtc, 32) + 1; in MonotonicCounterDriverGetNextHighMonotonicCount()
159 *HighCount = (UINT32) RShiftU64 (mEfiMtc, 32) + 1; in MonotonicCounterDriverGetNextHighMonotonicCount()
/device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/
DTscTimerLibShare.c270 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond()
271 Frequency = RShiftU64 (Frequency, (UINTN) Shift); in GetTimeInNanoSecond()
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/
DAcpiTimerLib.c270 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond()
271 Frequency = RShiftU64 (Frequency, (UINTN) Shift); in GetTimeInNanoSecond()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
DBitField.c733 return RShiftU64 (Operand & ~LShiftU64 ((UINT64)-2, EndBit), StartBit); in BitFieldRead64()
817 ASSERT (RShiftU64 (OrData, EndBit - StartBit) == (RShiftU64 (OrData, EndBit - StartBit) & 1)); in BitFieldOr64()
869 ASSERT (RShiftU64 (AndData, EndBit - StartBit) == (RShiftU64 (AndData, EndBit - StartBit) & 1)); in BitFieldAnd64()
DRShiftU64.c34 RShiftU64 ( in RShiftU64() function
DLowBitSet64.c48 BitIndex++, Operand = RShiftU64 (Operand, 1)); in LowBitSet64()
DHighBitSet64.c53 return HighBitSet32 ((UINT32)RShiftU64 (Operand, 32)) + 32; in HighBitSet64()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/MemorySubClass/
DMemorySubClass.c187 Type19Record->EndingAddress = (UINT32)RShiftU64(TotalMemorySize, 10) - 1; in MemorySubClassEntryPoint()
244 …ArrayLink.MemoryDeviceSize.Value = (UINT16) RShiftU64(DimmMemorySize, ArrayLink.MemoryDeviceSiz… in MemorySubClassEntryPoint()
301 MemoryDeviceSize = (UINTN) RShiftU64 ((UINT64) MemoryDeviceSize, 21); in MemorySubClassEntryPoint()
305 MemoryDeviceSize = (UINTN) RShiftU64 ((UINT64) MemoryDeviceSize,1); in MemorySubClassEntryPoint()
428 …Type20Record->StartingAddress = (UINT32)RShiftU64 (DeviceStartAddress.MemoryDeviceStartAddress, 10… in MemorySubClassEntryPoint()
429 Type20Record->EndingAddress = (UINT32)RShiftU64 (DeviceStartAddress.MemoryDeviceEndAddress, 10); in MemorySubClassEntryPoint()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
DLowBitSet64.c52 BitIndex++, Operand = RShiftU64 (Operand, 1)); in LowBitSet64()
DHighBitSet64.c58 return HighBitSet32 ((UINT32)RShiftU64 (Operand, 32)) + 32; in HighBitSet64()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/
DMemoryConv.c321 MemoryDeviceSize = RShiftU64 (MemoryDeviceSize, 10); in SmbiosFldMemoryType3()
326 MemoryDeviceSize = RShiftU64 (MemoryDeviceSize, 10); in SmbiosFldMemoryType3()
427 MemoryDeviceSize = RShiftU64 (MemoryDeviceSize, 21); in SmbiosFldSMBIOSType6()
430 MemoryDeviceSize = RShiftU64(MemoryDeviceSize,1); in SmbiosFldSMBIOSType6()
536 TempData = RShiftU64 (Masa->MemoryArrayStartAddress, 10); in SmbiosFldMemoryType4()
546 TempData = RShiftU64 (Masa->MemoryArrayEndAddress, 10); in SmbiosFldMemoryType4()
602 TempData = RShiftU64 (Mdsa->MemoryDeviceStartAddress, 10); in SmbiosFldMemoryType5()
612 TempData = RShiftU64 (Mdsa->MemoryDeviceEndAddress, 10); in SmbiosFldMemoryType5()
/device/linaro/bootloader/edk2/DuetPkg/AcpiResetDxe/
DReset.c126 Func = (UINT8) (RShiftU64 (mAcpiDescription.RESET_REG.Address, 16) & 0x7); in EfiAcpiResetSystem()
127 Dev = (UINT8) (RShiftU64 (mAcpiDescription.RESET_REG.Address, 32) & 0x1F); in EfiAcpiResetSystem()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
DEfiCommonLib_Edk2.inf43 Ia32/RShiftU64.c | MSFT
54 Ia32/RShiftU64.S | GCC
68 Ia32/RShiftU64.asm | INTEL

123456