/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Event/ |
D | Timer.c | 54 TriggerTime = Event->Timer.TriggerTime; in CoreInsertEventTimer() 60 Event2 = CR (Link, IEVENT, Timer.Link, EVENT_SIGNATURE); in CoreInsertEventTimer() 62 if (Event2->Timer.TriggerTime > TriggerTime) { in CoreInsertEventTimer() 67 InsertTailList (Link, &Event->Timer.Link); in CoreInsertEventTimer() 115 Event = CR (mEfiTimerList.ForwardLink, IEVENT, Timer.Link, EVENT_SIGNATURE); in CoreCheckTimers() 120 if (Event->Timer.TriggerTime > SystemTime) { in CoreCheckTimers() 128 RemoveEntryList (&Event->Timer.Link); in CoreCheckTimers() 129 Event->Timer.Link.ForwardLink = NULL; in CoreCheckTimers() 139 if (Event->Timer.Period != 0) { in CoreCheckTimers() 143 Event->Timer.TriggerTime = Event->Timer.TriggerTime + Event->Timer.Period; in CoreCheckTimers() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | SyncTimer.c | 77 IN UINT64 Timer in IsSyncTimerTimeout() argument 93 if (CurrentTimer <= Timer) { in IsSyncTimerTimeout() 94 Delta = Timer - CurrentTimer; in IsSyncTimerTimeout() 99 Delta = mCycle - (CurrentTimer - Timer) + 1; in IsSyncTimerTimeout() 105 if (CurrentTimer >= Timer) { in IsSyncTimerTimeout() 106 Delta = CurrentTimer - Timer; in IsSyncTimerTimeout() 111 Delta = mCycle - (Timer - CurrentTimer) + 1; in IsSyncTimerTimeout()
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/OmapLib/ |
D | OmapLib.c | 38 IN UINTN Timer in TimerBase() argument 41 switch (Timer) { in TimerBase() 60 IN UINTN Timer in InterruptVectorForTimer() argument 63 if ((Timer < 1) || (Timer > 12)) { in InterruptVectorForTimer() 68 return 36 + Timer; in InterruptVectorForTimer()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/HpetTimerDxe/ |
D | HpetTimerDxe.uni | 2 // Timer Architectural Protocol module using High Precesion Event Timer (HPET). 4 // Timer Architectural Protocol module using High Precision Event Timer (HPET). 19 …ULE_ABSTRACT #language en-US "Timer Architectural Protocol module using High Precision… 21 …ULE_DESCRIPTION #language en-US "Timer Architectural Protocol module using High Precision…
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/Arm/ |
D | ArmV7ArchTimerSupport.asm | 32 mrc p15, 0, r0, c14, c1, 0 ; Read CNTK_CTL (Timer PL1 Control Register) 36 mcr p15, 0, r0, c14, c1, 0 ; Write to CNTK_CTL (Timer PL1 Control Register) 48 mrc p15, 0, r0, c14, c2, 1 ; Read CNTP_CTL (PL1 Physical Timer Control Register) 52 mcr p15, 0, r0, c14, c2, 1 ; Write to CNTP_CTL (PL1 Physical Timer Control Register) 56 mrc p15, 0, r0, c14, c3, 0 ; Read CNTV_TVAL (Virtual Timer Value register) 60 mcr p15, 0, r0, c14, c3, 0 ; Write to CNTV_TVAL (Virtual Timer Value register) 64 mrc p15, 0, r0, c14, c3, 1 ; Read CNTV_CTL (Virtual Timer Control Register) 68 mcr p15, 0, r0, c14, c3, 1 ; Write to CNTV_CTL (Virtual Timer Control Register) 76 mrrc p15, 2, r0, r1, c14 ; Read CNTP_CTVAL (Physical Timer Compare Value Register) 80 mcrr p15, 2, r0, r1, c14 ; Write to CNTP_CTVAL (Physical Timer Compare Value Register) [all …]
|
D | ArmV7ArchTimerSupport.S | 31 mrc p15, 0, r0, c14, c1, 0 @ Read CNTK_CTL (Timer PL1 Control Register) 35 mcr p15, 0, r0, c14, c1, 0 @ Write to CNTK_CTL (Timer PL1 Control Register) 47 mrc p15, 0, r0, c14, c2, 1 @ Read CNTP_CTL (PL1 Physical Timer Control Register) 51 mcr p15, 0, r0, c14, c2, 1 @ Write to CNTP_CTL (PL1 Physical Timer Control Register) 55 mrc p15, 0, r0, c14, c3, 0 @ Read CNTV_TVAL (Virtual Timer Value register) 59 mcr p15, 0, r0, c14, c3, 0 @ Write to CNTV_TVAL (Virtual Timer Value register) 63 mrc p15, 0, r0, c14, c3, 1 @ Read CNTV_CTL (Virtual Timer Control Register) 67 mcr p15, 0, r0, c14, c3, 1 @ Write to CNTV_CTL (Virtual Timer Control Register) 75 mrrc p15, 2, r0, r1, c14 @ Read CNTP_CTVAL (Physical Timer Compare Value Register) 79 mcrr p15, 2, r0, r1, c14 @ Write to CNTP_CTVAL (Physical Timer Compare Value Register) [all …]
|
/device/generic/goldfish/dhcp/client/ |
D | timer.cpp | 28 Timer::Timer() : mExpires(0) { in Timer() function in Timer 31 void Timer::expireSeconds(uint64_t seconds) { in expireSeconds() 35 bool Timer::expired() const { in expired() 39 uint64_t Timer::remainingMillis() const { in remainingMillis()
|
D | timer.h | 24 class Timer { 27 Timer();
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/ |
D | QNCSmmPeriodicTimer.c | 222 SUPPORTED_TIMER Timer; in QNCSmmPeriodicTimerProgramTimers() local 230 for (Timer = (SUPPORTED_TIMER)0; Timer < NUM_TIMERS; Timer++) { in QNCSmmPeriodicTimerProgramTimers() 231 mTimers[Timer].MinReqInterval = ~(UINT64)0x0; in QNCSmmPeriodicTimerProgramTimers() 232 mTimers[Timer].NumChildren = 0; in QNCSmmPeriodicTimerProgramTimers() 244 Timer = (SUPPORTED_TIMER)((TIMER_INTERVAL *) (TimerInterval))->AssociatedTimer; in QNCSmmPeriodicTimerProgramTimers() 246 ASSERT (Timer >= 0 && Timer < NUM_TIMERS); in QNCSmmPeriodicTimerProgramTimers() 248 … if (mTimers[Timer].MinReqInterval > RecordInDb->ChildContext.PeriodicTimer.SmiTickInterval) { in QNCSmmPeriodicTimerProgramTimers() 249 mTimers[Timer].MinReqInterval = RecordInDb->ChildContext.PeriodicTimer.SmiTickInterval; in QNCSmmPeriodicTimerProgramTimers() 251 mTimers[Timer].NumChildren++; in QNCSmmPeriodicTimerProgramTimers()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/8254TimerDxe/ |
D | 8254Timer.inf | 2 # 8254 timer driver that provides Timer Arch protocol. 17 BASE_NAME = Timer 18 MODULE_UNI_FILE = Timer.uni 37 Timer.h 38 Timer.c
|
D | Timer.uni | 2 // 8254 timer driver that provides Timer Arch protocol. 4 // 8254 timer driver that provides Timer Arch protocol. 19 #string STR_MODULE_ABSTRACT #language en-US "8254 timer driver that provides Timer Arch… 21 #string STR_MODULE_DESCRIPTION #language en-US "8254 timer driver that provides Timer Arch…
|
/device/google/contexthub/firmware/os/core/ |
D | timer.c | 42 struct Timer { struct 57 static struct Timer mTimers[MAX_TIMERS]; argument 73 static struct Timer *timFindTimerById(uint32_t timId) /* no locks taken. be careful what you do wit… in timFindTimerById() 89 static void timCallFunc(struct Timer *tim) in timCallFunc() 118 struct Timer *tim; in timFireAsNeededAndUpdateAlarms() 177 struct Timer *t; in timTimerSetEx() 228 struct Timer *t = (struct Timer *)context; in timerEventMatch() 243 struct Timer *t = timFindTimerById(timerId); in timTimerCancelEx() 272 struct Timer *tim; in timTimerCancelAll()
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/ |
D | DebugTimer.c | 124 IN UINT32 Timer, in IsDebugTimerTimeout() argument 138 if (CurrentTimer <= Timer) { in IsDebugTimerTimeout() 139 Delta = Timer - CurrentTimer; in IsDebugTimerTimeout() 144 Delta = TimerCycle - (CurrentTimer - Timer) + 1; in IsDebugTimerTimeout()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MpInitLib/ |
D | DxeMpLib.c | 651 EFI_TIMER_ARCH_PROTOCOL *Timer; in MpInitLibSwitchBSP() local 658 Status = gBS->LocateProtocol (&gEfiTimerArchProtocolGuid, NULL, (VOID **) &Timer); in MpInitLibSwitchBSP() 660 Timer = NULL; in MpInitLibSwitchBSP() 663 if (Timer != NULL) { in MpInitLibSwitchBSP() 667 Timer->GetTimerPeriod (Timer, &TimerPeriod); in MpInitLibSwitchBSP() 671 Timer->SetTimerPeriod (Timer, 0); in MpInitLibSwitchBSP() 676 if (Timer != NULL) { in MpInitLibSwitchBSP() 680 Timer->SetTimerPeriod (Timer, TimerPeriod); in MpInitLibSwitchBSP()
|
/device/linaro/bootloader/edk2/Nt32Pkg/TimerDxe/ |
D | TimerDxe.inf | 2 # NT Emulation Timer Architectural Protocol Driver as defined in DXE CIS 4 # This Timer module uses an NT Thread to simulate the timer-tick driven 21 BASE_NAME = Timer 35 Timer.c 36 Timer.h
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeTimerLibEsal/ |
D | DxeTimerLibEsal.uni | 2 // This library implements the Timer Library using the Extended SAL Stall Services Class. 4 // This library implements the Timer Library using the Extended SAL Stall Services Class. 18 #string STR_MODULE_ABSTRACT #language en-US "Implements the Timer Library using the Ext… 20 #string STR_MODULE_DESCRIPTION #language en-US "This library implements the Timer Library …
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/WatchdogTimerDxe/ |
D | WatchdogTimer.uni | 2 // Generic watchdog timer driver producing Watchdog Timer Architectural Protocol using UEFI APIs. 4 // A generic watchdog timer driver producing Watchdog Timer Architectural Protocol using UEFI APIs. 18 … #language en-US "Generic watchdog timer driver producing Watchdog Timer Architectural Prot… 20 … #language en-US "A generic watchdog timer driver producing Watchdog Timer Architectural Prot…
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
D | Tcp4Timer.c | 315 TCP_TIME_LT (Tcb->Timer[Index], mTcpTick + Tcb->NextExpire)) { in TcpUpdateTimer() 317 Tcb->NextExpire = TCP_SUB_TIME (Tcb->Timer[Index], mTcpTick); in TcpUpdateTimer() 335 IN UINT16 Timer, in TcpSetTimer() argument 339 TCP_SET_TIMER (Tcb->EnabledTimer, Timer); in TcpSetTimer() 340 Tcb->Timer[Timer] = mTcpTick + TimeOut; in TcpSetTimer() 356 IN UINT16 Timer in TcpClearTimer() argument 359 TCP_CLEAR_TIMER (Tcb->EnabledTimer, Timer); in TcpClearTimer() 540 TCP_TIME_LEQ (Tcb->Timer[Index], mTcpTick)) { in TcpTickingDpc()
|
D | Tcp4Proto.h | 205 UINT32 Timer[TCP_TIMER_NUMBER]; ///< When the timer will expire member 335 #define TCP_TIMER_ON(Flag, Timer) ((Flag) & (1 << (Timer))) argument 336 #define TCP_SET_TIMER(Flag, Timer) ((Flag) = (UINT16) ((Flag) | (1 << (Timer)))) argument 337 #define TCP_CLEAR_TIMER(Flag, Timer) ((Flag) = (UINT16) ((Flag) & (~(1 << (Timer))))) argument
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | TcpTimer.c | 360 TCP_TIME_LT (Tcb->Timer[Index], mTcpTick + Tcb->NextExpire) in TcpUpdateTimer() 363 Tcb->NextExpire = TCP_SUB_TIME (Tcb->Timer[Index], mTcpTick); in TcpUpdateTimer() 380 IN UINT16 Timer, in TcpSetTimer() argument 384 TCP_SET_TIMER (Tcb->EnabledTimer, Timer); in TcpSetTimer() 385 Tcb->Timer[Timer] = mTcpTick + TimeOut; in TcpSetTimer() 400 IN UINT16 Timer in TcpClearTimer() argument 403 TCP_CLEAR_TIMER (Tcb->EnabledTimer, Timer); in TcpClearTimer() 550 if (TCP_TIMER_ON (Tcb->EnabledTimer, Index) && TCP_TIME_LEQ (Tcb->Timer[Index], mTcpTick)) { in TcpTickingDpc()
|
D | TcpProto.h | 205 #define TCP_TIMER_ON(Flag, Timer) ((Flag) & (1 << (Timer))) argument 206 #define TCP_SET_TIMER(Flag, Timer) ((Flag) = (UINT16) ((Flag) | (1 << (Timer)))) argument 207 #define TCP_CLEAR_TIMER(Flag, Timer) ((Flag) = (UINT16) ((Flag) & (~(1 << (Timer))))) argument 282 UINT32 Timer[TCP_TIMER_NUMBER]; ///< When the timer will expire. member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Metronome/ |
D | Metronome.uni | 2 // This module produces the Metronome Architectural Protocol on top of Timer Library. 5 // layers on top of an instance of the Timer Library. The Timer Library provides 27 … #language en-US "Produces the Metronome Architectural Protocol on top of Timer Library" 29 …Architectural Protocol that layers on top of an instance of the Timer Library. The Timer Library …
|
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/ |
D | DriverBinding.c | 156 (VOID **)&pNicDevice->Timer ); in DriverStart() 160 pNicDevice->Timer )); in DriverStart() 171 Status = gBS->SetTimer ( pNicDevice->Timer, in DriverStart() 298 if ( NULL != pNicDevice->Timer ) { in DriverStop() 299 gBS->SetTimer ( pNicDevice->Timer, TimerCancel, 0 ); in DriverStop() 300 gBS->CloseEvent ( pNicDevice->Timer ); in DriverStop() 303 pNicDevice->Timer )); in DriverStop()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseTimerLibNullTemplate/ |
D | BaseTimerLibNullTemplate.uni | 2 // NULL instance of Timer Library as a template. 4 // A non-functional instance of the Timer Library that can be used as a template 21 #string STR_MODULE_ABSTRACT #language en-US "NULL instance of Timer Library as a templa… 23 #string STR_MODULE_DESCRIPTION #language en-US "A non-functional instance of the Timer Lib…
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ |
D | ArchProtocolLib.inf | 47 Timer/Timer.c 48 Timer/Timer.h
|