Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-prima2.c22 #define PRIMA2_CLOCK_FREQ 1000000 macro
177 clockevents_config_and_register(&sirfsoc_clockevent, PRIMA2_CLOCK_FREQ, in sirfsoc_clockevent_init()
203 if (rate < PRIMA2_CLOCK_FREQ || rate % PRIMA2_CLOCK_FREQ) { in sirfsoc_prima2_timer_init()
216 writel_relaxed(rate / PRIMA2_CLOCK_FREQ / 2 - 1, in sirfsoc_prima2_timer_init()
222 ret = clocksource_register_hz(&sirfsoc_clocksource, PRIMA2_CLOCK_FREQ); in sirfsoc_prima2_timer_init()
228 sched_clock_register(sirfsoc_read_sched_clock, 64, PRIMA2_CLOCK_FREQ); in sirfsoc_prima2_timer_init()