Lines Matching refs:ced

44 	struct clock_event_device ced;  member
159 p->ced.event_handler(&p->ced); in em_sti_interrupt()
248 static struct em_sti_priv *ced_to_em_sti(struct clock_event_device *ced) in ced_to_em_sti() argument
250 return container_of(ced, struct em_sti_priv, ced); in ced_to_em_sti()
253 static int em_sti_clock_event_shutdown(struct clock_event_device *ced) in em_sti_clock_event_shutdown() argument
255 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_shutdown()
260 static int em_sti_clock_event_set_oneshot(struct clock_event_device *ced) in em_sti_clock_event_set_oneshot() argument
262 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_set_oneshot()
266 clockevents_config(&p->ced, p->rate); in em_sti_clock_event_set_oneshot()
271 struct clock_event_device *ced) in em_sti_clock_event_next() argument
273 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_next()
285 struct clock_event_device *ced = &p->ced; in em_sti_register_clockevent() local
287 ced->name = dev_name(&p->pdev->dev); in em_sti_register_clockevent()
288 ced->features = CLOCK_EVT_FEAT_ONESHOT; in em_sti_register_clockevent()
289 ced->rating = 200; in em_sti_register_clockevent()
290 ced->cpumask = cpu_possible_mask; in em_sti_register_clockevent()
291 ced->set_next_event = em_sti_clock_event_next; in em_sti_register_clockevent()
292 ced->set_state_shutdown = em_sti_clock_event_shutdown; in em_sti_register_clockevent()
293 ced->set_state_oneshot = em_sti_clock_event_set_oneshot; in em_sti_register_clockevent()
298 clockevents_config_and_register(ced, 1, 2, 0xffffffff); in em_sti_register_clockevent()