Lines Matching refs:ced

40 	return container_of(evt, struct dw_apb_clock_event_device, ced);  in ced_to_dw_apb_ced()
236 clockevents_calc_mult_shift(&dw_ced->ced, freq, APBT_MIN_PERIOD); in dw_apb_clockevent_init()
237 dw_ced->ced.max_delta_ns = clockevent_delta2ns(0x7fffffff, in dw_apb_clockevent_init()
238 &dw_ced->ced); in dw_apb_clockevent_init()
239 dw_ced->ced.max_delta_ticks = 0x7fffffff; in dw_apb_clockevent_init()
240 dw_ced->ced.min_delta_ns = clockevent_delta2ns(5000, &dw_ced->ced); in dw_apb_clockevent_init()
241 dw_ced->ced.min_delta_ticks = 5000; in dw_apb_clockevent_init()
242 dw_ced->ced.cpumask = cpu < 0 ? cpu_possible_mask : cpumask_of(cpu); in dw_apb_clockevent_init()
243 dw_ced->ced.features = CLOCK_EVT_FEAT_PERIODIC | in dw_apb_clockevent_init()
245 dw_ced->ced.set_state_shutdown = apbt_shutdown; in dw_apb_clockevent_init()
246 dw_ced->ced.set_state_periodic = apbt_set_periodic; in dw_apb_clockevent_init()
247 dw_ced->ced.set_state_oneshot = apbt_set_oneshot; in dw_apb_clockevent_init()
248 dw_ced->ced.set_state_oneshot_stopped = apbt_shutdown; in dw_apb_clockevent_init()
249 dw_ced->ced.tick_resume = apbt_resume; in dw_apb_clockevent_init()
250 dw_ced->ced.set_next_event = apbt_next_event; in dw_apb_clockevent_init()
251 dw_ced->ced.irq = dw_ced->timer.irq; in dw_apb_clockevent_init()
252 dw_ced->ced.rating = rating; in dw_apb_clockevent_init()
253 dw_ced->ced.name = name; in dw_apb_clockevent_init()
258 dw_ced->ced.name, &dw_ced->ced); in dw_apb_clockevent_init()
276 clockevents_register_device(&dw_ced->ced); in dw_apb_clockevent_register()