Home
last modified time | relevance | path

Searched refs:TIMER_CTRL (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/clocksource/
Dtimer-integrator-ap.c52 writel(ctrl, base + TIMER_CTRL); in integrator_clocksource_init()
85 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_shutdown()
88 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_shutdown()
94 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & in clkevt_set_oneshot()
98 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_oneshot()
104 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_periodic()
107 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic()
112 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic()
118 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
120 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
[all …]
Dtimer-sp804.c78 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()
140 writel(0, clkevt_base + TIMER_CTRL); in timer_shutdown()
156 writel(ctrl, clkevt_base + TIMER_CTRL); in sp804_set_periodic()
167 writel(ctrl, clkevt_base + TIMER_CTRL); in sp804_set_next_event()
214 writel(0, base + TIMER_CTRL); in __sp804_clockevents_init()
236 writel(0, base + TIMER_CTRL); in sp804_of_init()
237 writel(0, base + TIMER_2_BASE + TIMER_CTRL); in sp804_of_init()
314 writel(0, base + TIMER_CTRL); in integrator_cp_of_init()
Dmps2-timer.c27 #define TIMER_CTRL 0x0 macro
61 clockevent_mps2_writel(0, ce, TIMER_CTRL); in mps2_timer_shutdown()
69 clockevent_mps2_writel(TIMER_CTRL_IE | TIMER_CTRL_ENABLE, ce, TIMER_CTRL); in mps2_timer_set_next_event()
80 clockevent_mps2_writel(TIMER_CTRL_IE | TIMER_CTRL_ENABLE, ce, TIMER_CTRL); in mps2_timer_set_periodic()
162 writel_relaxed(0, base + TIMER_CTRL); in mps2_clockevent_init()
221 writel_relaxed(0, base + TIMER_CTRL); in mps2_clocksource_init()
227 writel_relaxed(TIMER_CTRL_ENABLE, base + TIMER_CTRL); in mps2_clocksource_init()
Dtime-orion.c25 #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()
160 atomic_io_modify(timer_base + TIMER_CTRL, in orion_timer_init()
Dtimer-sp.h18 #define TIMER_CTRL 0x08 /* ACVR rw */ macro
/Linux-v4.19/drivers/watchdog/
Dorion_wdt.c37 #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 …]