/Linux-v5.4/drivers/clocksource/ |
D | mxs_timer.c | 172 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 …]
|
D | timer-armada-370-xp.c | 80 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()
|
D | ingenic-timer.c | 30 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 …]
|
D | timer-rockchip.c | 130 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()
|
D | dw_apb_timer_of.c | 20 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/ |
D | stm32-dmamux.txt | 36 clocks = <&timer_clk>; 56 clocks = <&timer_clk>; 72 clocks = <&timer_clk>; 80 clocks = <&timer_clk>;
|
D | stm32-mdma.txt | 27 clocks = <&timer_clk>; 87 clocks = <&timer_clk>;
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | nspire.dtsi | 28 timer_clk: timer_clk { label 149 clocks = <&timer_clk>; 156 clocks = <&timer_clk>;
|
/Linux-v5.4/Documentation/devicetree/bindings/timer/ |
D | lsi,zevio-timer.txt | 24 clocks = <&timer_clk>; 32 clocks = <&timer_clk>;
|
/Linux-v5.4/arch/arm/mach-davinci/ |
D | time.c | 336 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/ |
D | owl-s500.c | 182 static OWL_GATE(timer_clk, "timer_clk", "hosc", CMU_DEVCLKEN1, 27, 0, 0); 387 &timer_clk.common, 442 [CLK_TIMER] = &timer_clk.common.hw,
|
D | owl-s900.c | 218 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/ |
D | dw-apb.txt | 30 clocks = <&timer_clk>, <&timer_pclk>;
|
/Linux-v5.4/Documentation/devicetree/bindings/mfd/ |
D | stm32-lptimer.txt | 27 clocks = <&timer_clk>;
|