Lines Matching +full:- +full:clint
1 // SPDX-License-Identifier: GPL-2.0
5 * Most of the M-mode (i.e. NoMMU) RISC-V systems usually have a
6 * CLINT MMIO timer device.
9 #define pr_fmt(fmt) "clint: " fmt
18 #include <linux/io-64-nonatomic-lo-hi.h>
25 #include <asm/clint.h>
32 /* CLINT manages IPI and Timer for RISC-V M-mode */
123 ce->cpumask = cpumask_of(cpu); in clint_timer_starting_cpu()
142 evdev->event_handler(evdev); in clint_timer_interrupt()
155 * Ensure that CLINT device interrupts are either RV_IRQ_TIMER or in clint_timer_init_dt()
170 return -ENODEV; in clint_timer_init_dt()
180 /* If CLINT timer irq not found then fail */ in clint_timer_init_dt()
183 return -ENODEV; in clint_timer_init_dt()
189 return -ENODEV; in clint_timer_init_dt()
216 "clint-timer", &clint_clock_event); in clint_timer_init_dt()
223 "clockevents/clint/timer:starting", in clint_timer_init_dt()