M7350/kernel/arch/arm/include/asm/hardware/timer-sp.h

24 lines
695 B
C
Raw Permalink Normal View History

2024-09-09 08:57:42 +00:00
struct clk;
2024-09-09 08:52:07 +00:00
void __sp804_clocksource_and_sched_clock_init(void __iomem *,
2024-09-09 08:57:42 +00:00
const char *, struct clk *, int);
void __sp804_clockevents_init(void __iomem *, unsigned int,
struct clk *, const char *);
2024-09-09 08:52:07 +00:00
static inline void sp804_clocksource_init(void __iomem *base, const char *name)
{
2024-09-09 08:57:42 +00:00
__sp804_clocksource_and_sched_clock_init(base, name, NULL, 0);
2024-09-09 08:52:07 +00:00
}
static inline void sp804_clocksource_and_sched_clock_init(void __iomem *base,
const char *name)
{
2024-09-09 08:57:42 +00:00
__sp804_clocksource_and_sched_clock_init(base, name, NULL, 1);
2024-09-09 08:52:07 +00:00
}
2024-09-09 08:57:42 +00:00
static inline void sp804_clockevents_init(void __iomem *base, unsigned int irq, const char *name)
{
__sp804_clockevents_init(base, irq, NULL, name);
}