Searched refs:clkevt_base (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/clocksource/ |
D | timer-integrator-ap.c | 53 static void __iomem * clkevt_base; variable 63 writel(1, clkevt_base + TIMER_INTCLR); in integrator_timer_interrupt() 72 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_shutdown() 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() 91 u32 ctrl = readl(clkevt_base + TIMER_CTRL) & ~TIMER_CTRL_ENABLE; in clkevt_set_periodic() 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() [all …]
|
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() 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() [all …]
|
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() 135 __raw_writel(0, clkevt_base + PITTCTRL); in pit_clockevent_init() 136 __raw_writel(PITTFLG_TIF, clkevt_base + PITTFLG); in pit_clockevent_init() 174 clkevt_base = timer_base + PITn_OFFSET(3); in pit_timer_init()
|
D | timer-oxnas-rps.c | 53 void __iomem *clkevt_base; member 64 writel_relaxed(0, rps->clkevt_base + TIMER_CLRINT_REG); in oxnas_rps_timer_irq() 83 writel_relaxed(period, rps->clkevt_base + TIMER_LOAD_REG); in oxnas_rps_timer_config() 84 writel_relaxed(cfg, rps->clkevt_base + TIMER_CTRL_REG); in oxnas_rps_timer_config() 244 rps->clkevt_base = base + TIMER1_REG_OFFSET; in oxnas_rps_timer_init() 248 writel_relaxed(0, rps->clkevt_base + TIMER_CTRL_REG); in oxnas_rps_timer_init() 250 writel_relaxed(0, rps->clkevt_base + TIMER_LOAD_REG); in oxnas_rps_timer_init() 252 writel_relaxed(0, rps->clkevt_base + TIMER_CLRINT_REG); in oxnas_rps_timer_init()
|
D | timer-sp804.c | 107 static void __iomem *clkevt_base; variable 118 writel(1, clkevt_base + TIMER_INTCLR); in sp804_timer_interrupt() 127 writel(0, clkevt_base + TIMER_CTRL); in timer_shutdown() 142 writel(clkevt_reload, clkevt_base + TIMER_LOAD); in sp804_set_periodic() 143 writel(ctrl, clkevt_base + TIMER_CTRL); in sp804_set_periodic() 153 writel(next, clkevt_base + TIMER_LOAD); in sp804_set_next_event() 154 writel(ctrl, clkevt_base + TIMER_CTRL); in sp804_set_next_event() 195 clkevt_base = base; in __sp804_clockevents_init()
|