Home
last modified time | relevance | path

Searched refs:tick_rate (Results 1 – 3 of 3) sorted by relevance

/linux/arch/arm/mach-spear/
H A Dtime.c71 u32 tick_rate; in spear_clocksource_init() local
78 tick_rate = clk_get_rate(gpt_clk); in spear_clocksource_init()
79 tick_rate >>= CTRL_PRESCALER256; in spear_clocksource_init()
89 clocksource_mmio_init(gpt_base + COUNT(CLKSRC), "tmr1", tick_rate, in spear_clocksource_init()
183 u32 tick_rate; in spear_clockevent_init() local
188 tick_rate = clk_get_rate(gpt_clk); in spear_clockevent_init()
189 tick_rate >>= CTRL_PRESCALER16; in spear_clockevent_init()
193 clockevents_config_and_register(&clkevt, tick_rate, 3, 0xfff0); in spear_clockevent_init()
/linux/drivers/clocksource/
H A Dtimer-fttmr010.c101 unsigned int tick_rate; member
222 u32 period = DIV_ROUND_CLOSEST(fttmr010->tick_rate, HZ); in fttmr010_timer_set_periodic()
303 fttmr010->tick_rate = clk_get_rate(clk); in fttmr010_common_init()
361 fttmr010->tick_rate, in fttmr010_common_init()
364 fttmr010->tick_rate); in fttmr010_common_init()
369 fttmr010->tick_rate, in fttmr010_common_init()
372 fttmr010->tick_rate); in fttmr010_common_init()
412 fttmr010->tick_rate, in fttmr010_common_init()
423 fttmr010->delay_timer.freq = fttmr010->tick_rate; in fttmr010_common_init()
H A Dtimer-davinci.c246 unsigned int tick_rate; in davinci_timer_register() local
272 tick_rate = clk_get_rate(clk); in davinci_timer_register()
323 clockevents_config_and_register(&clockevent->dev, tick_rate, in davinci_timer_register()
327 rv = clocksource_register_hz(&davinci_clocksource.dev, tick_rate); in davinci_timer_register()
334 DAVINCI_TIMER_CLKSRC_BITS, tick_rate); in davinci_timer_register()