Home
last modified time | relevance | path

Searched refs:ced (Results 1 – 13 of 13) sorted by relevance

/drivers/clocksource/
A Djcore-pit.c33 struct clock_event_device ced; member
78 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_state_shutdown()
85 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_state_oneshot()
92 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_state_periodic()
98 struct clock_event_device *ced) in jcore_pit_set_next_event() argument
100 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_next_event()
128 disable_percpu_irq(pit->ced.irq); in jcore_pit_local_teardown()
140 pit->ced.event_handler(&pit->ced); in jcore_timer_interrupt()
236 pit->ced.name = "jcore_pit"; in jcore_pit_init()
241 pit->ced.rating = 400; in jcore_pit_init()
[all …]
A Drenesas-ostm.c86 struct clock_event_device *ced) in ostm_clock_event_next() argument
88 struct timer_of *to = to_timer_of(ced); in ostm_clock_event_next()
101 struct timer_of *to = to_timer_of(ced); in ostm_shutdown()
111 if (clockevent_state_oneshot(ced) || clockevent_state_periodic(ced)) in ostm_set_periodic()
134 if (clockevent_state_oneshot(ced)) in ostm_timer_interrupt()
135 ostm_timer_stop(to_timer_of(ced)); in ostm_timer_interrupt()
138 if (ced->event_handler) in ostm_timer_interrupt()
139 ced->event_handler(ced); in ostm_timer_interrupt()
153 ced->shift = 32; in ostm_init_clkevt()
154 ced->rating = 300; in ostm_init_clkevt()
[all …]
A Dtimer-nxp-stm.c60 struct clock_event_device ced; member
89 return container_of(ced, struct stm_timer, ced); in ced_to_stm()
241 struct stm_timer *stm_timer = ced_to_stm(ced); in nxp_stm_clockevent_shutdown()
250 struct stm_timer *stm_timer = ced_to_stm(ced); in nxp_stm_clockevent_set_next_event()
307 stm_timer->ced.name = name; in nxp_stm_clockevent_per_cpu_init()
314 stm_timer->ced.cpumask = cpumask_of(cpu); in nxp_stm_clockevent_per_cpu_init()
315 stm_timer->ced.rating = 460; in nxp_stm_clockevent_per_cpu_init()
316 stm_timer->ced.irq = irq; in nxp_stm_clockevent_per_cpu_init()
357 struct clock_event_device *ced = &stm_timer->ced; in nxp_stm_module_interrupt() local
381 if (likely(clockevent_state_oneshot(ced))) in nxp_stm_module_interrupt()
[all …]
A Dsh_tmu.c46 struct clock_event_device ced; member
238 if (clockevent_state_oneshot(&ch->ced)) in sh_tmu_interrupt()
244 ch->ced.event_handler(&ch->ced); in sh_tmu_interrupt()
336 return container_of(ced, struct sh_tmu_channel, ced); in ced_to_sh_tmu()
353 if (clockevent_state_oneshot(ced) || clockevent_state_periodic(ced)) in sh_tmu_clock_event_shutdown()
364 if (clockevent_state_oneshot(ced) || clockevent_state_periodic(ced)) in sh_tmu_clock_event_set_state()
384 struct clock_event_device *ced) in sh_tmu_clock_event_next() argument
408 struct clock_event_device *ced = &ch->ced; in sh_tmu_register_clockevent() local
411 ced->name = name; in sh_tmu_register_clockevent()
414 ced->rating = 200; in sh_tmu_register_clockevent()
[all …]
A Dtimer-imx-gpt.c74 struct clock_event_device ced; member
86 struct clock_event_device *ced);
91 return container_of(ced, struct imx_timer, ced); in to_imx_timer()
230 if (!clockevent_state_oneshot(ced)) { in mxc_set_oneshot()
266 ced->event_handler(ced); in mxc_timer_interrupt()
273 struct clock_event_device *ced = &imxtm->ced; in mxc_clockevent_init() local
275 ced->name = "mxc_timer1"; in mxc_clockevent_init()
279 ced->tick_resume = mxc_shutdown; in mxc_clockevent_init()
281 ced->rating = 200; in mxc_clockevent_init()
282 ced->cpumask = cpumask_of(0); in mxc_clockevent_init()
[all …]
A Dsh_mtu2.c38 struct clock_event_device ced; member
266 ch->ced.event_handler(&ch->ced); in sh_mtu2_interrupt()
272 return container_of(ced, struct sh_mtu2_channel, ced); in ced_to_sh_mtu2()
279 if (clockevent_state_periodic(ced)) in sh_mtu2_clock_event_shutdown()
289 if (clockevent_state_periodic(ced)) in sh_mtu2_clock_event_set_periodic()
311 struct clock_event_device *ced = &ch->ced; in sh_mtu2_register_clockevent() local
313 ced->name = name; in sh_mtu2_register_clockevent()
314 ced->features = CLOCK_EVT_FEAT_PERIODIC; in sh_mtu2_register_clockevent()
315 ced->rating = 200; in sh_mtu2_register_clockevent()
316 ced->cpumask = cpu_possible_mask; in sh_mtu2_register_clockevent()
[all …]
A Ddw_apb_timer.c238 &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()
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()
[all …]
A Dem_sti.c32 struct clock_event_device ced; member
144 p->ced.event_handler(&p->ced); in em_sti_interrupt()
230 return container_of(ced, struct em_sti_priv, ced); in ced_to_em_sti()
235 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_shutdown()
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
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()
[all …]
A Dsh_cmt.c105 struct clock_event_device ced; member
556 ch->ced.event_handler(&ch->ced); in sh_cmt_interrupt()
738 return container_of(ced, struct sh_cmt_channel, ced); in ced_to_sh_cmt()
765 if (clockevent_state_oneshot(ced) || clockevent_state_periodic(ced)) in sh_cmt_clock_event_set_state()
823 struct clock_event_device *ced = &ch->ced; in sh_cmt_register_clockevent() local
840 ced->name = name; in sh_cmt_register_clockevent()
843 ced->rating = 125; in sh_cmt_register_clockevent()
853 ced->shift = 32; in sh_cmt_register_clockevent()
854 ced->mult = div_sc(ch->cmt->rate, NSEC_PER_SEC, ced->shift); in sh_cmt_register_clockevent()
855 ced->max_delta_ns = clockevent_delta2ns(ch->max_match_value, ced); in sh_cmt_register_clockevent()
[all …]
A Dnumachip.c30 static int numachip2_set_next_event(unsigned long delta, struct clock_event_device *ced) in numachip2_set_next_event() argument
52 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); in numachip_timer_interrupt() local
54 ced->event_handler(ced); in numachip_timer_interrupt()
60 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); in numachip_timer_each() local
67 *ced = numachip2_clockevent; in numachip_timer_each()
68 ced->cpumask = cpumask_of(smp_processor_id()); in numachip_timer_each()
69 clockevents_register_device(ced); in numachip_timer_each()
A Dtimer-goldfish.c14 struct clock_event_device ced; member
19 static struct goldfish_timer *ced_to_gf(struct clock_event_device *ced) in ced_to_gf() argument
21 return container_of(ced, struct goldfish_timer, ced); in ced_to_gf()
90 struct clock_event_device *evt = &timerdrv->ced; in goldfish_timer_irq()
111 timerdrv->ced = (struct clock_event_device){ in goldfish_timer_init()
149 clockevents_config_and_register(&timerdrv->ced, NSEC_PER_SEC, in goldfish_timer_init()
A Ddw_apb_timer_of.c88 struct dw_apb_clock_event_device *ced; in add_clockevent() local
100 ced = dw_apb_clockevent_init(-1, event_timer->name, 300, iobase, irq, in add_clockevent()
102 if (!ced) in add_clockevent()
105 dw_apb_clockevent_register(ced); in add_clockevent()
/drivers/char/hw_random/
A Dstm32-rng.c81 bool ced; member
311 if (priv->ced) in stm32_rng_init()
341 if (priv->ced) in stm32_rng_init()
554 priv->ced = of_property_read_bool(np, "clock-error-detect"); in stm32_rng_probe()

Completed in 27 milliseconds