Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Dtimer-orion.c63 static u32 ticks_per_jiffy; variable
87 writel(ticks_per_jiffy - 1, timer_base + TIMER1_RELOAD); in orion_clkevt_set_periodic()
88 writel(ticks_per_jiffy - 1, timer_base + TIMER1_VAL); in orion_clkevt_set_periodic()
174 ticks_per_jiffy = (clk_get_rate(clk) + HZ/2) / HZ; in orion_timer_init()
H A Dtimer-armada-370-xp.c84 static u32 ticks_per_jiffy; variable
142 writel(ticks_per_jiffy - 1, local_base + TIMER0_RELOAD_OFF); in armada_370_xp_clkevt_set_periodic()
143 writel(ticks_per_jiffy - 1, local_base + TIMER0_VAL_OFF); in armada_370_xp_clkevt_set_periodic()
273 ticks_per_jiffy = (timer_clk + HZ / 2) / HZ; in armada_370_xp_timer_common_init()
H A Dtimer-digicolor.c60 u32 ticks_per_jiffy; member
106 dc_timer_set_count(ce, dt->ticks_per_jiffy); in digicolor_clkevt_set_periodic()
178 dc_timer_dev.ticks_per_jiffy = DIV_ROUND_UP(rate, HZ); in digicolor_timer_init()
H A Dasm9260_timer.c106 unsigned long ticks_per_jiffy; member
149 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()
H A Dtimer-loongson1-pwm.c35 unsigned long ticks_per_jiffy; member
203 return (u64)(jifs * ls1x_cs->ticks_per_jiffy) + count; in ls1x_clocksource_read()
229 ls1x_clocksource.ticks_per_jiffy = timer_of_period(to); in ls1x_pwm_clocksource_init()
H A Dtimer-lpc32xx.c43 u32 ticks_per_jiffy; member
124 writel_relaxed(ddata->ticks_per_jiffy, ddata->base + LPC32XX_TIMER_MR0); in lpc32xx_clkevt_periodic()
260 lpc32xx_clk_event_ddata.ticks_per_jiffy = DIV_ROUND_CLOSEST(rate, HZ); in lpc32xx_clockevent_init()
H A Dtimer-sun5i.c40 u32 ticks_per_jiffy; member
114 sun5i_clkevt_time_setup(ce, 0, ce->ticks_per_jiffy); in sun5i_clkevt_set_periodic()
162 cs->ticks_per_jiffy = DIV_ROUND_UP(ndata->new_rate, HZ); in sun5i_rate_cb()
277 st->ticks_per_jiffy = DIV_ROUND_UP(rate, HZ); in sun5i_timer_probe()
/openbmc/linux/arch/arm/plat-orion/
H A Dtime.c57 static u32 ticks_per_jiffy; variable
141 writel(ticks_per_jiffy - 1, timer_base + TIMER1_RELOAD_OFF); in orion_clkevt_set_periodic()
142 writel(ticks_per_jiffy - 1, timer_base + TIMER1_VAL_OFF); in orion_clkevt_set_periodic()
207 ticks_per_jiffy = (tclk + HZ/2) / HZ; in orion_time_init()
/openbmc/linux/arch/arm/lib/
H A Ddelay.c56 loops *= arm_delay_ops.ticks_per_jiffy; in __timer_const_udelay()
87 arm_delay_ops.ticks_per_jiffy = lpj_fine; in register_current_timer_delay()
/openbmc/linux/arch/arm/include/asm/
H A Ddelay.h55 unsigned long ticks_per_jiffy; member