Searched refs:TIMER_CTRL (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/clocksource/ |
D | timer-integrator-ap.c | 51 writel(ctrl, base + TIMER_CTRL); in integrator_clocksource_init() 80 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_shutdown() 83 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_shutdown() 89 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & in clkevt_set_oneshot() 93 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_oneshot() 99 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_periodic() 102 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic() 107 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic() 113 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in clkevt_set_next_event() 115 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event() [all …]
|
D | timer-sp804.c | 77 writel(0, base + TIMER_CTRL); in sp804_timer_disable() 102 writel(0, base + TIMER_CTRL); in __sp804_clocksource_and_sched_clock_init() 106 base + TIMER_CTRL); in __sp804_clocksource_and_sched_clock_init() 138 writel(0, clkevt_base + TIMER_CTRL); in timer_shutdown() 154 writel(ctrl, clkevt_base + TIMER_CTRL); in sp804_set_periodic() 165 writel(ctrl, clkevt_base + TIMER_CTRL); in sp804_set_next_event() 212 writel(0, base + TIMER_CTRL); in __sp804_clockevents_init() 232 writel(0, base + TIMER_CTRL); in sp804_of_init() 233 writel(0, base + TIMER_2_BASE + TIMER_CTRL); in sp804_of_init() 290 writel(0, base + TIMER_CTRL); in integrator_cp_of_init()
|
D | time-orion.c | 24 #define TIMER_CTRL 0x00 macro 57 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_next_event() 66 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_shutdown() 76 atomic_io_modify(timer_base + TIMER_CTRL, in orion_clkevt_set_periodic() 130 atomic_io_modify(timer_base + TIMER_CTRL, in orion_timer_init()
|
D | timer-sp.h | 17 #define TIMER_CTRL 0x08 /* ACVR rw */ macro
|
/linux-4.4.14/drivers/watchdog/ |
D | orion_wdt.c | 37 #define TIMER_CTRL 0x0000 macro 109 atomic_io_modify(dev->reg + TIMER_CTRL, in armada370_wdt_clock_init() 130 atomic_io_modify(dev->reg + TIMER_CTRL, in armada375_wdt_clock_init() 149 atomic_io_modify(dev->reg + TIMER_CTRL, in armada375_wdt_clock_init() 172 atomic_io_modify(dev->reg + TIMER_CTRL, in armadaxp_wdt_clock_init() 202 atomic_io_modify(dev->reg + TIMER_CTRL, dev->data->wdt_enable_bit, in armada375_start() 227 atomic_io_modify(dev->reg + TIMER_CTRL, dev->data->wdt_enable_bit, in armada370_start() 246 atomic_io_modify(dev->reg + TIMER_CTRL, dev->data->wdt_enable_bit, in orion_start() 272 atomic_io_modify(dev->reg + TIMER_CTRL, dev->data->wdt_enable_bit, 0); in orion_stop() 290 atomic_io_modify(dev->reg + TIMER_CTRL, dev->data->wdt_enable_bit, 0); in armada375_stop() [all …]
|