Lines Matching full:clockevent
31 static u32 clockevent; variable
223 * clockevent or clocksource depending if the counter_32k is available on the
231 * clock as the clocksource, and any available dmtimer as clockevent.
276 clockevent = pa; in dmtimer_systimer_assign_alwon()
280 clockevent = DMTIMER_INST_DONT_CARE; in dmtimer_systimer_assign_alwon()
298 if (res.start == clocksource || res.start == clockevent) in dmtimer_systimer_find_first_available()
309 /* Selects the best clocksource and clockevent to use */
315 if (clockevent == DMTIMER_INST_DONT_CARE) in dmtimer_systimer_select_best()
316 clockevent = dmtimer_systimer_find_first_available(); in dmtimer_systimer_select_best()
318 pr_debug("%s: counter_32k: %i clocksource: %08x clockevent: %08x\n", in dmtimer_systimer_select_best()
319 __func__, counter_32k, clocksource, clockevent); in dmtimer_systimer_select_best()
427 /* Clockevent */
429 to_dmtimer_clockevent(struct clock_event_device *clockevent) in to_dmtimer_clockevent() argument
431 return container_of(clockevent, struct dmtimer_clockevent, dev); in to_dmtimer_clockevent()
610 cpu_possible_mask, "clockevent", in dmtimer_clockevent_init()
777 /* Unlike for clockevent, legacy code sets suspend only for am4 */ in dmtimer_clocksource_init()
808 * To detect between a clocksource and clockevent, we assume the device tree
817 if (!clocksource && !clockevent) in dmtimer_systimer_init()
820 if (!clocksource && !clockevent) { in dmtimer_systimer_init()
836 if (clockevent == pa) in dmtimer_systimer_init()