Home
last modified time | relevance | path

Searched refs:timer_clk (Results 1 – 4 of 4) sorted by relevance

/arch/arm/mach-imx/
Depit.c87 static int __init epit_clocksource_init(struct clk *timer_clk) in epit_clocksource_init() argument
89 unsigned int c = clk_get_rate(timer_clk); in epit_clocksource_init()
186 static int __init epit_clockevent_init(struct clk *timer_clk) in epit_clockevent_init() argument
190 clk_get_rate(timer_clk), in epit_clockevent_init()
198 struct clk *timer_clk; in epit_timer_init() local
200 timer_clk = clk_get_sys("imx-epit.0", NULL); in epit_timer_init()
201 if (IS_ERR(timer_clk)) { in epit_timer_init()
206 clk_prepare_enable(timer_clk); in epit_timer_init()
220 epit_clocksource_init(timer_clk); in epit_timer_init()
221 epit_clockevent_init(timer_clk); in epit_timer_init()
Dtime.c135 static int __init mxc_clocksource_init(struct clk *timer_clk) in mxc_clocksource_init() argument
137 unsigned int c = clk_get_rate(timer_clk); in mxc_clocksource_init()
285 static int __init mxc_clockevent_init(struct clk *timer_clk) in mxc_clockevent_init() argument
292 clk_get_rate(timer_clk), in mxc_clockevent_init()
/arch/arm/boot/dts/
Dnspire.dtsi32 timer_clk: timer_clk { label
125 clocks = <&timer_clk>;
132 clocks = <&timer_clk>;
/arch/arm/mach-davinci/
Dtime.c341 struct clk *timer_clk; in davinci_timer_init() local
379 timer_clk = clk_get(NULL, "timer0"); in davinci_timer_init()
380 BUG_ON(IS_ERR(timer_clk)); in davinci_timer_init()
381 clk_prepare_enable(timer_clk); in davinci_timer_init()
386 davinci_clock_tick_rate = clk_get_rate(timer_clk); in davinci_timer_init()