Home
last modified time | relevance | path

Searched refs:TIMER0_VAL (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/clocksource/
H A Dtimer-orion.c31 #define TIMER0_VAL 0x14 macro
42 return ~readl(timer_base + TIMER0_VAL); in orion_read_timer()
60 return ~readl(timer_base + TIMER0_VAL); in orion_read_sched_clock()
153 writel(~0, timer_base + TIMER0_VAL); in orion_timer_init()
159 ret = clocksource_mmio_init(timer_base + TIMER0_VAL, in orion_timer_init()
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-orion.c28 #define TIMER0_VAL 0x14 macro
39 return ~readl(timer_base + TIMER0_VAL); in orion_read_timer()
57 return ~readl(timer_base + TIMER0_VAL); in orion_read_sched_clock()
150 writel(~0, timer_base + TIMER0_VAL); in orion_timer_init()
156 ret = clocksource_mmio_init(timer_base + TIMER0_VAL, in orion_timer_init()

Completed in 2 milliseconds