Searched refs:timer_clk (Results 1 – 4 of 4) sorted by relevance
87 static int __init epit_clocksource_init(struct clk *timer_clk) in epit_clocksource_init() argument89 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() argument190 clk_get_rate(timer_clk), in epit_clockevent_init()198 struct clk *timer_clk; in epit_timer_init() local200 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()
135 static int __init mxc_clocksource_init(struct clk *timer_clk) in mxc_clocksource_init() argument137 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() argument292 clk_get_rate(timer_clk), in mxc_clockevent_init()
32 timer_clk: timer_clk { label125 clocks = <&timer_clk>;132 clocks = <&timer_clk>;
341 struct clk *timer_clk; in davinci_timer_init() local379 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()