/device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/ |
D | TscTimerLibShare.c | 55 UINT32 Ticks; in InternalCalculateTscFrequency() local 72 Ticks = IoRead32 (TimerAddr) + (3579); // Set Ticks to 1ms in the future in InternalCalculateTscFrequency() 79 while (((Ticks - IoRead32 (TimerAddr)) & BIT23) == 0) { in InternalCalculateTscFrequency() 105 UINT64 Ticks; in InternalX86Delay() local 110 Ticks = AsmReadTsc() + Delay; in InternalX86Delay() 118 while (AsmReadTsc() <= Ticks) CpuPause(); in InternalX86Delay() 247 IN UINT64 Ticks in GetTimeInNanoSecond() argument 262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/ |
D | X86TimerLib.c | 60 INT32 Ticks; in InternalX86Delay() local 90 Ticks = StartTick - GetApicTimerCurrentCount (); in InternalX86Delay() 94 if (Ticks < 0) { in InternalX86Delay() 95 Ticks += InitCount; in InternalX86Delay() 97 } while ((UINT32)Ticks < Delay); in InternalX86Delay() 238 IN UINT64 Ticks in GetTimeInNanoSecond() argument 253 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond()
|
D | IpfTimerLib.c | 36 INT64 Ticks; in InternalIpfDelay() local 41 Ticks = (INT64)AsmReadItc () + Delay; in InternalIpfDelay() 48 while (Ticks - (INT64)AsmReadItc() >= 0); in InternalIpfDelay() 188 IN UINT64 Ticks in GetTimeInNanoSecond() argument 203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/StallSmmLib/ |
D | StallSmm.c | 58 UINTN Ticks; in SmmStall() 77 Ticks = Microseconds * 358 / 100 + OriginalTick + 1; in SmmStall() 82 Counts = Ticks / V_PCH_ACPI_PM1_TMR_MAX_VAL; in SmmStall() 87 RemainingTick = Ticks % V_PCH_ACPI_PM1_TMR_MAX_VAL; in SmmStall()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 42 UINT32 Ticks; in InternalAcpiDelay() local 51 Ticks = InternalAcpiGetTimerTick () + Delay; in InternalAcpiDelay() 58 while (((Ticks - InternalAcpiGetTimerTick ()) & BIT23) == 0) { in InternalAcpiDelay() 196 IN UINT64 Ticks in GetTimeInNanoSecond() argument 207 …NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, ACPI_TIMER_FREQUENCY, &Remainder), 1000000000… in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 155 UINT32 Ticks; in InternalAcpiDelay() local 165 Ticks = IoBitFieldRead32 (Port, 0, 23) + Delay; in InternalAcpiDelay() 172 while (((Ticks - IoBitFieldRead32 (Port, 0, 23)) & BIT23) == 0) { in InternalAcpiDelay() 309 IN UINT64 Ticks in GetTimeInNanoSecond() argument 324 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 362 UINT32 Ticks; in InternalCalculateTscFrequency() local 374 Ticks = IoBitFieldRead32 (TimerAddr, 0, 23) + 363; in InternalCalculateTscFrequency() 383 while (((Ticks - IoBitFieldRead32 (TimerAddr, 0, 23)) & BIT23) == 0) { in InternalCalculateTscFrequency()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
D | Stall.c | 58 UINTN Ticks; in Stall() 75 Ticks = Microseconds * 358 / 100 + OriginalTick + 1; in Stall() 80 Counts = (UINTN)RShiftU64((UINT64)Ticks, 24); in Stall() 85 RemainingTick = Ticks & 0xFFFFFF; in Stall()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/ |
D | Stall.c | 57 UINTN Ticks; in Stall() 74 Ticks = Microseconds * 358 / 100 + OriginalTick + 1; in Stall() 79 Counts = (UINTN)RShiftU64((UINT64)Ticks, 24); in Stall() 84 RemainingTick = Ticks & 0xFFFFFF; in Stall()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/ |
D | IntelPchAcpiTimerLib.c | 93 UINT32 Ticks; in InternalAcpiDelay() 102 Ticks = InternalAcpiGetTimerTick () + Delay; in InternalAcpiDelay() 109 while (((Ticks - InternalAcpiGetTimerTick ()) & BIT23) == 0) { in InternalAcpiDelay() 247 IN UINT64 Ticks in GetTimeInNanoSecond() 258 …NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, V_PCH_ACPI_PM1_TMR_FREQUENCY, &Remainder), 10… in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/ |
D | X86TimerLib.c | 157 INT32 Ticks; in InternalX86Delay() local 187 Ticks = StartTick - InternalX86GetTimerTick (ApicBase); in InternalX86Delay() 191 if (Ticks < 0) { in InternalX86Delay() 192 Ticks += InitCount; in InternalX86Delay() 194 } while ((UINT32)Ticks < Delay); in InternalX86Delay() 347 IN UINT64 Ticks in GetTimeInNanoSecond() argument 362 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond()
|
D | IpfTimerLib.c | 36 INT64 Ticks; in InternalIpfDelay() local 41 Ticks = (INT64)AsmReadItc () + Delay; in InternalIpfDelay() 48 while (Ticks - (INT64)AsmReadItc() >= 0); in InternalIpfDelay() 188 IN UINT64 Ticks in GetTimeInNanoSecond() argument 203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetTimerLib/ |
D | X86TimerLib.c | 89 UINT32 Ticks; in InternalAcpiDelay() local 98 Ticks = InternalAcpiGetTimerTick () + Delay; in InternalAcpiDelay() 106 …while (((Ticks - InternalAcpiGetTimerTick ()) & (1 << (gAcpiDesc->PM_TMR_BLK.RegisterBitWidth - 1)… in InternalAcpiDelay() 261 IN UINT64 Ticks in GetTimeInNanoSecond() argument 272 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, 3579545, &Remainder), 1000000000u); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 93 UINT32 Ticks; in InternalAcpiDelay() local 102 Ticks = InternalAcpiGetTimerTick () + Delay; in InternalAcpiDelay() 109 while (((Ticks - InternalAcpiGetTimerTick ()) & BIT23) == 0) { in InternalAcpiDelay() 247 IN UINT64 Ticks in GetTimeInNanoSecond() argument 262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ipf/ |
D | IpfTimerLib.c | 45 INT64 Ticks; in InternalIpfDelay() local 50 Ticks = (INT64)AsmReadItc () + Delay; in InternalIpfDelay() 57 while (Ticks - (INT64)AsmReadItc() >= 0); in InternalIpfDelay()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/ |
D | X86TimerLib.c | 134 INT32 Ticks; in InternalX86Delay() local 139 Ticks = InternalX86GetTimerTick (ApicBase) - Delay; in InternalX86Delay() 146 while (InternalX86GetTimerTick (ApicBase) - Ticks >= 0); in InternalX86Delay()
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6Nd.c | 480 ArpQue->Ticks = (UINT32) IP6_GET_TICKS (IP6_DELAY_FIRST_PROBE_TIME); in Ip6OnArpResolved() 1642 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessNeighborSolicit() 1843 Neighbor->Ticks = IP6_GET_TICKS (IpSb->ReachableTime); in Ip6ProcessNeighborAdvertise() 1846 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessNeighborAdvertise() 1865 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessNeighborAdvertise() 1876 Neighbor->Ticks = IP6_GET_TICKS (IpSb->ReachableTime); in Ip6ProcessNeighborAdvertise() 1880 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessNeighborAdvertise() 2134 NeighborCache->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessRouterAdvertise() 2146 NeighborCache->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessRouterAdvertise() 2599 NeighborCache->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessRedirect() [all …]
|
D | Ip6Impl.h | 218 UINT32 Ticks; member
|
D | Ip6Nd.h | 130 UINT32 Ticks; member
|
D | Ip6If.c | 717 NeighborCache->Ticks = (UINT32) IP6_GET_TICKS (IP6_DELAY_FIRST_PROBE_TIME); in Ip6SendFrame()
|
D | Ip6Output.c | 749 NeighborCache->Ticks = IP6_GET_TICKS (IpSb->RetransTimer) + 1; in Ip6Output()
|
D | Ip6Driver.c | 336 IpSb->Ticks = 0; in Ip6CreateService()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeTimerLibEsal/ |
D | DxeTimerLibEsal.c | 195 IN UINT64 Ticks in GetTimeInNanoSecond() argument 210 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmArchTimerLib/ |
D | ArmArchTimerLib.c | 259 IN UINT64 Ticks in GetTimeInNanoSecond() argument 274 Ticks, in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | TimerLib.h | 111 IN UINT64 Ticks
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseTimerLibNullTemplate/ |
D | TimerLibNull.c | 129 IN UINT64 Ticks in GetTimeInNanoSecond() argument
|