• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 struct clk;
2 
3 void __sp804_clocksource_and_sched_clock_init(void __iomem *,
4 					      const char *, struct clk *, int);
5 void __sp804_clockevents_init(void __iomem *, unsigned int,
6 			      struct clk *, const char *);
7 
sp804_clocksource_init(void __iomem * base,const char * name)8 static inline void sp804_clocksource_init(void __iomem *base, const char *name)
9 {
10 	__sp804_clocksource_and_sched_clock_init(base, name, NULL, 0);
11 }
12 
sp804_clocksource_and_sched_clock_init(void __iomem * base,const char * name)13 static inline void sp804_clocksource_and_sched_clock_init(void __iomem *base,
14 							  const char *name)
15 {
16 	__sp804_clocksource_and_sched_clock_init(base, name, NULL, 1);
17 }
18 
sp804_clockevents_init(void __iomem * base,unsigned int irq,const char * name)19 static inline void sp804_clockevents_init(void __iomem *base, unsigned int irq, const char *name)
20 {
21 	__sp804_clockevents_init(base, irq, NULL, name);
22 
23 }
24