Home
last modified time | relevance | path

Searched refs:sys_clk (Results 1 – 25 of 114) sorted by relevance

12345

/openbmc/linux/arch/powerpc/boot/
H A D4xx.h19 void ibm405gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
20 void ibm405ep_fixup_clocks(unsigned int sys_clk);
21 void ibm405ex_fixup_clocks(unsigned int sys_clk, unsigned int uart_clk);
22 void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
23 void ibm440ep_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
25 void ibm440gx_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
27 void ibm440spe_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
H A D4xx.c331 void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk) in ibm440gp_fixup_clocks() argument
341 cpu = plb = sys_clk; in ibm440gp_fixup_clocks()
349 cpu = sys_clk * m / CPC0_SYS0_FWDVA(sys0); in ibm440gp_fixup_clocks()
350 plb = sys_clk * m / CPC0_SYS0_FWDVB(sys0); in ibm440gp_fixup_clocks()
359 tb = sys_clk; in ibm440gp_fixup_clocks()
379 (sys_clk + 500000) / 1000000, sys_clk); in ibm440gp_fixup_clocks()
397 static unsigned int __ibm440eplike_fixup_clocks(unsigned int sys_clk, in __ibm440eplike_fixup_clocks() argument
446 vco = sys_clk * m; in __ibm440eplike_fixup_clocks()
453 clk_a = clk_b = sys_clk; in __ibm440eplike_fixup_clocks()
512 void ibm440ep_fixup_clocks(unsigned int sys_clk, in ibm440ep_fixup_clocks() argument
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Duniphier-pxs3.dtsi44 clocks = <&sys_clk 33>;
53 clocks = <&sys_clk 33>;
62 clocks = <&sys_clk 33>;
71 clocks = <&sys_clk 33>;
353 clocks = <&sys_clk 4>;
477 sys_clk: clock { label
500 clocks = <&sys_clk 6>;
521 clocks = <&sys_clk 7>;
543 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
562 clocks = <&sys_clk 12>;
[all …]
H A Duniphier-pxs2.dtsi24 clocks = <&sys_clk 32>;
35 clocks = <&sys_clk 32>;
46 clocks = <&sys_clk 32>;
57 clocks = <&sys_clk 32>;
266 clocks = <&sys_clk 40>;
543 sys_clk: clock { label
569 clocks = <&sys_clk 6>;
591 clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
610 clocks = <&sys_clk 14>;
619 clocks = <&sys_clk 14>;
[all …]
H A Duniphier-pro4.dtsi327 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
343 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
447 sys_clk: clock { label
466 clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
467 <&sys_clk 10>;
489 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
506 clocks = <&sys_clk 12>, <&sys_clk 14>;
516 clocks = <&sys_clk 12>, <&sys_clk 14>;
527 clocks = <&sys_clk 12>, <&sys_clk 14>;
561 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
[all …]
H A Duniphier-ld20.dtsi48 clocks = <&sys_clk 32>;
58 clocks = <&sys_clk 32>;
68 clocks = <&sys_clk 33>;
78 clocks = <&sys_clk 33>;
342 clocks = <&sys_clk 40>;
402 clocks = <&sys_clk 41>, <&sys_clk 42>;
562 clocks = <&sys_clk 4>;
682 sys_clk: clock { label
712 clocks = <&sys_clk 6>;
735 clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
[all …]
H A Duniphier-ld11.dtsi38 clocks = <&sys_clk 33>;
47 clocks = <&sys_clk 33>;
218 clocks = <&sys_clk 40>;
278 clocks = <&sys_clk 41>, <&sys_clk 42>;
433 clocks = <&sys_clk 4>;
453 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
469 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
485 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
581 sys_clk: clock { label
602 clocks = <&sys_clk 6>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/socionext/
H A Duniphier-pxs3.dtsi44 clocks = <&sys_clk 33>;
55 clocks = <&sys_clk 33>;
66 clocks = <&sys_clk 33>;
77 clocks = <&sys_clk 33>;
411 clocks = <&sys_clk 4>;
545 sys_clk: clock-controller { label
575 clocks = <&sys_clk 6>;
596 clocks = <&sys_clk 7>;
615 clocks = <&sys_clk 28>;
633 clocks = <&sys_clk 28>;
[all …]
H A Duniphier-ld20.dtsi47 clocks = <&sys_clk 32>;
58 clocks = <&sys_clk 32>;
69 clocks = <&sys_clk 33>;
80 clocks = <&sys_clk 33>;
369 clocks = <&sys_clk 40>;
429 clocks = <&sys_clk 41>, <&sys_clk 42>;
589 clocks = <&sys_clk 4>;
719 sys_clk: clock-controller { label
749 clocks = <&sys_clk 6>;
772 clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
[all …]
H A Duniphier-ld11.dtsi37 clocks = <&sys_clk 33>;
47 clocks = <&sys_clk 33>;
238 clocks = <&sys_clk 40>;
298 clocks = <&sys_clk 41>, <&sys_clk 42>;
453 clocks = <&sys_clk 4>;
473 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
489 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
505 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
610 sys_clk: clock-controller { label
631 clocks = <&sys_clk 6>;
[all …]
/openbmc/linux/arch/arm/boot/dts/socionext/
H A Duniphier-pro4.dtsi354 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
370 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
490 sys_clk: clock-controller { label
509 clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
510 <&sys_clk 10>;
529 clocks = <&sys_clk 12>, <&sys_clk 28>;
549 clocks = <&sys_clk 12>, <&sys_clk 28>;
559 clocks = <&sys_clk 28>, <&sys_clk 12>;
576 clocks = <&sys_clk 12>, <&sys_clk 29>;
596 clocks = <&sys_clk 12>, <&sys_clk 29>;
[all …]
H A Duniphier-pro5.dtsi23 clocks = <&sys_clk 32>;
33 clocks = <&sys_clk 32>;
464 sys_clk: clock-controller { label
484 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
503 clocks = <&sys_clk 12>, <&sys_clk 14>;
512 clocks = <&sys_clk 12>, <&sys_clk 14>;
522 clocks = <&sys_clk 12>, <&sys_clk 14>;
533 clocks = <&sys_clk 12>, <&sys_clk 14>;
549 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
568 clocks = <&sys_clk 12>, <&sys_clk 15>;
[all …]
H A Duniphier-pxs2.dtsi25 clocks = <&sys_clk 32>;
36 clocks = <&sys_clk 32>;
47 clocks = <&sys_clk 32>;
58 clocks = <&sys_clk 32>;
276 clocks = <&sys_clk 40>;
565 sys_clk: clock-controller { label
591 clocks = <&sys_clk 6>;
610 clocks = <&sys_clk 28>;
628 clocks = <&sys_clk 28>;
638 clocks = <&sys_clk 28>;
[all …]
/openbmc/linux/drivers/media/rc/img-ir/
H A Dimg-ir-core.c106 priv->sys_clk = devm_clk_get(&pdev->dev, "sys"); in img_ir_probe()
107 if (IS_ERR(priv->sys_clk)) in img_ir_probe()
114 if (!IS_ERR(priv->sys_clk)) { in img_ir_probe()
115 error = clk_prepare_enable(priv->sys_clk); in img_ir_probe()
150 if (!IS_ERR(priv->sys_clk)) in img_ir_probe()
151 clk_disable_unprepare(priv->sys_clk); in img_ir_probe()
165 if (!IS_ERR(priv->sys_clk)) in img_ir_remove()
166 clk_disable_unprepare(priv->sys_clk); in img_ir_remove()
/openbmc/linux/arch/arm/mach-omap2/
H A Dtimer.c61 static struct clk *sys_clk; in realtime_counter_init() local
71 sys_clk = clk_get(NULL, "sys_clkin"); in realtime_counter_init()
72 if (IS_ERR(sys_clk)) { in realtime_counter_init()
78 rate = clk_get_rate(sys_clk); in realtime_counter_init()
79 clk_put(sys_clk); in realtime_counter_init()
/openbmc/linux/drivers/clocksource/
H A Dtimer-pistachio.c151 struct clk *sys_clk, *fast_clk; in pistachio_clksrc_of_init() local
175 sys_clk = of_clk_get_by_name(node, "sys"); in pistachio_clksrc_of_init()
176 if (IS_ERR(sys_clk)) { in pistachio_clksrc_of_init()
177 pr_err("clock get failed (%ld)\n", PTR_ERR(sys_clk)); in pistachio_clksrc_of_init()
178 return PTR_ERR(sys_clk); in pistachio_clksrc_of_init()
187 ret = clk_prepare_enable(sys_clk); in pistachio_clksrc_of_init()
196 clk_disable_unprepare(sys_clk); in pistachio_clksrc_of_init()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-pic32.c47 struct clk *sys_clk; member
163 sdhci_pdata->sys_clk = devm_clk_get(&pdev->dev, "sys_clk"); in pic32_sdhci_probe()
164 if (IS_ERR(sdhci_pdata->sys_clk)) { in pic32_sdhci_probe()
165 ret = PTR_ERR(sdhci_pdata->sys_clk); in pic32_sdhci_probe()
170 ret = clk_prepare_enable(sdhci_pdata->sys_clk); in pic32_sdhci_probe()
205 clk_disable_unprepare(sdhci_pdata->sys_clk); in pic32_sdhci_probe()
222 clk_disable_unprepare(sdhci_pdata->sys_clk); in pic32_sdhci_remove()
/openbmc/linux/drivers/cpufreq/
H A Dspear-cpufreq.c78 struct clk *sys_clk; in spear1340_set_cpu_rate() local
81 sys_clk = clk_get_parent(spear_cpufreq.clk); in spear1340_set_cpu_rate()
82 if (IS_ERR(sys_clk)) { in spear1340_set_cpu_rate()
84 return PTR_ERR(sys_clk); in spear1340_set_cpu_rate()
94 ret = clk_set_parent(sys_clk, sys_pclk); in spear1340_set_cpu_rate()
/openbmc/u-boot/arch/arm/mach-at91/
H A Dclock.c55 void at91_system_clk_enable(int sys_clk) in at91_system_clk_enable() argument
59 writel(sys_clk, &pmc->scer); in at91_system_clk_enable()
62 void at91_system_clk_disable(int sys_clk) in at91_system_clk_disable() argument
66 writel(sys_clk, &pmc->scdr); in at91_system_clk_disable()
/openbmc/u-boot/board/freescale/p1022ds/
H A Dspl_minimal.c22 u32 plat_ratio, sys_clk, bus_clk; in board_init_f() local
35 sys_clk = sysclk_tbl[px_spd & PIXIS_SPD_SYSCLK_MASK]; in board_init_f()
37 bus_clk = sys_clk * plat_ratio / 2; in board_init_f()
H A Dspl.c34 u32 plat_ratio, sys_clk, bus_clk; in board_init_f() local
54 sys_clk = sysclk_tbl[px_spd & PIXIS_SPD_SYSCLK_MASK]; in board_init_f()
56 bus_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t4rdb/
H A Dspl.c42 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local
57 sys_clk = get_board_sys_clk(); in board_init_f()
59 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/b4860qds/
H A Dspl.c55 u32 plat_ratio, sys_clk, uart_clk; in board_init_f() local
70 sys_clk = get_board_sys_clk(); in board_init_f()
72 uart_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t208xrdb/
H A Dspl.c36 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local
48 sys_clk = get_board_sys_clk(); in board_init_f()
50 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t104xrdb/
H A Dspl.c38 u32 plat_ratio, sys_clk, uart_clk; in board_init_f() local
78 sys_clk = get_board_sys_clk(); in board_init_f()
80 uart_clk = sys_clk * plat_ratio / 2; in board_init_f()

12345