Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
s5p-time.h
Go to the documentation of this file.
1 /* linux/arch/arm/plat-samsung/include/plat/s5p-time.h
2  *
3  * Copyright 2011 Samsung Electronics Co., Ltd.
4  * http://www.samsung.com/
5  *
6  * Header file for s5p time support
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11 */
12 
13 #ifndef __ASM_PLAT_S5P_TIME_H
14 #define __ASM_PLAT_S5P_TIME_H __FILE__
15 
16 /* S5P HR-Timer Clock mode */
23 };
24 
26  unsigned int event_id;
27  unsigned int source_id;
28 };
29 
30 /* Be able to sleep for atleast 4 seconds (usually more) */
31 #define S5PTIMER_MIN_RANGE 4
32 
33 #define TCNT_MAX 0xffffffff
34 #define NON_PERIODIC 0
35 #define PERIODIC 1
36 
38  enum s5p_timer_mode source);
39 extern struct sys_timer s5p_timer;
40 #endif /* __ASM_PLAT_S5P_TIME_H */