Lines Matching refs:ced

44 	struct clock_event_device ced;  member
156 p->ced.event_handler(&p->ced); in em_sti_interrupt()
240 static struct em_sti_priv *ced_to_em_sti(struct clock_event_device *ced) in ced_to_em_sti() argument
242 return container_of(ced, struct em_sti_priv, ced); in ced_to_em_sti()
245 static int em_sti_clock_event_shutdown(struct clock_event_device *ced) in em_sti_clock_event_shutdown() argument
247 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_shutdown()
252 static int em_sti_clock_event_set_oneshot(struct clock_event_device *ced) in em_sti_clock_event_set_oneshot() argument
254 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_set_oneshot()
262 struct clock_event_device *ced) in em_sti_clock_event_next() argument
264 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_next()
276 struct clock_event_device *ced = &p->ced; in em_sti_register_clockevent() local
278 ced->name = dev_name(&p->pdev->dev); in em_sti_register_clockevent()
279 ced->features = CLOCK_EVT_FEAT_ONESHOT; in em_sti_register_clockevent()
280 ced->rating = 200; in em_sti_register_clockevent()
281 ced->cpumask = cpu_possible_mask; in em_sti_register_clockevent()
282 ced->set_next_event = em_sti_clock_event_next; in em_sti_register_clockevent()
283 ced->set_state_shutdown = em_sti_clock_event_shutdown; in em_sti_register_clockevent()
284 ced->set_state_oneshot = em_sti_clock_event_set_oneshot; in em_sti_register_clockevent()
288 clockevents_config_and_register(ced, p->rate, 2, 0xffffffff); in em_sti_register_clockevent()