Home
last modified time | relevance | path

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

1234

/linux-6.6.21/arch/powerpc/boot/
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,
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 …]
/linux-6.6.21/arch/arm64/boot/dts/socionext/
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 …]
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 …]
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 …]
/linux-6.6.21/arch/arm/boot/dts/socionext/
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 …]
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 …]
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 …]
Duniphier-ld4.dtsi302 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
316 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
330 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
402 sys_clk: clock-controller { label
424 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
/linux-6.6.21/drivers/media/rc/img-ir/
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()
/linux-6.6.21/arch/arm/mach-omap2/
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()
Dvoltage.c252 sys_ck = clk_get(NULL, voltdm->sys_clk.name); in omap_voltage_late_init()
257 voltdm->sys_clk.rate = clk_get_rate(sys_ck); in omap_voltage_late_init()
258 WARN_ON(!voltdm->sys_clk.rate); in omap_voltage_late_init()
/linux-6.6.21/drivers/clocksource/
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()
/linux-6.6.21/drivers/mmc/host/
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()
/linux-6.6.21/Documentation/devicetree/bindings/soc/socionext/
Dsocionext,uniphier-dwc3-glue.yaml72 clocks = <&sys_clk 14>;
81 clocks = <&sys_clk 14>;
91 clocks = <&sys_clk 14>, <&sys_clk 16>;
101 clocks = <&sys_clk 14>, <&sys_clk 18>;
Dsocionext,uniphier-ahci-glue.yaml62 clocks = <&sys_clk 28>;
72 clocks = <&sys_clk 28>, <&sys_clk 30>;
/linux-6.6.21/drivers/cpufreq/
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()
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-histb.c56 struct clk *sys_clk; member
212 clk_disable_unprepare(hipcie->sys_clk); in histb_pcie_host_disable()
247 ret = clk_prepare_enable(hipcie->sys_clk); in histb_pcie_host_enable()
279 clk_disable_unprepare(hipcie->sys_clk); in histb_pcie_host_enable()
363 hipcie->sys_clk = devm_clk_get(dev, "sys"); in histb_pcie_probe()
364 if (IS_ERR(hipcie->sys_clk)) { in histb_pcie_probe()
366 return PTR_ERR(hipcie->sys_clk); in histb_pcie_probe()
/linux-6.6.21/drivers/pwm/
Dpwm-img.c65 struct clk *sys_clk; member
232 clk_disable_unprepare(imgchip->sys_clk); in img_pwm_runtime_suspend()
242 ret = clk_prepare_enable(imgchip->sys_clk); in img_pwm_runtime_resume()
251 clk_disable_unprepare(imgchip->sys_clk); in img_pwm_runtime_resume()
286 imgchip->sys_clk = devm_clk_get(&pdev->dev, "sys"); in img_pwm_probe()
287 if (IS_ERR(imgchip->sys_clk)) { in img_pwm_probe()
289 return PTR_ERR(imgchip->sys_clk); in img_pwm_probe()
/linux-6.6.21/drivers/phy/ralink/
Dphy-mt7621-pci.c80 struct clk *sys_clk; member
122 clk_rate = clk_get_rate(phy->sys_clk); in mt7621_set_phy_for_ssc()
328 phy->sys_clk = devm_clk_get(dev, NULL); in mt7621_pci_phy_probe()
329 if (IS_ERR(phy->sys_clk)) { in mt7621_pci_phy_probe()
331 return PTR_ERR(phy->sys_clk); in mt7621_pci_phy_probe()
/linux-6.6.21/drivers/mfd/
Datmel-hlcdc.c111 hlcdc->sys_clk = devm_clk_get(dev, "sys_clk"); in atmel_hlcdc_probe()
112 if (IS_ERR(hlcdc->sys_clk)) { in atmel_hlcdc_probe()
114 return PTR_ERR(hlcdc->sys_clk); in atmel_hlcdc_probe()
/linux-6.6.21/drivers/spi/
Dspi-img-spfi.c96 struct clk *sys_clk; member
560 spfi->sys_clk = devm_clk_get(spfi->dev, "sys"); in img_spfi_probe()
561 if (IS_ERR(spfi->sys_clk)) { in img_spfi_probe()
562 ret = PTR_ERR(spfi->sys_clk); in img_spfi_probe()
571 ret = clk_prepare_enable(spfi->sys_clk); in img_spfi_probe()
661 clk_disable_unprepare(spfi->sys_clk); in img_spfi_probe()
681 clk_disable_unprepare(spfi->sys_clk); in img_spfi_remove()
692 clk_disable_unprepare(spfi->sys_clk); in img_spfi_runtime_suspend()
703 ret = clk_prepare_enable(spfi->sys_clk); in img_spfi_runtime_resume()
708 clk_disable_unprepare(spfi->sys_clk); in img_spfi_runtime_resume()
Dspi-pic32-sqi.c140 struct clk *sys_clk; member
596 sqi->sys_clk = devm_clk_get(&pdev->dev, "reg_ck"); in pic32_sqi_probe()
597 if (IS_ERR(sqi->sys_clk)) { in pic32_sqi_probe()
598 ret = PTR_ERR(sqi->sys_clk); in pic32_sqi_probe()
610 ret = clk_prepare_enable(sqi->sys_clk); in pic32_sqi_probe()
619 clk_disable_unprepare(sqi->sys_clk); in pic32_sqi_probe()
674 clk_disable_unprepare(sqi->sys_clk); in pic32_sqi_probe()
691 clk_disable_unprepare(sqi->sys_clk); in pic32_sqi_remove()
/linux-6.6.21/drivers/watchdog/
Dimgpdc_wdt.c85 struct clk *sys_clk; member
194 pdc_wdt->sys_clk = devm_clk_get_enabled(dev, "sys"); in pdc_wdt_probe()
195 if (IS_ERR(pdc_wdt->sys_clk)) { in pdc_wdt_probe()
197 return PTR_ERR(pdc_wdt->sys_clk); in pdc_wdt_probe()
/linux-6.6.21/drivers/media/platform/cadence/
Dcdns-csi2rx.c75 struct clk *sys_clk; member
210 ret = clk_prepare_enable(csi2rx->sys_clk); in csi2rx_start()
230 clk_disable_unprepare(csi2rx->sys_clk); in csi2rx_start()
249 clk_disable_unprepare(csi2rx->sys_clk); in csi2rx_stop()
357 csi2rx->sys_clk = devm_clk_get(&pdev->dev, "sys_clk"); in csi2rx_get_resources()
358 if (IS_ERR(csi2rx->sys_clk)) { in csi2rx_get_resources()
360 return PTR_ERR(csi2rx->sys_clk); in csi2rx_get_resources()

1234