Lines Matching refs:rate
167 static __init void omap_init_mpu_timer(unsigned long rate) in omap_init_mpu_timer() argument
170 omap_mpu_timer_start(0, (rate / HZ) - 1, 1); in omap_init_mpu_timer()
173 clockevents_config_and_register(&clockevent_mpu_timer1, rate, in omap_init_mpu_timer()
189 static void __init omap_init_clocksource(unsigned long rate) in omap_init_clocksource() argument
196 sched_clock_register(omap_mpu_read_sched_clock, 32, rate); in omap_init_clocksource()
198 if (clocksource_mmio_init(&timer->read_tim, "mpu_timer2", rate, in omap_init_clocksource()
206 unsigned long rate; in omap_mpu_timer_init() local
210 rate = clk_get_rate(ck_ref); in omap_mpu_timer_init()
214 rate /= 2; in omap_mpu_timer_init()
216 omap_init_mpu_timer(rate); in omap_mpu_timer_init()
217 omap_init_clocksource(rate); in omap_mpu_timer_init()