Lines Matching defs:ced
39 struct clock_event_device ced;
49 if (clockevent_state_oneshot(&p->ced))
52 p->ced.event_handler(&p->ced);
98 static inline struct timer8_priv *ced_to_priv(struct clock_event_device *ced)
100 return container_of(ced, struct timer8_priv, ced);
109 static int timer8_clock_event_shutdown(struct clock_event_device *ced)
111 timer8_stop(ced_to_priv(ced));
115 static int timer8_clock_event_periodic(struct clock_event_device *ced)
117 struct timer8_priv *p = ced_to_priv(ced);
119 pr_info("%s: used for periodic clock events\n", ced->name);
126 static int timer8_clock_event_oneshot(struct clock_event_device *ced)
128 struct timer8_priv *p = ced_to_priv(ced);
130 pr_info("%s: used for oneshot clock events\n", ced->name);
138 struct clock_event_device *ced)
140 struct timer8_priv *p = ced_to_priv(ced);
142 BUG_ON(!clockevent_state_oneshot(ced));
149 .ced = {
195 timer8_priv.ced.name, &timer8_priv) < 0) {
200 clockevents_config_and_register(&timer8_priv.ced,