Home
last modified time | relevance | path

Searched refs:gxp_timer (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/clocksource/
H A Dtimer-gxp.c26 struct gxp_timer { struct
32 static struct gxp_timer *gxp_timer; argument
36 static inline struct gxp_timer *to_gxp_timer(struct clock_event_device *evt_dev) in to_gxp_timer()
38 return container_of(evt_dev, struct gxp_timer, evt); in to_gxp_timer()
48 struct gxp_timer *timer = to_gxp_timer(evt_dev); in gxp_time_set_next_event()
60 struct gxp_timer *timer = (struct gxp_timer *)dev_id; in gxp_timer_interrupt()
79 gxp_timer = kzalloc(sizeof(*gxp_timer), GFP_KERNEL); in gxp_timer_init()
80 if (!gxp_timer) { in gxp_timer_init()
107 gxp_timer->counter = base + GXP_TIMER_CNT_OFS; in gxp_timer_init()
108 gxp_timer->control = base + GXP_TIMER_CTRL_OFS; in gxp_timer_init()
[all …]