Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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.1.9/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>;
543 sys_clk: clock { label
573 clocks = <&sys_clk 6>;
594 clocks = <&sys_clk 7>;
613 clocks = <&sys_clk 28>;
630 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>;
717 sys_clk: clock { label
747 clocks = <&sys_clk 6>;
770 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>,
609 sys_clk: clock { label
630 clocks = <&sys_clk 6>;
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Duniphier-pro4.dtsi353 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
369 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
488 sys_clk: clock { label
507 clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
508 <&sys_clk 10>;
527 clocks = <&sys_clk 12>, <&sys_clk 28>;
546 clocks = <&sys_clk 12>, <&sys_clk 28>;
556 clocks = <&sys_clk 28>, <&sys_clk 12>;
573 clocks = <&sys_clk 12>, <&sys_clk 29>;
592 clocks = <&sys_clk 12>, <&sys_clk 29>;
[all …]
Duniphier-pro5.dtsi23 clocks = <&sys_clk 32>;
33 clocks = <&sys_clk 32>;
463 sys_clk: clock { label
483 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
501 clocks = <&sys_clk 12>, <&sys_clk 14>;
510 clocks = <&sys_clk 12>, <&sys_clk 14>;
520 clocks = <&sys_clk 12>, <&sys_clk 14>;
531 clocks = <&sys_clk 12>, <&sys_clk 14>;
547 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
565 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>;
563 sys_clk: clock { label
589 clocks = <&sys_clk 6>;
608 clocks = <&sys_clk 28>;
625 clocks = <&sys_clk 28>;
635 clocks = <&sys_clk 28>;
[all …]
Duniphier-sld8.dtsi306 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
320 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
334 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
405 sys_clk: clock { label
427 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
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>,
401 sys_clk: clock { label
423 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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()
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.1.9/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.1.9/drivers/watchdog/
Dimgpdc_wdt.c85 struct clk *sys_clk; member
199 pdc_wdt->sys_clk = devm_clk_get(dev, "sys"); in pdc_wdt_probe()
200 if (IS_ERR(pdc_wdt->sys_clk)) { in pdc_wdt_probe()
202 return PTR_ERR(pdc_wdt->sys_clk); in pdc_wdt_probe()
211 ret = clk_prepare_enable(pdc_wdt->sys_clk); in pdc_wdt_probe()
217 pdc_wdt->sys_clk); in pdc_wdt_probe()
/linux-6.1.9/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()
364 hipcie->sys_clk = devm_clk_get(dev, "sys"); in histb_pcie_probe()
365 if (IS_ERR(hipcie->sys_clk)) { in histb_pcie_probe()
367 return PTR_ERR(hipcie->sys_clk); in histb_pcie_probe()
/linux-6.1.9/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.1.9/drivers/phy/ralink/
Dphy-mt7621-pci.c81 struct clk *sys_clk; member
123 clk_rate = clk_get_rate(phy->sys_clk); in mt7621_set_phy_for_ssc()
329 phy->sys_clk = devm_clk_get(dev, NULL); in mt7621_pci_phy_probe()
330 if (IS_ERR(phy->sys_clk)) { in mt7621_pci_phy_probe()
332 return PTR_ERR(phy->sys_clk); in mt7621_pci_phy_probe()
/linux-6.1.9/drivers/spi/
Dspi-img-spfi.c96 struct clk *sys_clk; member
561 spfi->sys_clk = devm_clk_get(spfi->dev, "sys"); in img_spfi_probe()
562 if (IS_ERR(spfi->sys_clk)) { in img_spfi_probe()
563 ret = PTR_ERR(spfi->sys_clk); in img_spfi_probe()
572 ret = clk_prepare_enable(spfi->sys_clk); in img_spfi_probe()
662 clk_disable_unprepare(spfi->sys_clk); in img_spfi_probe()
682 clk_disable_unprepare(spfi->sys_clk); in img_spfi_remove()
695 clk_disable_unprepare(spfi->sys_clk); in img_spfi_runtime_suspend()
706 ret = clk_prepare_enable(spfi->sys_clk); in img_spfi_runtime_resume()
711 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.1.9/drivers/mfd/
Datmel-hlcdc.c113 hlcdc->sys_clk = devm_clk_get(dev, "sys_clk"); in atmel_hlcdc_probe()
114 if (IS_ERR(hlcdc->sys_clk)) { in atmel_hlcdc_probe()
116 return PTR_ERR(hlcdc->sys_clk); in atmel_hlcdc_probe()
/linux-6.1.9/drivers/media/platform/cadence/
Dcdns-csi2rx.c68 struct clk *sys_clk; member
168 ret = clk_prepare_enable(csi2rx->sys_clk); in csi2rx_start()
191 clk_disable_unprepare(csi2rx->sys_clk); in csi2rx_stop()
290 csi2rx->sys_clk = devm_clk_get(&pdev->dev, "sys_clk"); in csi2rx_get_resources()
291 if (IS_ERR(csi2rx->sys_clk)) { in csi2rx_get_resources()
293 return PTR_ERR(csi2rx->sys_clk); in csi2rx_get_resources()
/linux-6.1.9/Documentation/devicetree/bindings/mmc/
Dmicrochip,sdhci-pic32.txt9 - clock-names: Should be "base_clk", "sys_clk".
24 clock-names = "base_clk", "sys_clk";

1234