Searched refs:clkevt_base (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/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() 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()
|
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()
|