Searched refs:ticks_per_jiffy (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/clocksource/ |
H A D | timer-orion.c | 63 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 D | timer-armada-370-xp.c | 84 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 D | timer-digicolor.c | 60 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 D | asm9260_timer.c | 106 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 D | timer-loongson1-pwm.c | 35 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 D | timer-lpc32xx.c | 43 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 D | timer-sun5i.c | 40 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 D | time.c | 57 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 D | delay.c | 56 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 D | delay.h | 55 unsigned long ticks_per_jiffy; member
|