linux/arch/arm/include/asm/hardware/timer-sp.h
<<
>>
Prefs
   1struct clk;
   2
   3void __sp804_clocksource_and_sched_clock_init(void __iomem *,
   4                                              const char *, struct clk *, int);
   5void __sp804_clockevents_init(void __iomem *, unsigned int,
   6                              struct clk *, const char *);
   7
   8static 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
  13static 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
  19static 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