Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/arch/powerpc/boot/
D4xx.h22 void ibm405gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
23 void ibm405ep_fixup_clocks(unsigned int sys_clk);
24 void ibm405ex_fixup_clocks(unsigned int sys_clk, unsigned int uart_clk);
25 void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
26 void ibm440ep_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
28 void ibm440gx_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
30 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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Duniphier-pro5.dtsi21 clocks = <&sys_clk 32>;
31 clocks = <&sys_clk 32>;
457 sys_clk: clock { label
477 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
495 clocks = <&sys_clk 12>, <&sys_clk 14>;
504 clocks = <&sys_clk 12>, <&sys_clk 14>;
514 clocks = <&sys_clk 12>, <&sys_clk 14>;
525 clocks = <&sys_clk 12>, <&sys_clk 14>;
541 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
559 clocks = <&sys_clk 12>, <&sys_clk 15>;
[all …]
Duniphier-pxs2.dtsi24 clocks = <&sys_clk 32>;
35 clocks = <&sys_clk 32>;
46 clocks = <&sys_clk 32>;
57 clocks = <&sys_clk 32>;
272 clocks = <&sys_clk 40>;
557 sys_clk: clock { label
583 clocks = <&sys_clk 6>;
605 clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
624 clocks = <&sys_clk 14>;
633 clocks = <&sys_clk 14>;
[all …]
Duniphier-pro4.dtsi345 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
361 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
473 sys_clk: clock { label
492 clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
493 <&sys_clk 10>;
515 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
532 clocks = <&sys_clk 12>, <&sys_clk 14>;
542 clocks = <&sys_clk 12>, <&sys_clk 14>;
553 clocks = <&sys_clk 12>, <&sys_clk 14>;
568 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
[all …]
Duniphier-ld4.dtsi295 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
309 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
323 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
392 sys_clk: clock { label
414 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
Duniphier-sld8.dtsi299 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
313 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
327 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
396 sys_clk: clock { label
418 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
/kernel/linux/linux-5.10/arch/arm64/boot/dts/socionext/
Duniphier-pxs3.dtsi43 clocks = <&sys_clk 33>;
53 clocks = <&sys_clk 33>;
63 clocks = <&sys_clk 33>;
73 clocks = <&sys_clk 33>;
402 clocks = <&sys_clk 4>;
534 sys_clk: clock { label
564 clocks = <&sys_clk 6>;
585 clocks = <&sys_clk 7>;
607 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
626 clocks = <&sys_clk 12>;
[all …]
Duniphier-ld20.dtsi46 clocks = <&sys_clk 32>;
56 clocks = <&sys_clk 32>;
66 clocks = <&sys_clk 33>;
76 clocks = <&sys_clk 33>;
356 clocks = <&sys_clk 40>;
416 clocks = <&sys_clk 41>, <&sys_clk 42>;
576 clocks = <&sys_clk 4>;
704 sys_clk: clock { label
734 clocks = <&sys_clk 6>;
757 clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
[all …]
Duniphier-ld11.dtsi36 clocks = <&sys_clk 33>;
45 clocks = <&sys_clk 33>;
231 clocks = <&sys_clk 40>;
291 clocks = <&sys_clk 41>, <&sys_clk 42>;
446 clocks = <&sys_clk 4>;
466 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
482 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
498 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
602 sys_clk: clock { label
623 clocks = <&sys_clk 6>;
[all …]
/kernel/linux/linux-5.10/drivers/media/rc/img-ir/
Dimg-ir-core.c108 priv->sys_clk = devm_clk_get(&pdev->dev, "sys"); in img_ir_probe()
109 if (IS_ERR(priv->sys_clk)) in img_ir_probe()
116 if (!IS_ERR(priv->sys_clk)) { in img_ir_probe()
117 error = clk_prepare_enable(priv->sys_clk); in img_ir_probe()
152 if (!IS_ERR(priv->sys_clk)) in img_ir_probe()
153 clk_disable_unprepare(priv->sys_clk); in img_ir_probe()
167 if (!IS_ERR(priv->sys_clk)) in img_ir_remove()
168 clk_disable_unprepare(priv->sys_clk); in img_ir_remove()
/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-pistachio.c153 struct clk *sys_clk, *fast_clk; in pistachio_clksrc_of_init() local
177 sys_clk = of_clk_get_by_name(node, "sys"); in pistachio_clksrc_of_init()
178 if (IS_ERR(sys_clk)) { in pistachio_clksrc_of_init()
179 pr_err("clock get failed (%ld)\n", PTR_ERR(sys_clk)); in pistachio_clksrc_of_init()
180 return PTR_ERR(sys_clk); in pistachio_clksrc_of_init()
189 ret = clk_prepare_enable(sys_clk); in pistachio_clksrc_of_init()
198 clk_disable_unprepare(sys_clk); in pistachio_clksrc_of_init()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-pic32.c47 struct clk *sys_clk; member
166 sdhci_pdata->sys_clk = devm_clk_get(&pdev->dev, "sys_clk"); in pic32_sdhci_probe()
167 if (IS_ERR(sdhci_pdata->sys_clk)) { in pic32_sdhci_probe()
168 ret = PTR_ERR(sdhci_pdata->sys_clk); in pic32_sdhci_probe()
173 ret = clk_prepare_enable(sdhci_pdata->sys_clk); in pic32_sdhci_probe()
212 clk_disable_unprepare(sdhci_pdata->sys_clk); in pic32_sdhci_probe()
229 clk_disable_unprepare(sdhci_pdata->sys_clk); in pic32_sdhci_remove()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-img.c65 struct clk *sys_clk; member
212 clk_disable_unprepare(pwm_chip->sys_clk); in img_pwm_runtime_suspend()
222 ret = clk_prepare_enable(pwm_chip->sys_clk); in img_pwm_runtime_resume()
231 clk_disable_unprepare(pwm_chip->sys_clk); in img_pwm_runtime_resume()
268 pwm->sys_clk = devm_clk_get(&pdev->dev, "sys"); in img_pwm_probe()
269 if (IS_ERR(pwm->sys_clk)) { in img_pwm_probe()
271 return PTR_ERR(pwm->sys_clk); in img_pwm_probe()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-histb.c56 struct clk *sys_clk; member
222 clk_disable_unprepare(hipcie->sys_clk); in histb_pcie_host_disable()
257 ret = clk_prepare_enable(hipcie->sys_clk); in histb_pcie_host_enable()
289 clk_disable_unprepare(hipcie->sys_clk); in histb_pcie_host_enable()
373 hipcie->sys_clk = devm_clk_get(dev, "sys"); in histb_pcie_probe()
374 if (IS_ERR(hipcie->sys_clk)) { in histb_pcie_probe()
376 return PTR_ERR(hipcie->sys_clk); in histb_pcie_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/platform/cadence/
Dcdns-csi2rx.c68 struct clk *sys_clk; member
169 ret = clk_prepare_enable(csi2rx->sys_clk); in csi2rx_start()
192 clk_disable_unprepare(csi2rx->sys_clk); in csi2rx_stop()
292 csi2rx->sys_clk = devm_clk_get(&pdev->dev, "sys_clk"); in csi2rx_get_resources()
293 if (IS_ERR(csi2rx->sys_clk)) { in csi2rx_get_resources()
295 return PTR_ERR(csi2rx->sys_clk); in csi2rx_get_resources()
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_plat.c108 ret = clk_prepare_enable(ssusb->sys_clk); in ssusb_clks_enable()
139 clk_disable_unprepare(ssusb->sys_clk); in ssusb_clks_enable()
149 clk_disable_unprepare(ssusb->sys_clk); in ssusb_clks_disable()
228 ssusb->sys_clk = devm_clk_get(dev, "sys_ck"); in get_ssusb_rscs()
229 if (IS_ERR(ssusb->sys_clk)) { in get_ssusb_rscs()
231 return PTR_ERR(ssusb->sys_clk); in get_ssusb_rscs()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dmicrochip,sdhci-pic32.txt9 - clock-names: Should be "base_clk", "sys_clk".
24 clock-names = "base_clk", "sys_clk";

1234