]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Include/Library/ArmGenericTimerCounterLib.h
MdeModulePkg SataControllerDxe: Use compare logic in if condition
[mirror_edk2.git] / ArmPkg / Include / Library / ArmGenericTimerCounterLib.h
CommitLineData
e7151252
AB
1/** @file\r
2\r
3 Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>\r
4 Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>\r
5\r
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef __ARM_GENERIC_TIMER_COUNTER_LIB_H__\r
17#define __ARM_GENERIC_TIMER_COUNTER_LIB_H__\r
18\r
19VOID\r
20EFIAPI\r
21ArmGenericTimerEnableTimer (\r
22 VOID\r
23 );\r
24\r
5853e2e4
AB
25VOID\r
26EFIAPI\r
27ArmGenericTimerReenableTimer (\r
28 VOID\r
29 );\r
30\r
e7151252
AB
31VOID\r
32EFIAPI\r
33ArmGenericTimerDisableTimer (\r
34 VOID\r
35 );\r
36\r
37VOID\r
38EFIAPI\r
39ArmGenericTimerSetTimerFreq (\r
40 IN UINTN FreqInHz\r
41 );\r
42\r
43UINTN\r
44EFIAPI\r
45ArmGenericTimerGetTimerFreq (\r
46 VOID\r
47 );\r
48\r
49VOID\r
50EFIAPI\r
51ArmGenericTimerSetTimerVal (\r
52 IN UINTN Value\r
53 );\r
54\r
55UINTN\r
56EFIAPI\r
57ArmGenericTimerGetTimerVal (\r
58 VOID\r
59 );\r
60\r
61UINT64\r
62EFIAPI\r
63ArmGenericTimerGetSystemCount (\r
64 VOID\r
65 );\r
66\r
67UINTN\r
68EFIAPI\r
69ArmGenericTimerGetTimerCtrlReg (\r
70 VOID\r
71 );\r
72\r
73VOID\r
74EFIAPI\r
75ArmGenericTimerSetTimerCtrlReg (\r
76 UINTN Value\r
77 );\r
78\r
79UINT64\r
80EFIAPI\r
81ArmGenericTimerGetCompareVal (\r
82 VOID\r
83 );\r
84\r
85VOID\r
86EFIAPI\r
87ArmGenericTimerSetCompareVal (\r
88 IN UINT64 Value\r
89 );\r
90\r
91#endif\r