staging:iio:adc:ad7606 move to info_mask_(shared_by_type/separate)
[linux/fpc-iii.git] / arch / sparc / include / asm / timer_64.h
blob01197d8215c4c87c61a40f11f20618ae8dd0a126
1 /* timer.h: System timer definitions for sun5.
3 * Copyright (C) 1997, 2008 David S. Miller (davem@davemloft.net)
4 */
6 #ifndef _SPARC64_TIMER_H
7 #define _SPARC64_TIMER_H
9 #include <linux/types.h>
10 #include <linux/init.h>
12 struct sparc64_tick_ops {
13 unsigned long long (*get_tick)(void);
14 int (*add_compare)(unsigned long);
15 unsigned long softint_mask;
16 void (*disable_irq)(void);
18 void (*init_tick)(void);
19 unsigned long (*add_tick)(unsigned long);
21 char *name;
24 extern struct sparc64_tick_ops *tick_ops;
26 extern unsigned long sparc64_get_clock_tick(unsigned int cpu);
27 extern void setup_sparc64_timer(void);
28 extern void __init time_init(void);
30 #endif /* _SPARC64_TIMER_H */