Searched refs:TIMER_CTRL (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/clocksource/ |
A D | timer-integrator-ap.c | 39 writel(ctrl, base + TIMER_CTRL); in integrator_clocksource_init() 75 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_shutdown() 81 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & in clkevt_set_oneshot() 85 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_oneshot() 94 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic() 99 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic() 105 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in clkevt_set_next_event() 107 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event() 109 writel(ctrl | TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event() 143 writel(ctrl, clkevt_base + TIMER_CTRL); in integrator_clockevent_init() [all …]
|
A D | mps2-timer.c | 23 #define TIMER_CTRL 0x0 macro 57 clockevent_mps2_writel(0, ce, TIMER_CTRL); in mps2_timer_shutdown() 65 clockevent_mps2_writel(TIMER_CTRL_IE | TIMER_CTRL_ENABLE, ce, TIMER_CTRL); in mps2_timer_set_next_event() 76 clockevent_mps2_writel(TIMER_CTRL_IE | TIMER_CTRL_ENABLE, ce, TIMER_CTRL); in mps2_timer_set_periodic() 158 writel_relaxed(0, base + TIMER_CTRL); in mps2_clockevent_init() 217 writel_relaxed(0, base + TIMER_CTRL); in mps2_clocksource_init() 223 writel_relaxed(TIMER_CTRL_ENABLE, base + TIMER_CTRL); in mps2_clocksource_init()
|
A D | timer-orion.c | 25 #define TIMER_CTRL 0x00 macro 73 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_next_event() 82 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_shutdown() 92 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_set_periodic() 155 atomic_io_modify(timer_base + TIMER_CTRL, in orion_timer_init()
|
A D | timer-sp.h | 19 #define TIMER_CTRL 0x08 /* ACVR rw */ macro
|
A D | timer-sp804.c | 43 .ctrl = TIMER_CTRL,
|
/linux/drivers/watchdog/ |
A D | orion_wdt.c | 37 #define TIMER_CTRL 0x0000 macro 114 atomic_io_modify(dev->reg + TIMER_CTRL, in armada370_wdt_clock_init() 135 atomic_io_modify(dev->reg + TIMER_CTRL, in armada375_wdt_clock_init() 154 atomic_io_modify(dev->reg + TIMER_CTRL, in armada375_wdt_clock_init() 179 atomic_io_modify(dev->reg + TIMER_CTRL, val, val); in armadaxp_wdt_clock_init() 217 atomic_io_modify(dev->reg + TIMER_CTRL, reg, reg); in armada375_start() 241 atomic_io_modify(dev->reg + TIMER_CTRL, dev->data->wdt_enable_bit, in armada370_start() 260 atomic_io_modify(dev->reg + TIMER_CTRL, dev->data->wdt_enable_bit, in orion_start() 307 atomic_io_modify(dev->reg + TIMER_CTRL, mask, 0); in armada375_stop() 340 running = readl(dev->reg + TIMER_CTRL) & dev->data->wdt_enable_bit; in orion_enabled() [all …]
|
Completed in 10 milliseconds