Searched refs:TIMER_CTRL_OFF (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/arch/arm/plat-orion/ |
D | time.c | 34 #define TIMER_CTRL_OFF 0x0000 macro 100 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event() 102 writel(u, timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event() 117 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown() 118 writel(u & ~TIMER1_EN, timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown() 148 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_set_periodic() 149 writel(u | TIMER1_EN | TIMER1_RELOAD_EN, timer_base + TIMER_CTRL_OFF); in orion_clkevt_set_periodic() 218 u = readl(timer_base + TIMER_CTRL_OFF); in orion_time_init() 219 writel(u | TIMER0_EN | TIMER0_RELOAD_EN, timer_base + TIMER_CTRL_OFF); in orion_time_init()
|
/linux-4.4.14/drivers/clocksource/ |
D | time-armada-370-xp.c | 53 #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() 236 timer0_ctrl_reg = readl(timer_base + TIMER_CTRL_OFF); in armada_370_xp_timer_suspend() 237 timer0_local_ctrl_reg = readl(local_base + TIMER_CTRL_OFF); in armada_370_xp_timer_suspend() 245 writel(timer0_ctrl_reg, timer_base + TIMER_CTRL_OFF); in armada_370_xp_timer_resume() 246 writel(timer0_local_ctrl_reg, local_base + TIMER_CTRL_OFF); in armada_370_xp_timer_resume() 279 atomic_io_modify(timer_base + TIMER_CTRL_OFF, clr | set, set); in armada_370_xp_timer_common_init() 297 atomic_io_modify(timer_base + TIMER_CTRL_OFF, in armada_370_xp_timer_common_init()
|