Home
last modified time | relevance | path

Searched refs:TIMER_CTRL (Results 1 – 6 of 6) 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()
205 writel(0, base + TIMER_CTRL); in __sp804_clockevents_init()
225 writel(0, base + TIMER_CTRL); in sp804_of_init()
226 writel(0, base + TIMER_2_BASE + TIMER_CTRL); in sp804_of_init()
279 writel(0, base + TIMER_CTRL); in integrator_cp_of_init()
/arch/arm/mach-integrator/
Dintegrator_ap.c318 writel(ctrl, base + TIMER_CTRL); in integrator_clocksource_init()
344 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_mode()
347 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_mode()
354 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_mode()
359 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_mode()
373 unsigned long ctrl = readl(clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
375 writel(ctrl & ~TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
377 writel(ctrl | TIMER_CTRL_ENABLE, clkevt_base + TIMER_CTRL); in clkevt_set_next_event()
413 writel(ctrl, clkevt_base + TIMER_CTRL); in integrator_clockevent_init()
451 writel(0, base + TIMER_CTRL); in ap_of_timer_init()
[all …]
Dintegrator_cp.c476 writel(0, TIMER0_VA_BASE + TIMER_CTRL); in cp_timer_init()
477 writel(0, TIMER1_VA_BASE + TIMER_CTRL); in cp_timer_init()
478 writel(0, TIMER2_VA_BASE + TIMER_CTRL); in cp_timer_init()
/arch/arm/include/asm/hardware/
Darm_timer.h20 #define TIMER_CTRL 0x08 /* ACVR rw */ macro
/arch/arm/mach-realview/
Dcore.c361 writel(0, timer0_va_base + TIMER_CTRL); in realview_timer_init()
362 writel(0, timer1_va_base + TIMER_CTRL); in realview_timer_init()
363 writel(0, timer2_va_base + TIMER_CTRL); in realview_timer_init()
364 writel(0, timer3_va_base + TIMER_CTRL); in realview_timer_init()
/arch/arm/mach-versatile/
Dcore.c805 writel(0, TIMER0_VA_BASE + TIMER_CTRL); in versatile_timer_init()
806 writel(0, TIMER1_VA_BASE + TIMER_CTRL); in versatile_timer_init()
807 writel(0, TIMER2_VA_BASE + TIMER_CTRL); in versatile_timer_init()
808 writel(0, TIMER3_VA_BASE + TIMER_CTRL); in versatile_timer_init()