Lines Matching refs:ced
32 struct clock_event_device ced; member
144 p->ced.event_handler(&p->ced); in em_sti_interrupt()
228 static struct em_sti_priv *ced_to_em_sti(struct clock_event_device *ced) in ced_to_em_sti() argument
230 return container_of(ced, struct em_sti_priv, ced); in ced_to_em_sti()
233 static int em_sti_clock_event_shutdown(struct clock_event_device *ced) in em_sti_clock_event_shutdown() argument
235 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_shutdown()
240 static int em_sti_clock_event_set_oneshot(struct clock_event_device *ced) in em_sti_clock_event_set_oneshot() argument
242 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_set_oneshot()
250 struct clock_event_device *ced) in em_sti_clock_event_next() argument
252 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_next()
264 struct clock_event_device *ced = &p->ced; in em_sti_register_clockevent() local
266 ced->name = dev_name(&p->pdev->dev); in em_sti_register_clockevent()
267 ced->features = CLOCK_EVT_FEAT_ONESHOT; in em_sti_register_clockevent()
268 ced->rating = 200; in em_sti_register_clockevent()
269 ced->cpumask = cpu_possible_mask; in em_sti_register_clockevent()
270 ced->set_next_event = em_sti_clock_event_next; in em_sti_register_clockevent()
271 ced->set_state_shutdown = em_sti_clock_event_shutdown; in em_sti_register_clockevent()
272 ced->set_state_oneshot = em_sti_clock_event_set_oneshot; in em_sti_register_clockevent()
276 clockevents_config_and_register(ced, p->rate, 2, 0xffffffff); in em_sti_register_clockevent()