/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ |
D | Ide.c | 736 UINT32 Delay; in DRQClear() local 740 Delay = (UINT32) (((TimeoutInMilliSeconds * STALL_1_MILLI_SECOND) / 30) + 1); in DRQClear() 765 Delay--; in DRQClear() 767 } while (Delay > 0); in DRQClear() 769 if (Delay == 0) { in DRQClear() 798 UINT32 Delay; in DRQClear2() local 802 Delay = (UINT32) (((TimeoutInMilliSeconds * STALL_1_MILLI_SECOND) / 30) + 1); in DRQClear2() 827 Delay--; in DRQClear2() 829 } while (Delay > 0); in DRQClear2() 831 if (Delay == 0) { in DRQClear2() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/ |
D | X86TimerLib.c | 57 IN UINT32 Delay in InternalX86Delay() argument 74 Times = Delay / (InitCount / 2); in InternalX86Delay() 75 Delay = Delay % (InitCount / 2); in InternalX86Delay() 97 } while ((UINT32)Ticks < Delay); in InternalX86Delay() 102 StartTick -= (StartTick > Delay) ? Delay : (Delay - InitCount); in InternalX86Delay() 103 Delay = InitCount / 2; in InternalX86Delay()
|
D | IpfTimerLib.c | 33 IN INT64 Delay in InternalIpfDelay() argument 41 Ticks = (INT64)AsmReadItc () + Delay; in InternalIpfDelay()
|
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/ |
D | X86TimerLib.c | 154 IN UINT32 Delay in InternalX86Delay() argument 171 Times = Delay / (InitCount / 2); in InternalX86Delay() 172 Delay = Delay % (InitCount / 2); in InternalX86Delay() 194 } while ((UINT32)Ticks < Delay); in InternalX86Delay() 199 StartTick -= (StartTick > Delay) ? Delay : (Delay - InitCount); in InternalX86Delay() 200 Delay = InitCount / 2; in InternalX86Delay()
|
/device/linaro/bootloader/edk2/OptionRomPkg/AtapiPassThruDxe/ |
D | AtapiPassThru.c | 2592 UINT64 Delay; in StatusDRQClear() local 2597 Delay = 2; in StatusDRQClear() 2599 Delay = DivU64x32 (TimeoutInMicroSeconds, (UINT32) 30) + 1; in StatusDRQClear() 2638 Delay = 2; in StatusDRQClear() 2641 Delay--; in StatusDRQClear() 2642 } while (Delay); in StatusDRQClear() 2644 if (Delay == 0) { in StatusDRQClear() 2676 UINT64 Delay; in AltStatusDRQClear() local 2681 Delay = 2; in AltStatusDRQClear() 2683 Delay = DivU64x32 (TimeoutInMicroSeconds, (UINT32) 30) + 1; in AltStatusDRQClear() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 39 IN UINT32 Delay in InternalAcpiDelay() argument 45 Times = Delay >> 22; in InternalAcpiDelay() 46 Delay &= BIT22 - 1; in InternalAcpiDelay() 51 Ticks = InternalAcpiGetTimerTick () + Delay; in InternalAcpiDelay() 52 Delay = BIT22; in InternalAcpiDelay()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/ |
D | IntelPchAcpiTimerLib.c | 90 IN UINT32 Delay in InternalAcpiDelay() 96 Times = Delay >> 22; in InternalAcpiDelay() 97 Delay &= BIT22 - 1; in InternalAcpiDelay() 102 Ticks = InternalAcpiGetTimerTick () + Delay; in InternalAcpiDelay() 103 Delay = BIT22; in InternalAcpiDelay()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/ |
D | CommPs2.c | 627 UINTN Delay; in In8042Data() local 630 Delay = TIMEOUT / 50; in In8042Data() 643 Delay--; in In8042Data() 644 } while (Delay != 0); in In8042Data() 646 if (Delay == 0) { in In8042Data() 856 UINTN Delay; in WaitInputEmpty() local 859 Delay = Timeout / 50; in WaitInputEmpty() 872 Delay--; in WaitInputEmpty() 873 } while (Delay != 0); in WaitInputEmpty() 875 if (Delay == 0) { in WaitInputEmpty() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/ |
D | CommPs2.c | 626 UINTN Delay; in In8042Data() local 629 Delay = TIMEOUT / 50; in In8042Data() 642 Delay--; in In8042Data() 643 } while (Delay != 0); in In8042Data() 645 if (Delay == 0) { in In8042Data() 855 UINTN Delay; in WaitInputEmpty() local 858 Delay = Timeout / 50; in WaitInputEmpty() 871 Delay--; in WaitInputEmpty() 872 } while (Delay != 0); in WaitInputEmpty() 874 if (Delay == 0) { in WaitInputEmpty() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetTimerLib/ |
D | X86TimerLib.c | 86 IN UINT32 Delay in InternalAcpiDelay() argument 92 Times = Delay >> (gAcpiDesc->PM_TMR_BLK.RegisterBitWidth - 2); in InternalAcpiDelay() 93 Delay &= (1 << (gAcpiDesc->PM_TMR_BLK.RegisterBitWidth - 2)) - 1; in InternalAcpiDelay() 98 Ticks = InternalAcpiGetTimerTick () + Delay; in InternalAcpiDelay() 99 Delay = 1 << (gAcpiDesc->PM_TMR_BLK.RegisterBitWidth - 2); in InternalAcpiDelay()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 90 IN UINT32 Delay in InternalAcpiDelay() argument 96 Times = Delay >> 22; in InternalAcpiDelay() 97 Delay &= BIT22 - 1; in InternalAcpiDelay() 102 Ticks = InternalAcpiGetTimerTick () + Delay; in InternalAcpiDelay() 103 Delay = BIT22; in InternalAcpiDelay()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 151 IN UINT32 Delay in InternalAcpiDelay() argument 159 Times = Delay >> 22; in InternalAcpiDelay() 160 Delay &= BIT22 - 1; in InternalAcpiDelay() 165 Ticks = IoRead32 (Port) + Delay; in InternalAcpiDelay() 166 Delay = BIT22; in InternalAcpiDelay()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/ |
D | AtapiPeim.c | 861 UINTN Delay; in WaitForBSYClear() local 869 Delay = ((TimeoutInMilliSeconds * STALL_1_MILLI_SECOND) / 250) + 1; in WaitForBSYClear() 877 Delay--; in WaitForBSYClear() 879 } while (Delay != 0); in WaitForBSYClear() 881 if (Delay == 0) { in WaitForBSYClear() 906 UINTN Delay; in DRDYReady() local 915 Delay = ((TimeoutInMilliSeconds * STALL_1_MILLI_SECOND) / 250) + 1; in DRDYReady() 934 Delay--; in DRDYReady() 936 } while (Delay != 0); in DRDYReady() 938 if (Delay == 0) { in DRDYReady() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
D | IdeMode.c | 356 UINT64 Delay; in DRQClear() local 369 Delay = DivU64x32(Timeout, 1000) + 1; in DRQClear() 389 Delay--; in DRQClear() 391 } while (InfiniteWait || (Delay > 0)); in DRQClear() 419 UINT64 Delay; in DRQClear2() local 432 Delay = DivU64x32(Timeout, 1000) + 1; in DRQClear2() 452 Delay--; in DRQClear2() 454 } while (InfiniteWait || (Delay > 0)); in DRQClear2() 485 UINT64 Delay; in DRQReady() local 499 Delay = DivU64x32(Timeout, 1000) + 1; in DRQReady() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/ |
D | S3SaveState.c | 346 UINTN Delay; in BootScriptWriteMemPoll() local 354 Delay = (UINTN)VA_ARG (Marker, UINT64); in BootScriptWriteMemPoll() 363 Delay, in BootScriptWriteMemPoll() 441 UINT64 Delay; in BootScriptWriteIoPoll() local 447 Delay = (UINT64)VA_ARG (Marker, UINT64); in BootScriptWriteIoPoll() 449 return S3BootScriptSaveIoPoll (Width, Address, Data, DataMask, Delay); in BootScriptWriteIoPoll() 470 UINT64 Delay; in BootScriptWritePciConfigPoll() local 477 Delay = (UINT64)VA_ARG (Marker, UINT64); in BootScriptWritePciConfigPoll() 479 return S3BootScriptSavePciPoll (Width, Address, Data, DataMask, Delay); in BootScriptWritePciConfigPoll() 501 UINT64 Delay; in BootScriptWritePciConfig2Poll() local [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/SmmS3SaveState/ |
D | SmmS3SaveState.c | 345 UINTN Delay; in BootScriptWriteMemPoll() local 353 Delay = (UINTN)VA_ARG (Marker, UINT64); in BootScriptWriteMemPoll() 362 Delay, in BootScriptWriteMemPoll() 440 UINT64 Delay; in BootScriptWriteIoPoll() local 446 Delay = (UINT64)VA_ARG (Marker, UINT64); in BootScriptWriteIoPoll() 448 return S3BootScriptSaveIoPoll (Width, Address, Data, DataMask, Delay); in BootScriptWriteIoPoll() 469 UINT64 Delay; in BootScriptWritePciConfigPoll() local 476 Delay = (UINT64)VA_ARG (Marker, UINT64); in BootScriptWritePciConfigPoll() 478 return S3BootScriptSavePciPoll (Width, Address, Data, DataMask, Delay); in BootScriptWritePciConfigPoll() 500 UINT64 Delay; in BootScriptWritePciConfig2Poll() local [all …]
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/Omap35xxTimerLib/ |
D | TimerLib.c | 83 UINT32 Delay; in NanoSecondDelay() local 89 Delay = (NanoSeconds / PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds)) + 1; in NanoSecondDelay() 99 } while (ElapsedTime < Delay); in NanoSecondDelay()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/Omap35xxTimerLib/ |
D | TimerLib.c | 83 UINT32 Delay; in NanoSecondDelay() local 89 Delay = (NanoSeconds / PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds)) + 1; in NanoSecondDelay() 99 } while (ElapsedTime < Delay); in NanoSecondDelay()
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6If.c | 96 UINT64 Delay; in Ip6SetAddress() local 174 Delay = (UINT64) NET_RANDOM (NetRandomInitSeed ()); in Ip6SetAddress() 175 Delay = MultU64x32 (Delay, IP6_ONE_SECOND_IN_MS); in Ip6SetAddress() 176 Delay = RShiftU64 (Delay, 32); in Ip6SetAddress() 184 DelayNode->DelayTime = (UINT32) (DivU64x32 (Delay, IP6_TIMER_INTERVAL_IN_MS)); in Ip6SetAddress() 302 IP6_DELAY_JOIN_LIST *Delay; in Ip6CleanInterface() local 334 Delay = NET_LIST_HEAD (&Interface->DelayJoinList, IP6_DELAY_JOIN_LIST, Link); in Ip6CleanInterface() 336 FreePool (Delay); in Ip6CleanInterface()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
D | PciHotPlugSupport.c | 249 UINT32 Delay; in AllRootHPCInitialized() local 252 Delay = (UINT32) ((TimeoutInMicroSeconds / 30) + 1); in AllRootHPCInitialized() 271 Delay--; in AllRootHPCInitialized() 273 } while (Delay > 0); in AllRootHPCInitialized()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/ |
D | IsaFloppyCtrl.c | 1099 UINTN Delay; in FddWaitForBSYClear() local 1115 Delay = ((Timeout * STALL_1_MSECOND) / 50) + 1; in FddWaitForBSYClear() 1126 Delay = Delay - 1; in FddWaitForBSYClear() 1127 } while (Delay > 0); in FddWaitForBSYClear() 1129 if (Delay == 0) { in FddWaitForBSYClear() 1154 UINTN Delay; in FddDRQReady() local 1171 Delay = ((Timeout * STALL_1_MSECOND) / 50) + 1; in FddDRQReady() 1185 Delay = Delay - 1; in FddDRQReady() 1186 } while (Delay > 0); in FddDRQReady() 1188 if (Delay == 0) { in FddDRQReady()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiDxeS3BootScriptLib/ |
D | BootScriptInternalFormat.h | 156 UINT64 Delay; member 164 UINT64 Delay; member 173 UINT64 Delay; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ipf/ |
D | IpfTimerLib.c | 42 IN INT64 Delay in InternalIpfDelay() argument 50 Ticks = (INT64)AsmReadItc () + Delay; in InternalIpfDelay()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/ |
D | X86TimerLib.c | 131 IN UINT32 Delay in InternalX86Delay() argument 139 Ticks = InternalX86GetTimerTick (ApicBase) - Delay; in InternalX86Delay()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Command.c | 431 UINTN Delay; in EblPauseCmd() local 434 Delay = (Argc == 1)? 10 : AsciiStrDecimalToUintn (Argv[1]); in EblPauseCmd() 436 AsciiPrint ("Hit any key to break. You have %3d seconds", Delay); in EblPauseCmd() 437 Status = EblGetCharKey (&Key, Delay, EblPauseCallback); in EblPauseCmd() 558 UINTN Delay; in EblSleepCmd() local 560 Delay = (Argc == 1)? 10 : AsciiStrDecimalToUintn (Argv[1]); in EblSleepCmd() 562 gBS->Stall (Delay * 1000000); in EblSleepCmd()
|