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

/linux-4.1.27/drivers/clocksource/
H A Dmxs_timer.c82 static void __iomem *mxs_timrot_base; variable
87 __raw_writel(BM_TIMROT_TIMCTRLn_IRQ_EN, mxs_timrot_base + timrot_irq_disable()
93 __raw_writel(BM_TIMROT_TIMCTRLn_IRQ_EN, mxs_timrot_base + timrot_irq_enable()
99 __raw_writel(BM_TIMROT_TIMCTRLn_IRQ, mxs_timrot_base + timrot_irq_acknowledge()
105 return ~((__raw_readl(mxs_timrot_base + HW_TIMROT_TIMCOUNTn(1)) timrotv1_get_cycles()
113 __raw_writel(evt, mxs_timrot_base + HW_TIMROT_TIMCOUNTn(0)); timrotv1_set_next_event()
122 __raw_writel(evt, mxs_timrot_base + HW_TIMROT_FIXED_COUNTn(0)); timrotv2_set_next_event()
163 mxs_timrot_base + HW_TIMROT_TIMCOUNTn(1)); mxs_set_mode()
166 mxs_timrot_base + HW_TIMROT_FIXED_COUNTn(1)); mxs_set_mode()
227 return ~readl_relaxed(mxs_timrot_base + HW_TIMROT_RUNNING_COUNTn(1)); mxs_read_sched_clock_v2()
237 clocksource_mmio_init(mxs_timrot_base + HW_TIMROT_RUNNING_COUNTn(1), mxs_clocksource_init()
250 mxs_timrot_base = of_iomap(np, 0); mxs_timer_init()
251 WARN_ON(!mxs_timrot_base); mxs_timer_init()
264 stmp_reset_block(mxs_timrot_base + HW_TIMROT_ROTCTRL); mxs_timer_init()
267 timrot_major_version = __raw_readl(mxs_timrot_base + mxs_timer_init()
279 mxs_timrot_base + HW_TIMROT_TIMCTRLn(0)); mxs_timer_init()
286 mxs_timrot_base + HW_TIMROT_TIMCTRLn(1)); mxs_timer_init()
291 mxs_timrot_base + HW_TIMROT_TIMCOUNTn(1)); mxs_timer_init()
294 mxs_timrot_base + HW_TIMROT_FIXED_COUNTn(1)); mxs_timer_init()

Completed in 39 milliseconds