Searched refs:TIMER_CTRL_OFF (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm/plat-orion/ |
H A D | time.c | 35 #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()
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-armada-370-xp.c | 50 #define TIMER_CTRL_OFF 0x0000 macro 90 writel((readl(local_base + TIMER_CTRL_OFF) & ~clr) | set, in local_timer_ctrl_clrset() 91 local_base + TIMER_CTRL_OFF); in local_timer_ctrl_clrset() 213 timer0_ctrl_reg = readl(timer_base + TIMER_CTRL_OFF); in armada_370_xp_timer_suspend() 214 timer0_local_ctrl_reg = readl(local_base + TIMER_CTRL_OFF); in armada_370_xp_timer_suspend() 222 writel(timer0_ctrl_reg, timer_base + TIMER_CTRL_OFF); in armada_370_xp_timer_resume() 223 writel(timer0_local_ctrl_reg, local_base + TIMER_CTRL_OFF); in armada_370_xp_timer_resume() 264 atomic_io_modify(timer_base + TIMER_CTRL_OFF, clr | set, set); in armada_370_xp_timer_common_init() 282 atomic_io_modify(timer_base + TIMER_CTRL_OFF, in armada_370_xp_timer_common_init()
|