1 /* linux/arch/arm/plat-s5p/include/plat/s5p-time.h
3 * Copyright 2011 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
6 * Header file for s5p time support
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.
13 #ifndef __ASM_PLAT_S5P_TIME_H
14 #define __ASM_PLAT_S5P_TIME_H __FILE__
16 /* S5P HR-Timer Clock mode */
25 struct s5p_timer_source
{
26 unsigned int event_id
;
27 unsigned int source_id
;
30 /* Be able to sleep for atleast 4 seconds (usually more) */
31 #define S5PTIMER_MIN_RANGE 4
33 #define TCNT_MAX 0xffffffff
34 #define NON_PERIODIC 0
37 extern void __init
s5p_set_timer_source(enum s5p_timer_mode event
,
38 enum s5p_timer_mode source
);
39 extern struct sys_timer s5p_timer
;
40 #endif /* __ASM_PLAT_S5P_TIME_H */