Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clocksource/
Dmxs_timer.c172 static int __init mxs_clockevent_init(struct clk *timer_clk) in mxs_clockevent_init() argument
178 clk_get_rate(timer_clk), in mxs_clockevent_init()
198 static int __init mxs_clocksource_init(struct clk *timer_clk) in mxs_clocksource_init() argument
200 unsigned int c = clk_get_rate(timer_clk); in mxs_clocksource_init()
215 struct clk *timer_clk; in mxs_timer_init() local
221 timer_clk = of_clk_get(np, 0); in mxs_timer_init()
222 if (IS_ERR(timer_clk)) { in mxs_timer_init()
224 return PTR_ERR(timer_clk); in mxs_timer_init()
227 ret = clk_prepare_enable(timer_clk); in mxs_timer_init()
267 ret = mxs_clocksource_init(timer_clk); in mxs_timer_init()
[all …]
Dtimer-armada-370-xp.c80 static unsigned int timer_clk; variable
197 clockevents_config_and_register(evt, timer_clk, 1, 0xfffffffe); in armada_370_xp_timer_starting_cpu()
276 ticks_per_jiffy = (timer_clk + HZ / 2) / HZ; in armada_370_xp_timer_common_init()
289 armada_370_delay_timer.freq = timer_clk; in armada_370_xp_timer_common_init()
295 sched_clock_register(armada_370_xp_read_sched_clock, 32, timer_clk); in armada_370_xp_timer_common_init()
299 timer_clk, 300, 32, clocksource_mmio_readl_down); in armada_370_xp_timer_common_init()
350 timer_clk = clk_get_rate(clk); in armada_xp_timer_init()
367 timer_clk = clk_get_rate(clk); in armada_375_timer_init()
386 timer_clk = clk_get_rate(clk) / TIMER_DIVIDER; in armada_375_timer_init()
410 timer_clk = clk_get_rate(clk) / TIMER_DIVIDER; in armada_370_timer_init()
Dingenic-timer.c30 struct clk *timer_clk, *cs_clk; member
116 tcu->timer_clk = ingenic_tcu_get_clock(np, channel); in ingenic_tcu_timer_init()
117 if (IS_ERR(tcu->timer_clk)) in ingenic_tcu_timer_init()
118 return PTR_ERR(tcu->timer_clk); in ingenic_tcu_timer_init()
120 err = clk_prepare_enable(tcu->timer_clk); in ingenic_tcu_timer_init()
124 rate = clk_get_rate(tcu->timer_clk); in ingenic_tcu_timer_init()
163 clk_disable_unprepare(tcu->timer_clk); in ingenic_tcu_timer_init()
165 clk_put(tcu->timer_clk); in ingenic_tcu_timer_init()
319 clk_disable(tcu->timer_clk); in ingenic_tcu_suspend()
328 ret = clk_enable(tcu->timer_clk); in ingenic_tcu_resume()
[all …]
Dtimer-rockchip.c130 struct clk *timer_clk; in rk_timer_probe() local
160 timer_clk = of_clk_get_by_name(np, "timer"); in rk_timer_probe()
161 if (IS_ERR(timer_clk)) { in rk_timer_probe()
162 ret = PTR_ERR(timer_clk); in rk_timer_probe()
167 ret = clk_prepare_enable(timer_clk); in rk_timer_probe()
172 timer->clk = timer_clk; in rk_timer_probe()
174 timer->freq = clk_get_rate(timer_clk); in rk_timer_probe()
189 clk_disable_unprepare(timer_clk); in rk_timer_probe()
Ddw_apb_timer_of.c20 struct clk *timer_clk; in timer_get_base_and_rate() local
49 timer_clk = of_clk_get_by_name(np, "timer"); in timer_get_base_and_rate()
50 if (IS_ERR(timer_clk)) in timer_get_base_and_rate()
53 if (!clk_prepare_enable(timer_clk)) { in timer_get_base_and_rate()
54 *rate = clk_get_rate(timer_clk); in timer_get_base_and_rate()
/Linux-v5.4/Documentation/devicetree/bindings/dma/
Dstm32-dmamux.txt36 clocks = <&timer_clk>;
56 clocks = <&timer_clk>;
72 clocks = <&timer_clk>;
80 clocks = <&timer_clk>;
Dstm32-mdma.txt27 clocks = <&timer_clk>;
87 clocks = <&timer_clk>;
/Linux-v5.4/arch/arm/boot/dts/
Dnspire.dtsi28 timer_clk: timer_clk { label
149 clocks = <&timer_clk>;
156 clocks = <&timer_clk>;
/Linux-v5.4/Documentation/devicetree/bindings/timer/
Dlsi,zevio-timer.txt24 clocks = <&timer_clk>;
32 clocks = <&timer_clk>;
/Linux-v5.4/arch/arm/mach-davinci/
Dtime.c336 void __init davinci_timer_init(struct clk *timer_clk) in davinci_timer_init() argument
373 BUG_ON(IS_ERR(timer_clk)); in davinci_timer_init()
374 clk_prepare_enable(timer_clk); in davinci_timer_init()
379 davinci_clock_tick_rate = clk_get_rate(timer_clk); in davinci_timer_init()
/Linux-v5.4/drivers/clk/actions/
Dowl-s500.c182 static OWL_GATE(timer_clk, "timer_clk", "hosc", CMU_DEVCLKEN1, 27, 0, 0);
387 &timer_clk.common,
442 [CLK_TIMER] = &timer_clk.common.hw,
Dowl-s900.c218 static OWL_GATE(timer_clk, "timer_clk", "hosc", CMU_DEVCLKEN1, 27, 0, 0);
526 &timer_clk.common,
619 [CLK_TIMER] = &timer_clk.common.hw,
/Linux-v5.4/Documentation/devicetree/bindings/rtc/
Ddw-apb.txt30 clocks = <&timer_clk>, <&timer_pclk>;
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Dstm32-lptimer.txt27 clocks = <&timer_clk>;