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

/linux-4.4.14/drivers/clocksource/
H A Dmxs_timer.c81 static void __iomem *mxs_timrot_base; variable
86 __raw_writel(BM_TIMROT_TIMCTRLn_IRQ_EN, mxs_timrot_base + timrot_irq_disable()
92 __raw_writel(BM_TIMROT_TIMCTRLn_IRQ_EN, mxs_timrot_base + timrot_irq_enable()
98 __raw_writel(BM_TIMROT_TIMCTRLn_IRQ, mxs_timrot_base + timrot_irq_acknowledge()
104 return ~((__raw_readl(mxs_timrot_base + HW_TIMROT_TIMCOUNTn(1)) timrotv1_get_cycles()
112 __raw_writel(evt, mxs_timrot_base + HW_TIMROT_TIMCOUNTn(0)); timrotv1_set_next_event()
121 __raw_writel(evt, mxs_timrot_base + HW_TIMROT_FIXED_COUNTn(0)); timrotv2_set_next_event()
150 __raw_writel(0xffff, mxs_timrot_base + HW_TIMROT_TIMCOUNTn(1)); mxs_irq_clear()
153 mxs_timrot_base + HW_TIMROT_FIXED_COUNTn(1)); mxs_irq_clear()
211 return ~readl_relaxed(mxs_timrot_base + HW_TIMROT_RUNNING_COUNTn(1)); mxs_read_sched_clock_v2()
221 clocksource_mmio_init(mxs_timrot_base + HW_TIMROT_RUNNING_COUNTn(1), mxs_clocksource_init()
234 mxs_timrot_base = of_iomap(np, 0); mxs_timer_init()
235 WARN_ON(!mxs_timrot_base); mxs_timer_init()
248 stmp_reset_block(mxs_timrot_base + HW_TIMROT_ROTCTRL); mxs_timer_init()
251 timrot_major_version = __raw_readl(mxs_timrot_base + mxs_timer_init()
263 mxs_timrot_base + HW_TIMROT_TIMCTRLn(0)); mxs_timer_init()
270 mxs_timrot_base + HW_TIMROT_TIMCTRLn(1)); mxs_timer_init()
275 mxs_timrot_base + HW_TIMROT_TIMCOUNTn(1)); mxs_timer_init()
278 mxs_timrot_base + HW_TIMROT_FIXED_COUNTn(1)); mxs_timer_init()

Completed in 399 milliseconds