Home
last modified time | relevance | path

Searched refs:TIMER1_BASE (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/arch/arm/mach-gemini/
Dtime.c24 #define TIMER1_BASE GEMINI_TIMER_BASE macro
77 cr = readl(TIMER_COUNT(TIMER1_BASE)); in gemini_timer_set_next_event()
78 writel(cr + cycles, TIMER_MATCH1(TIMER1_BASE)); in gemini_timer_set_next_event()
79 if (readl(TIMER_COUNT(TIMER1_BASE)) - cr > cycles) in gemini_timer_set_next_event()
99 writel(0, TIMER_COUNT(TIMER1_BASE)); in gemini_timer_shutdown()
100 writel(0, TIMER_LOAD(TIMER1_BASE)); in gemini_timer_shutdown()
128 writel(cr, TIMER_COUNT(TIMER1_BASE)); in gemini_timer_set_periodic()
129 writel(cr, TIMER_LOAD(TIMER1_BASE)); in gemini_timer_set_periodic()
230 writel(0, TIMER_COUNT(TIMER1_BASE)); in gemini_timer_init()
231 writel(0, TIMER_LOAD(TIMER1_BASE)); in gemini_timer_init()
[all …]
/linux-4.4.14/drivers/clocksource/
Dmoxart_timer.c25 #define TIMER1_BASE 0x00 macro
70 writel(~0, base + TIMER1_BASE + REG_LOAD); in moxart_set_oneshot()
76 writel(clock_count_per_tick, base + TIMER1_BASE + REG_LOAD); in moxart_set_periodic()
88 u = readl(base + TIMER1_BASE + REG_COUNT) - cycles; in moxart_clkevt_next_event()
89 writel(u, base + TIMER1_BASE + REG_MATCH1); in moxart_clkevt_next_event()
Dtegra20_timer.c43 #define TIMER1_BASE 0x0 macro