linux/drivers/clocksource/timer-sp.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * ARM timer implementation, found in Integrator, Versatile and Realview
 * platforms.  Not all platforms support all registers and bits in these
 * registers, so we mark them with A for Integrator AP, C for Integrator
 * CP, V for Versatile and R for Realview.
 *
 * Integrator AP has 16-bit timers, Integrator CP, Versatile and Realview
 * can have 16-bit or 32-bit selectable via a bit in the control register.
 *
 * Every SP804 contains two identical timers.
 */
#define NR_TIMERS
#define TIMER_1_BASE
#define TIMER_2_BASE

#define TIMER_LOAD
#define TIMER_VALUE
#define TIMER_CTRL
#define TIMER_CTRL_ONESHOT
#define TIMER_CTRL_32BIT
#define TIMER_CTRL_DIV1
#define TIMER_CTRL_DIV16
#define TIMER_CTRL_DIV256
#define TIMER_CTRL_IE
#define TIMER_CTRL_PERIODIC
#define TIMER_CTRL_ENABLE

#define TIMER_INTCLR
#define TIMER_RIS
#define TIMER_MIS
#define TIMER_BGLOAD

struct sp804_timer {};

struct sp804_clkevt {};