/device/linaro/bootloader/edk2/Omap35xxPkg/Library/Omap35xxTimerLib/ |
D | TimerLib.c | 63 UINT64 NanoSeconds; in MicroSecondDelay() local 65 NanoSeconds = MultU64x32(MicroSeconds, 1000); in MicroSecondDelay() 67 while (NanoSeconds > (UINTN)-1) { in MicroSecondDelay() 69 NanoSeconds -= (UINTN)-1; in MicroSecondDelay() 72 NanoSecondDelay(NanoSeconds); in MicroSecondDelay() 80 IN UINTN NanoSeconds in NanoSecondDelay() argument 89 Delay = (NanoSeconds / PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds)) + 1; in NanoSecondDelay() 101 NanoSeconds = ElapsedTime * PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds); in NanoSecondDelay() 103 return NanoSeconds; in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmArchTimerLib/ |
D | ArmArchTimerLib.c | 167 IN UINTN NanoSeconds in NanoSecondDelay() argument 173 MicroSeconds = NanoSeconds / 1000; in NanoSecondDelay() 174 MicroSeconds += ((NanoSeconds % 1000) == 0) ? 0 : 1; in NanoSecondDelay() 178 return NanoSeconds; in NanoSecondDelay() 262 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 272 NanoSeconds = MultU64xN ( in GetTimeInNanoSecond() 284 NanoSeconds += DivU64x32 ( in GetTimeInNanoSecond() 291 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 105 IN UINTN NanoSeconds in NanoSecondDelay() argument 111 NanoSeconds, in NanoSecondDelay() 117 return NanoSeconds; in NanoSecondDelay() 199 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 207 …NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, ACPI_TIMER_FREQUENCY, &Remainder), 1000000000… in GetTimeInNanoSecond() 213 NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), ACPI_TIMER_FREQUENCY); in GetTimeInNanoSecond() 215 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetTimerLib/ |
D | X86TimerLib.c | 158 IN UINTN NanoSeconds in NanoSecondDelay() argument 162 return NanoSeconds; in NanoSecondDelay() 168 NanoSeconds, in NanoSecondDelay() 174 return NanoSeconds; in NanoSecondDelay() 264 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 272 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, 3579545, &Remainder), 1000000000u); in GetTimeInNanoSecond() 278 NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), 3579545); in GetTimeInNanoSecond() 280 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/ |
D | IntelPchAcpiTimerLib.c | 156 IN UINTN NanoSeconds in NanoSecondDelay() 162 NanoSeconds, in NanoSecondDelay() 168 return NanoSeconds; in NanoSecondDelay() 250 UINT64 NanoSeconds; in GetTimeInNanoSecond() 258 …NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, V_PCH_ACPI_PM1_TMR_FREQUENCY, &Remainder), 10… in GetTimeInNanoSecond() 264 …NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), V_PCH_ACPI_PM1_TMR_FREQUEN… in GetTimeInNanoSecond() 266 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeTimerLibEsal/ |
D | DxeTimerLibEsal.c | 71 IN UINTN NanoSeconds in NanoSecondDelay() argument 81 MicroSeconds = DivU64x32 (NanoSeconds + 999, 1000); in NanoSecondDelay() 94 return NanoSeconds; in NanoSecondDelay() 199 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 210 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 220 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond() 222 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/ |
D | IpfTimerLib.c | 88 IN UINTN NanoSeconds in NanoSecondDelay() argument 93 NanoSeconds / in NanoSecondDelay() 96 return NanoSeconds; in NanoSecondDelay() 192 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 213 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond() 215 return NanoSeconds; in GetTimeInNanoSecond()
|
D | X86TimerLib.c | 249 IN UINTN NanoSeconds in NanoSecondDelay() argument 260 NanoSeconds in NanoSecondDelay() 265 return NanoSeconds; in NanoSecondDelay() 351 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 362 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 372 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond() 374 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/ |
D | IpfTimerLib.c | 88 IN UINTN NanoSeconds in NanoSecondDelay() argument 93 NanoSeconds / in NanoSecondDelay() 96 return NanoSeconds; in NanoSecondDelay() 192 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 213 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond() 215 return NanoSeconds; in GetTimeInNanoSecond()
|
D | X86TimerLib.c | 148 IN UINTN NanoSeconds in NanoSecondDelay() argument 155 NanoSeconds in NanoSecondDelay() 160 return NanoSeconds; in NanoSecondDelay() 242 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 253 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 263 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond() 265 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/ |
D | TscTimerLibShare.c | 156 IN UINTN NanoSeconds in NanoSecondDelay() argument 163 (UINT32)NanoSeconds in NanoSecondDelay() 168 return NanoSeconds; in NanoSecondDelay() 251 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 272 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond() 274 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 156 IN UINTN NanoSeconds in NanoSecondDelay() argument 162 NanoSeconds, in NanoSecondDelay() 168 return NanoSeconds; in NanoSecondDelay() 251 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 272 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond() 274 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 219 IN UINTN NanoSeconds in NanoSecondDelay() argument 225 NanoSeconds, in NanoSecondDelay() 231 return NanoSeconds; in NanoSecondDelay() 313 UINT64 NanoSeconds; in GetTimeInNanoSecond() local 324 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 334 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond() 336 return NanoSeconds; in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeTimerLib/ |
D | DxeTimerLib.c | 90 IN UINTN NanoSeconds in NanoSecondDelay() argument 98 ((UINT64)NanoSeconds > gTimerPeriod) && in NanoSecondDelay() 104 HundredNanoseconds = DivU64x32 (NanoSeconds, 100); in NanoSecondDelay() 112 gEmuThunk->Sleep (NanoSeconds); in NanoSecondDelay() 114 return NanoSeconds; in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeCoreTimerLib/ |
D | DxeCoreTimerLib.c | 59 IN UINTN NanoSeconds in NanoSecondDelay() argument 62 gEmuThunk->Sleep (NanoSeconds); in NanoSecondDelay() 63 return NanoSeconds; in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/SP804TimerLib/ |
D | SP804TimerLib.c | 176 IN UINTN NanoSeconds in NanoSecondDelay() argument 182 MicroSeconds = NanoSeconds / 1000; in NanoSecondDelay() 183 MicroSeconds += ((NanoSeconds % 1000) == 0) ? 0 : 1; in NanoSecondDelay() 187 return NanoSeconds; in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ipf/ |
D | IpfTimerLib.c | 97 IN UINTN NanoSeconds in NanoSecondDelay() argument 102 NanoSeconds / in NanoSecondDelay() 105 return NanoSeconds; in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiTimerLib/ |
D | PeiTimerLib.c | 55 IN UINTN NanoSeconds in NanoSecondDelay() argument 73 Thunk->Sleep (NanoSeconds * 100); in NanoSecondDelay() 74 return NanoSeconds; in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/ |
D | X86TimerLib.c | 194 IN UINTN NanoSeconds in NanoSecondDelay() argument 205 NanoSeconds in NanoSecondDelay() 210 return NanoSeconds; in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ebc/ |
D | EbcTimerLib.c | 65 IN UINTN NanoSeconds in NanoSecondDelay() argument 72 return NanoSeconds; in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
D | EdkIIGlueTimerLib.h | 55 IN UINTN NanoSeconds
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | TimerLib.h | 47 IN UINTN NanoSeconds
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseTimerLibNullTemplate/ |
D | TimerLibNull.c | 52 IN UINTN NanoSeconds in NanoSecondDelay() argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/ |
D | TftpServer.c | 1085 UINT64 NanoSeconds; in TftpAck() local 1098 NanoSeconds = GetTimeInNanoSecond ( DeltaTime ); in TftpAck() 1103 DivU64x32 ( NanoSeconds, 1000 * 1000 * 1000 ), in TftpAck() 1104 ((UINT32)DivU64x32 ( NanoSeconds, 1000 * 1000 )) % 1000 )); in TftpAck() 1110 Bandwidth /= NanoSeconds; in TftpAck() 1992 UINT64 NanoSeconds; in WindowAck() local 2009 NanoSeconds = GetTimeInNanoSecond ( DeltaTime ); in WindowAck() 2011 pContext->Rtt2x += NanoSeconds + NanoSeconds - DeltaTime; in WindowAck()
|