Home
last modified time | relevance | path

Searched refs:TimerCtrlReg (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/ArmPkg/Library/ArmGenericTimerVirtCounterLib/
DArmGenericTimerVirtCounterLib.c25 UINTN TimerCtrlReg; in ArmGenericTimerEnableTimer() local
27 ArmArchTimerReadReg (CntvCtl, (VOID *)&TimerCtrlReg); in ArmGenericTimerEnableTimer()
28 TimerCtrlReg |= ARM_ARCH_TIMER_ENABLE; in ArmGenericTimerEnableTimer()
38 TimerCtrlReg &= ~ARM_ARCH_TIMER_IMASK; in ArmGenericTimerEnableTimer()
39 ArmArchTimerWriteReg (CntvCtl, (VOID *)&TimerCtrlReg); in ArmGenericTimerEnableTimer()
48 UINTN TimerCtrlReg; in ArmGenericTimerDisableTimer() local
50 ArmArchTimerReadReg (CntvCtl, (VOID *)&TimerCtrlReg); in ArmGenericTimerDisableTimer()
51 TimerCtrlReg &= ~ARM_ARCH_TIMER_ENABLE; in ArmGenericTimerDisableTimer()
52 ArmArchTimerWriteReg (CntvCtl, (VOID *)&TimerCtrlReg); in ArmGenericTimerDisableTimer()
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmGenericTimerPhyCounterLib/
DArmGenericTimerPhyCounterLib.c25 UINTN TimerCtrlReg; in ArmGenericTimerEnableTimer() local
27 ArmArchTimerReadReg (CntpCtl, (VOID *)&TimerCtrlReg); in ArmGenericTimerEnableTimer()
28 TimerCtrlReg |= ARM_ARCH_TIMER_ENABLE; in ArmGenericTimerEnableTimer()
29 ArmArchTimerWriteReg (CntpCtl, (VOID *)&TimerCtrlReg); in ArmGenericTimerEnableTimer()
38 UINTN TimerCtrlReg; in ArmGenericTimerDisableTimer() local
40 ArmArchTimerReadReg (CntpCtl, (VOID *)&TimerCtrlReg); in ArmGenericTimerDisableTimer()
41 TimerCtrlReg &= ~ARM_ARCH_TIMER_ENABLE; in ArmGenericTimerDisableTimer()
42 ArmArchTimerWriteReg (CntpCtl, (VOID *)&TimerCtrlReg); in ArmGenericTimerDisableTimer()
/device/linaro/bootloader/edk2/ArmPkg/Drivers/TimerDxe/
DTimerDxe.c372 UINTN TimerCtrlReg; in TimerInitialize() local
385 TimerCtrlReg = ArmGenericTimerGetTimerCtrlReg (); in TimerInitialize()
386 TimerCtrlReg |= ARM_ARCH_TIMER_IMASK; in TimerInitialize()
387 TimerCtrlReg &= ~ARM_ARCH_TIMER_ENABLE; in TimerInitialize()
388 ArmGenericTimerSetTimerCtrlReg (TimerCtrlReg); in TimerInitialize()
428 TimerCtrlReg = ARM_ARCH_TIMER_ENABLE; in TimerInitialize()
429 ArmGenericTimerSetTimerCtrlReg (TimerCtrlReg); in TimerInitialize()