Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm/plat-orion/
Dtime.c35 #define TIMER_CTRL_OFF 0x0000 macro
101 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event()
103 writel(u, timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event()
118 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown()
119 writel(u & ~TIMER1_EN, timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown()
149 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_set_periodic()
150 writel(u | TIMER1_EN | TIMER1_RELOAD_EN, timer_base + TIMER_CTRL_OFF); in orion_clkevt_set_periodic()
225 u = readl(timer_base + TIMER_CTRL_OFF); in orion_time_init()
226 writel(u | TIMER0_EN | TIMER0_RELOAD_EN, timer_base + TIMER_CTRL_OFF); in orion_time_init()
/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-armada-370-xp.c53 #define TIMER_CTRL_OFF 0x0000 macro
93 writel((readl(local_base + TIMER_CTRL_OFF) & ~clr) | set, in local_timer_ctrl_clrset()
94 local_base + TIMER_CTRL_OFF); in local_timer_ctrl_clrset()
216 timer0_ctrl_reg = readl(timer_base + TIMER_CTRL_OFF); in armada_370_xp_timer_suspend()
217 timer0_local_ctrl_reg = readl(local_base + TIMER_CTRL_OFF); in armada_370_xp_timer_suspend()
225 writel(timer0_ctrl_reg, timer_base + TIMER_CTRL_OFF); in armada_370_xp_timer_resume()
226 writel(timer0_local_ctrl_reg, local_base + TIMER_CTRL_OFF); in armada_370_xp_timer_resume()
267 atomic_io_modify(timer_base + TIMER_CTRL_OFF, clr | set, set); in armada_370_xp_timer_common_init()
285 atomic_io_modify(timer_base + TIMER_CTRL_OFF, in armada_370_xp_timer_common_init()