Lines Matching refs:timer8_priv
38 struct timer8_priv { struct
47 struct timer8_priv *p = dev_id; in timer8_interrupt() argument
59 static void timer8_set_next(struct timer8_priv *p, unsigned long delta) in timer8_set_next()
70 static int timer8_enable(struct timer8_priv *p) in timer8_enable()
79 static int timer8_start(struct timer8_priv *p) in timer8_start()
93 static void timer8_stop(struct timer8_priv *p) in timer8_stop()
98 static inline struct timer8_priv *ced_to_priv(struct clock_event_device *ced) in ced_to_priv()
100 return container_of(ced, struct timer8_priv, ced); in ced_to_priv()
103 static void timer8_clock_event_start(struct timer8_priv *p, unsigned long delta) in timer8_clock_event_start()
117 struct timer8_priv *p = ced_to_priv(ced); in timer8_clock_event_periodic()
128 struct timer8_priv *p = ced_to_priv(ced); in timer8_clock_event_oneshot()
140 struct timer8_priv *p = ced_to_priv(ced); in timer8_clock_event_next()
148 static struct timer8_priv timer8_priv = { variable
186 timer8_priv.mapbase = base; in h8300_8timer_init()
188 timer8_priv.rate = clk_get_rate(clk) / SCALE; in h8300_8timer_init()
189 if (!timer8_priv.rate) { in h8300_8timer_init()
195 timer8_priv.ced.name, &timer8_priv) < 0) { in h8300_8timer_init()
200 clockevents_config_and_register(&timer8_priv.ced, in h8300_8timer_init()
201 timer8_priv.rate, 1, 0x0000ffff); in h8300_8timer_init()