Searched refs:SIRFSOC_TIMER_REG_CNT (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/clocksource/
H A Dtimer-prima2.c46 #define SIRFSOC_TIMER_REG_CNT 11 macro
48 static const u32 sirfsoc_timer_reg_list[SIRFSOC_TIMER_REG_CNT] = {
55 static u32 sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT];
136 for (i = 0; i < SIRFSOC_TIMER_REG_CNT; i++) sirfsoc_clocksource_suspend()
146 for (i = 0; i < SIRFSOC_TIMER_REG_CNT - 2; i++) sirfsoc_clocksource_resume()
150 writel_relaxed(sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT - 2], sirfsoc_clocksource_resume()
152 writel_relaxed(sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT - 1], sirfsoc_clocksource_resume()
H A Dtimer-atlas7.c39 #define SIRFSOC_TIMER_REG_CNT 6 macro
43 static const u32 sirfsoc_timer_reg_list[SIRFSOC_TIMER_REG_CNT] = {
52 static u32 sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT];
138 for (i = 0; i < SIRFSOC_TIMER_REG_CNT; i++) sirfsoc_clocksource_suspend()
146 for (i = 0; i < SIRFSOC_TIMER_REG_CNT - 2; i++) sirfsoc_clocksource_resume()
149 writel_relaxed(sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT - 2], sirfsoc_clocksource_resume()
151 writel_relaxed(sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT - 1], sirfsoc_clocksource_resume()

Completed in 31 milliseconds