Home
last modified time | relevance | path

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

/linux-6.1.9/arch/nios2/kernel/
Dtime.c229 static struct nios2_clockevent_dev nios2_ce = { variable
259 nios2_ce.timer.base = iobase; in nios2_clockevent_init()
260 nios2_ce.timer.freq = freq; in nios2_clockevent_init()
262 nios2_ce.ced.cpumask = cpumask_of(0); in nios2_clockevent_init()
263 nios2_ce.ced.irq = irq; in nios2_clockevent_init()
265 nios2_timer_stop(&nios2_ce.timer); in nios2_clockevent_init()
267 timer_writew(&nios2_ce.timer, 0, ALTERA_TIMER_STATUS_REG); in nios2_clockevent_init()
270 &nios2_ce.ced); in nios2_clockevent_init()
276 clockevents_config_and_register(&nios2_ce.ced, freq, 1, ULONG_MAX); in nios2_clockevent_init()