Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/arm/mach-davinci/include/mach/timex.h
17613 views
1
/*
2
* DaVinci timer defines
3
*
4
* Author: Kevin Hilman, MontaVista Software, Inc. <[email protected]>
5
*
6
* 2007 (c) MontaVista Software, Inc. This file is licensed under
7
* the terms of the GNU General Public License version 2. This program
8
* is licensed "as is" without any warranty of any kind, whether express
9
* or implied.
10
*/
11
#ifndef __ASM_ARCH_TIMEX_H
12
#define __ASM_ARCH_TIMEX_H
13
14
/*
15
* Alert: Not all timers of the DaVinci family run at a frequency of 27MHz,
16
* but we should be fine as long as CLOCK_TICK_RATE or LATCH (see include/
17
* linux/jiffies.h) are not used directly in code. Currently none of the
18
* code relevant to DaVinci platform depends on these values directly.
19
*/
20
#define CLOCK_TICK_RATE 27000000
21
22
#endif /* __ASM_ARCH_TIMEX_H__ */
23
24