Home
last modified time | relevance | path

Searched refs:ticks_per_jiffy (Results 1 – 9 of 9) sorted by relevance

/drivers/clocksource/
Dtime-orion.c50 static u32 ticks_per_jiffy; variable
74 writel(ticks_per_jiffy - 1, timer_base + TIMER1_RELOAD); in orion_clkevt_set_periodic()
75 writel(ticks_per_jiffy - 1, timer_base + TIMER1_VAL); in orion_clkevt_set_periodic()
162 ticks_per_jiffy = (clk_get_rate(clk) + HZ/2) / HZ; in orion_timer_init()
Dtime-armada-370-xp.c87 static u32 ticks_per_jiffy; variable
145 writel(ticks_per_jiffy - 1, local_base + TIMER0_RELOAD_OFF); in armada_370_xp_clkevt_set_periodic()
146 writel(ticks_per_jiffy - 1, local_base + TIMER0_VAL_OFF); in armada_370_xp_clkevt_set_periodic()
276 ticks_per_jiffy = (timer_clk + HZ / 2) / HZ; in armada_370_xp_timer_common_init()
Dsun4i_timer.c43 static u32 ticks_per_jiffy; variable
100 sun4i_clkevt_time_setup(0, ticks_per_jiffy); in sun4i_clkevt_set_periodic()
207 ticks_per_jiffy = DIV_ROUND_UP(rate, HZ); in sun4i_timer_init()
Dtimer-digicolor.c62 u32 ticks_per_jiffy; member
108 dc_timer_set_count(ce, dt->ticks_per_jiffy); in digicolor_clkevt_set_periodic()
180 dc_timer_dev.ticks_per_jiffy = DIV_ROUND_UP(rate, HZ); in digicolor_timer_init()
Dasm9260_timer.c110 unsigned long ticks_per_jiffy; member
153 writel_relaxed(priv.ticks_per_jiffy, priv.base + HW_MR0); in asm9260_timer_set_periodic()
235 priv.ticks_per_jiffy = DIV_ROUND_CLOSEST(rate, HZ); in asm9260_timer_init()
Dtime-lpc32xx.c47 u32 ticks_per_jiffy; member
128 writel_relaxed(ddata->ticks_per_jiffy, ddata->base + LPC32XX_TIMER_MR0); in lpc32xx_clkevt_periodic()
264 lpc32xx_clk_event_ddata.ticks_per_jiffy = DIV_ROUND_CLOSEST(rate, HZ); in lpc32xx_clockevent_init()
Dtimer-u300.c187 unsigned ticks_per_jiffy; member
251 writel(cevdata->ticks_per_jiffy, in u300_set_periodic()
395 u300_clockevent_data.ticks_per_jiffy = DIV_ROUND_CLOSEST(rate, HZ); in u300_timer_init_of()
Dtimer-sun5i.c44 u32 ticks_per_jiffy; member
128 sun5i_clkevt_time_setup(ce, 0, ce->timer.ticks_per_jiffy); in sun5i_clkevt_set_periodic()
252 ce->timer.ticks_per_jiffy = DIV_ROUND_UP(ndata->new_rate, HZ); in sun5i_rate_cb_clkevt()
279 ce->timer.ticks_per_jiffy = DIV_ROUND_UP(rate, HZ); in sun5i_setup_clockevent()
Dmtk_timer.c61 u32 ticks_per_jiffy; member
126 mtk_clkevt_time_setup(evt, evt->ticks_per_jiffy, GPT_CLK_EVT); in mtk_clkevt_set_periodic()
235 evt->ticks_per_jiffy = DIV_ROUND_UP(rate, HZ); in mtk_timer_init()