15ArmGenericTimerEnableTimer (
21 TimerCtrlReg = ArmReadCntvCtl ();
22 TimerCtrlReg |= ARM_ARCH_TIMER_ENABLE;
23 ArmWriteCntvCtl (TimerCtrlReg);
28ArmGenericTimerReenableTimer (
36ArmGenericTimerDisableTimer (
42 TimerCtrlReg = ArmReadCntvCtl ();
43 TimerCtrlReg &= ~ARM_ARCH_TIMER_ENABLE;
44 ArmWriteCntvCtl (TimerCtrlReg);
49ArmGenericTimerSetTimerFreq (
53 ArmWriteCntFrq (FreqInHz);
58ArmGenericTimerGetTimerFreq (
62 return ArmReadCntFrq ();
67ArmGenericTimerGetTimerVal (
71 return ArmReadCntvTval ();
76ArmGenericTimerSetTimerVal (
80 ArmWriteCntvTval (Value);
85ArmGenericTimerGetSystemCount (
89 return ArmReadCntvCt ();
94ArmGenericTimerGetTimerCtrlReg (
98 return ArmReadCntvCtl ();
103ArmGenericTimerSetTimerCtrlReg (
107 ArmWriteCntvCtl (Value);
112ArmGenericTimerGetCompareVal (
116 return ArmReadCntvCval ();
121ArmGenericTimerSetCompareVal (
125 ArmWriteCntvCval (Value);