Lines Matching refs:clkevt_base
24 void __iomem *clkevt_base; member
121 ftm_counter_disable(priv->clkevt_base); in ftm_set_next_event()
124 ftm_reset_counter(priv->clkevt_base); in ftm_set_next_event()
132 ftm_writel(delta - 1, priv->clkevt_base + FTM_MOD); in ftm_set_next_event()
134 ftm_counter_enable(priv->clkevt_base); in ftm_set_next_event()
136 ftm_irq_enable(priv->clkevt_base); in ftm_set_next_event()
143 ftm_counter_disable(priv->clkevt_base); in ftm_set_oneshot()
157 ftm_irq_acknowledge(priv->clkevt_base); in ftm_evt_interrupt()
160 ftm_irq_disable(priv->clkevt_base); in ftm_evt_interrupt()
161 ftm_counter_disable(priv->clkevt_base); in ftm_evt_interrupt()
183 ftm_writel(0x00, priv->clkevt_base + FTM_CNTIN); in ftm_clockevent_init()
184 ftm_writel(~0u, priv->clkevt_base + FTM_MOD); in ftm_clockevent_init()
186 ftm_reset_counter(priv->clkevt_base); in ftm_clockevent_init()
202 ftm_counter_enable(priv->clkevt_base); in ftm_clockevent_init()
308 priv->clkevt_base = of_iomap(np, 0); in ftm_timer_init()
309 if (!priv->clkevt_base) { in ftm_timer_init()
350 iounmap(priv->clkevt_base); in ftm_timer_init()