Searched defs:Ticks (Results 1 - 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/StallSmmLib/
H A DStallSmm.c58 UINTN Ticks;
77 Ticks = Microseconds * 358 / 100 + OriginalTick + 1;
82 Counts = Ticks / V_PCH_ACPI_PM1_TMR_MAX_VAL;
87 RemainingTick = Ticks % V_PCH_ACPI_PM1_TMR_MAX_VAL;
49 UINTN Ticks; local
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ipf/
H A DIpfTimerLib.c45 INT64 Ticks; local
50 Ticks = (INT64)AsmReadItc () + Delay;
57 while (Ticks - (INT64)AsmReadItc() >= 0);
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
H A DStall.c58 UINTN Ticks;
75 Ticks = Microseconds * 358 / 100 + OriginalTick + 1;
80 Counts = (UINTN)RShiftU64((UINT64)Ticks, 24);
85 RemainingTick = Ticks & 0xFFFFFF;
49 UINTN Ticks; local
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/
H A DStall.c57 UINTN Ticks;
74 Ticks = Microseconds * 358 / 100 + OriginalTick + 1;
79 Counts = (UINTN)RShiftU64((UINT64)Ticks, 24);
84 RemainingTick = Ticks & 0xFFFFFF;
48 UINTN Ticks; local
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetTimerLib/
H A DX86TimerLib.c89 UINT32 Ticks; local
98 Ticks = InternalAcpiGetTimerTick () + Delay;
106 while (((Ticks - InternalAcpiGetTimerTick ()) & (1 << (gAcpiDesc->PM_TMR_BLK.RegisterBitWidth - 1))) == 0) {
253 @param Ticks The number of elapsed ticks of running performance counter.
261 IN UINT64 Ticks
268 // Ticks
272 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, 3579545, &Remainder), 1000000000u);
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/
H A DX86TimerLib.c134 INT32 Ticks; local
139 Ticks = InternalX86GetTimerTick (ApicBase) - Delay;
146 while (InternalX86GetTimerTick (ApicBase) - Ticks >= 0);
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/
H A DIpfTimerLib.c36 INT64 Ticks; local
41 Ticks = (INT64)AsmReadItc () + Delay;
48 while (Ticks - (INT64)AsmReadItc() >= 0);
180 @param Ticks The number of elapsed ticks of running performance counter.
188 IN UINT64 Ticks
199 // Ticks
203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
H A DX86TimerLib.c157 INT32 Ticks; local
185 // Get Ticks from Start to Current.
187 Ticks = StartTick - InternalX86GetTimerTick (ApicBase);
189 // Ticks < 0 means Timer wrap-arounds happens.
191 if (Ticks < 0) {
192 Ticks += InitCount;
194 } while ((UINT32)Ticks < Delay);
339 @param Ticks The number of elapsed ticks of running performance counter.
347 IN UINT64 Ticks
358 // Ticks
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/Library/AcpiTimerLib/
H A DAcpiTimerLib.c42 UINT32 Ticks; local
51 Ticks = InternalAcpiGetTimerTick () + Delay;
58 while (((Ticks - InternalAcpiGetTimerTick ()) & BIT23) == 0) {
188 @param Ticks The number of elapsed ticks of running performance counter.
196 IN UINT64 Ticks
203 // Ticks
207 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, ACPI_TIMER_FREQUENCY, &Remainder), 1000000000u);
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/
H A DIpfTimerLib.c36 INT64 Ticks; local
41 Ticks = (INT64)AsmReadItc () + Delay;
48 while (Ticks - (INT64)AsmReadItc() >= 0);
180 @param Ticks The number of elapsed ticks of running performance counter.
188 IN UINT64 Ticks
199 // Ticks
203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
H A DX86TimerLib.c60 INT32 Ticks; local
88 // Get Ticks from Start to Current.
90 Ticks = StartTick - GetApicTimerCurrentCount ();
92 // Ticks < 0 means Timer wrap-arounds happens.
94 if (Ticks < 0) {
95 Ticks += InitCount;
97 } while ((UINT32)Ticks < Delay);
230 @param Ticks The number of elapsed ticks of running performance counter.
238 IN UINT64 Ticks
249 // Ticks
[all...]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/
H A DIntelPchAcpiTimerLib.c93 UINT32 Ticks;
102 Ticks = InternalAcpiGetTimerTick () + Delay;
109 while (((Ticks - InternalAcpiGetTimerTick ()) & BIT23) == 0) {
239 @param Ticks The number of elapsed ticks of running performance counter.
247 IN UINT64 Ticks
254 // Ticks
258 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, V_PCH_ACPI_PM1_TMR_FREQUENCY, &Remainder), 1000000000u);
84 UINT32 Ticks; local
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/
H A DAcpiTimerLib.c93 UINT32 Ticks; local
102 Ticks = InternalAcpiGetTimerTick () + Delay;
109 while (((Ticks - InternalAcpiGetTimerTick ()) & BIT23) == 0) {
239 @param Ticks The number of elapsed ticks of running performance counter.
247 IN UINT64 Ticks
258 // Ticks
262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
/device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/
H A DTscTimerLibShare.c55 UINT32 Ticks; local
72 Ticks = IoRead32 (TimerAddr) + (3579); // Set Ticks to 1ms in the future
77 // When the current ACPI timer value is greater than 'Ticks', the while loop will exit.
79 while (((Ticks - IoRead32 (TimerAddr)) & BIT23) == 0) {
105 UINT64 Ticks; local
110 Ticks = AsmReadTsc() + Delay;
118 while (AsmReadTsc() <= Ticks) CpuPause();
239 @param Ticks The number of elapsed ticks of running performance counter.
247 IN UINT64 Ticks
[all...]
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/AcpiTimerLib/
H A DAcpiTimerLib.c155 UINT32 Ticks; local
165 Ticks = IoBitFieldRead32 (Port, 0, 23) + Delay;
172 while (((Ticks - IoBitFieldRead32 (Port, 0, 23)) & BIT23) == 0) {
301 @param Ticks The number of elapsed ticks of running performance counter.
309 IN UINT64 Ticks
320 // Ticks
324 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
362 UINT32 Ticks; local
374 Ticks = IoBitFieldRead32 (TimerAddr, 0, 23) + 363;
380 // When the current ACPI timer value is greater than 'Ticks',
[all...]
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
H A DIp6Impl.h218 UINT32 Ticks; member in struct:_IP6_SERVICE
H A DIp6Nd.h130 UINT32 Ticks; member in struct:_IP6_NEIGHBOR_ENTRY

Completed in 453 milliseconds