Lines Matching refs:ced

85 	struct clock_event_device ced;  member
98 struct clock_event_device *ced);
101 static inline struct imx_timer *to_imx_timer(struct clock_event_device *ced) in to_imx_timer() argument
103 return container_of(ced, struct imx_timer, ced); in to_imx_timer()
186 struct clock_event_device *ced) in mx1_2_set_next_event() argument
188 struct imx_timer *imxtm = to_imx_timer(ced); in mx1_2_set_next_event()
200 struct clock_event_device *ced) in v2_set_next_event() argument
202 struct imx_timer *imxtm = to_imx_timer(ced); in v2_set_next_event()
214 static int mxc_shutdown(struct clock_event_device *ced) in mxc_shutdown() argument
216 struct imx_timer *imxtm = to_imx_timer(ced); in mxc_shutdown()
245 static int mxc_set_oneshot(struct clock_event_device *ced) in mxc_set_oneshot() argument
247 struct imx_timer *imxtm = to_imx_timer(ced); in mxc_set_oneshot()
259 if (!clockevent_state_oneshot(ced)) { in mxc_set_oneshot()
289 struct clock_event_device *ced = dev_id; in mxc_timer_interrupt() local
290 struct imx_timer *imxtm = to_imx_timer(ced); in mxc_timer_interrupt()
297 ced->event_handler(ced); in mxc_timer_interrupt()
304 struct clock_event_device *ced = &imxtm->ced; in mxc_clockevent_init() local
307 ced->name = "mxc_timer1"; in mxc_clockevent_init()
308 ced->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_DYNIRQ; in mxc_clockevent_init()
309 ced->set_state_shutdown = mxc_shutdown; in mxc_clockevent_init()
310 ced->set_state_oneshot = mxc_set_oneshot; in mxc_clockevent_init()
311 ced->tick_resume = mxc_shutdown; in mxc_clockevent_init()
312 ced->set_next_event = imxtm->gpt->set_next_event; in mxc_clockevent_init()
313 ced->rating = 200; in mxc_clockevent_init()
314 ced->cpumask = cpumask_of(0); in mxc_clockevent_init()
315 ced->irq = imxtm->irq; in mxc_clockevent_init()
316 clockevents_config_and_register(ced, clk_get_rate(imxtm->clk_per), in mxc_clockevent_init()
322 act->dev_id = ced; in mxc_clockevent_init()