Lines Matching +full:de +full:- +full:asserts
1 // SPDX-License-Identifier: GPL-2.0-only
4 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
53 writel_relaxed(TIMERn_CMD_STOP, ddata->base + TIMERn_CMD); in efm32_clock_event_shutdown()
62 writel_relaxed(TIMERn_CMD_STOP, ddata->base + TIMERn_CMD); in efm32_clock_event_set_oneshot()
67 ddata->base + TIMERn_CTRL); in efm32_clock_event_set_oneshot()
76 writel_relaxed(TIMERn_CMD_STOP, ddata->base + TIMERn_CMD); in efm32_clock_event_set_periodic()
77 writel_relaxed(ddata->periodic_top, ddata->base + TIMERn_TOP); in efm32_clock_event_set_periodic()
81 ddata->base + TIMERn_CTRL); in efm32_clock_event_set_periodic()
82 writel_relaxed(TIMERn_CMD_START, ddata->base + TIMERn_CMD); in efm32_clock_event_set_periodic()
92 writel_relaxed(TIMERn_CMD_STOP, ddata->base + TIMERn_CMD); in efm32_clock_event_set_next_event()
93 writel_relaxed(evt, ddata->base + TIMERn_CNT); in efm32_clock_event_set_next_event()
94 writel_relaxed(TIMERn_CMD_START, ddata->base + TIMERn_CMD); in efm32_clock_event_set_next_event()
103 writel_relaxed(TIMERn_IRQ_UF, ddata->base + TIMERn_IFC); in efm32_clock_event_handler()
105 ddata->evtdev.event_handler(&ddata->evtdev); in efm32_clock_event_handler()
146 ret = -EADDRNOTAVAIL; in efm32_clocksource_init()
205 ret = -EADDRNOTAVAIL; in efm32_clockevent_init()
212 ret = -ENOENT; in efm32_clockevent_init()
251 * This function asserts that we have exactly one clocksource and one
278 TIMER_OF_DECLARE(efm32, "energymicro,efm32-timer", efm32_timer_init);