Home
last modified time | relevance | path

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

/arch/arm/common/
Dtimer-sp.c96 writel(0, base + TIMER_CTRL); in __sp804_clocksource_and_sched_clock_init()
100 base + TIMER_CTRL); in __sp804_clocksource_and_sched_clock_init()
135 writel(ctrl, clkevt_base + TIMER_CTRL); in sp804_set_mode()
154 writel(ctrl, clkevt_base + TIMER_CTRL); in sp804_set_mode()
160 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in sp804_set_next_event()
163 writel(ctrl | TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in sp804_set_next_event()
206 writel(0, base + TIMER_CTRL); in __sp804_clockevents_init()
226 writel(0, base + TIMER_CTRL); in sp804_of_init()
227 writel(0, base + TIMER_2_BASE + TIMER_CTRL); in sp804_of_init()
284 writel(0, base + TIMER_CTRL); in integrator_cp_of_init()
/arch/arm/mach-integrator/
Dintegrator_ap.c286 writel(ctrl, base + TIMER_CTRL); in integrator_clocksource_init()
312 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_mode()
315 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_mode()
322 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_mode()
327 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_mode()
341 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
343 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
345 writel(ctrl | TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
381 writel(ctrl, clkevt_base + TIMER_CTRL); in integrator_clockevent_init()
420 writel(0, base + TIMER_CTRL); in ap_of_timer_init()
[all …]
/arch/arm/mach-realview/
Dcore.c377 writel(0, timer0_va_base + TIMER_CTRL); in realview_timer_init()
378 writel(0, timer1_va_base + TIMER_CTRL); in realview_timer_init()
379 writel(0, timer2_va_base + TIMER_CTRL); in realview_timer_init()
380 writel(0, timer3_va_base + TIMER_CTRL); in realview_timer_init()
/arch/arm/include/asm/hardware/
Darm_timer.h20 #define TIMER_CTRL 0x08 /* ACVR rw */ macro
/arch/arm/mach-versatile/
Dcore.c838 writel(0, TIMER0_VA_BASE + TIMER_CTRL); in versatile_timer_init()
839 writel(0, TIMER1_VA_BASE + TIMER_CTRL); in versatile_timer_init()
840 writel(0, TIMER2_VA_BASE + TIMER_CTRL); in versatile_timer_init()
841 writel(0, TIMER3_VA_BASE + TIMER_CTRL); in versatile_timer_init()