Searched refs:clkevt_base (Results 1 – 3 of 3) sorted by relevance
| /drivers/clocksource/ |
| A D | timer-integrator-ap.c | 53 static void __iomem * clkevt_base; variable 63 writel(1, clkevt_base + TIMER_INTCLR); in integrator_timer_interrupt() 75 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_shutdown() 81 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & in clkevt_set_oneshot() 85 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_oneshot() 94 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic() 97 writel(timer_reload, clkevt_base + TIMER_LOAD); in clkevt_set_periodic() 99 writel(ctrl, clkevt_base + TIMER_CTRL); in clkevt_set_periodic() 108 writel(next, clkevt_base + TIMER_LOAD); in clkevt_set_next_event() 133 clkevt_base = base; in integrator_clockevent_init() [all …]
|
| A D | timer-fsl-ftm.c | 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() 134 ftm_counter_enable(priv->clkevt_base); in ftm_set_next_event() 136 ftm_irq_enable(priv->clkevt_base); in ftm_set_next_event() 160 ftm_irq_disable(priv->clkevt_base); in ftm_evt_interrupt() 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() [all …]
|
| A D | timer-vf-pit.c | 33 static void __iomem *clkevt_base; variable 38 __raw_writel(PITTCTRL_TEN | PITTCTRL_TIE, clkevt_base + PITTCTRL); in pit_timer_enable() 43 __raw_writel(0, clkevt_base + PITTCTRL); in pit_timer_disable() 48 __raw_writel(PITTFLG_TIF, clkevt_base + PITTFLG); in pit_irq_acknowledge() 79 __raw_writel(delta - 1, clkevt_base + PITLDVAL); in pit_set_next_event() 128 __raw_writel(0, clkevt_base + PITTCTRL); in pit_clockevent_init() 129 __raw_writel(PITTFLG_TIF, clkevt_base + PITTFLG); in pit_clockevent_init() 168 clkevt_base = timer_base + PITn_OFFSET(3); in pit_timer_init()
|
Completed in 8 milliseconds