Home
last modified time | relevance | path

Searched refs:core_clk (Results 1 – 25 of 109) sorted by relevance

12345

/linux-6.12.1/drivers/net/mdio/
Dmdio-mux-bcm-iproc.c56 struct clk *core_clk; member
69 if (md->core_clk) { in mdio_mux_iproc_config()
73 divisor = clk_get_rate(md->core_clk) / MDIO_OPERATING_FREQUENCY; in mdio_mux_iproc_config()
240 md->core_clk = devm_clk_get(&pdev->dev, NULL); in mdio_mux_iproc_probe()
241 if (md->core_clk == ERR_PTR(-ENOENT) || in mdio_mux_iproc_probe()
242 md->core_clk == ERR_PTR(-EINVAL)) in mdio_mux_iproc_probe()
243 md->core_clk = NULL; in mdio_mux_iproc_probe()
244 else if (IS_ERR(md->core_clk)) in mdio_mux_iproc_probe()
245 return PTR_ERR(md->core_clk); in mdio_mux_iproc_probe()
247 rc = clk_prepare_enable(md->core_clk); in mdio_mux_iproc_probe()
[all …]
/linux-6.12.1/arch/arc/boot/dts/
Dskeleton_hs_idu.dtsi21 clocks = <&core_clk>;
27 clocks = <&core_clk>;
33 clocks = <&core_clk>;
39 clocks = <&core_clk>;
48 clocks = <&core_clk>;
54 clocks = <&core_clk>;
Dskeleton_hs.dtsi21 clocks = <&core_clk>;
30 clocks = <&core_clk>;
36 clocks = <&core_clk>;
42 clocks = <&core_clk>;
Dskeleton.dtsi26 clocks = <&core_clk>;
35 clocks = <&core_clk>;
41 clocks = <&core_clk>;
Dhsdk.dts37 clocks = <&core_clk>;
44 clocks = <&core_clk>;
51 clocks = <&core_clk>;
58 clocks = <&core_clk>;
100 clocks = <&core_clk>;
106 clocks = <&core_clk>;
123 core_clk: core-clk@0 { label
134 assigned-clocks = <&core_clk>;
Dnsim_700.dts32 core_clk: core_clk { label
Dvdk_axc003.dtsi24 core_clk: core_clk { label
Dhaps_hs_idu.dts37 core_clk: core_clk { label
/linux-6.12.1/drivers/usb/chipidea/
Dci_hdrc_npcm.c17 struct clk *core_clk; member
50 ci->core_clk = devm_clk_get_optional(dev, NULL); in npcm_udc_probe()
51 if (IS_ERR(ci->core_clk)) in npcm_udc_probe()
52 return PTR_ERR(ci->core_clk); in npcm_udc_probe()
54 ret = clk_prepare_enable(ci->core_clk); in npcm_udc_probe()
79 clk_disable_unprepare(ci->core_clk); in npcm_udc_probe()
89 clk_disable_unprepare(ci->core_clk); in npcm_udc_remove()
Dci_hdrc_msm.c38 struct clk *core_clk; member
199 ci->core_clk = clk = devm_clk_get(&pdev->dev, "core"); in ci_hdrc_msm_probe()
233 ret = clk_prepare_enable(ci->core_clk); in ci_hdrc_msm_probe()
273 clk_disable_unprepare(ci->core_clk); in ci_hdrc_msm_probe()
284 clk_disable_unprepare(ci->core_clk); in ci_hdrc_msm_remove()
/linux-6.12.1/drivers/soc/qcom/
Dice.c49 struct clk *core_clk; member
146 err = clk_prepare_enable(ice->core_clk); in qcom_ice_resume()
159 clk_disable_unprepare(ice->core_clk); in qcom_ice_suspend()
236 engine->core_clk = devm_clk_get_optional_enabled(dev, "ice_core_clk"); in qcom_ice_create()
237 if (!engine->core_clk) in qcom_ice_create()
238 engine->core_clk = devm_clk_get_optional_enabled(dev, "ice"); in qcom_ice_create()
239 if (!engine->core_clk) in qcom_ice_create()
240 engine->core_clk = devm_clk_get_enabled(dev, NULL); in qcom_ice_create()
241 if (IS_ERR(engine->core_clk)) in qcom_ice_create()
242 return ERR_CAST(engine->core_clk); in qcom_ice_create()
Docmem.c59 struct clk *core_clk; member
311 ocmem->core_clk = devm_clk_get(dev, "core"); in ocmem_dev_probe()
312 if (IS_ERR(ocmem->core_clk)) in ocmem_dev_probe()
313 return dev_err_probe(dev, PTR_ERR(ocmem->core_clk), in ocmem_dev_probe()
334 WARN_ON(clk_set_rate(ocmem->core_clk, 1000) < 0); in ocmem_dev_probe()
336 ret = clk_prepare_enable(ocmem->core_clk); in ocmem_dev_probe()
342 clk_disable_unprepare(ocmem->core_clk); in ocmem_dev_probe()
409 clk_disable_unprepare(ocmem->core_clk); in ocmem_dev_probe()
418 clk_disable_unprepare(ocmem->core_clk); in ocmem_dev_remove()
/linux-6.12.1/arch/arm/boot/dts/marvell/
Dorion5x.dtsi28 clocks = <&core_clk 0>;
38 clocks = <&core_clk 0>;
48 clocks = <&core_clk 0>;
58 clocks = <&core_clk 0>;
94 clocks = <&core_clk 0>;
103 clocks = <&core_clk 0>;
112 clocks = <&core_clk 0>;
137 clocks = <&core_clk 0>;
145 clocks = <&core_clk 0>;
Ddove.dtsi185 clocks = <&core_clk 0>;
198 clocks = <&core_clk 0>;
207 clocks = <&core_clk 0>;
216 clocks = <&core_clk 0>;
227 clocks = <&core_clk 0>;
236 clocks = <&core_clk 0>;
247 clocks = <&core_clk 0>;
282 clocks = <&core_clk 0>;
290 clocks = <&core_clk 0>;
482 clocks = <&core_clk 0>;
[all …]
/linux-6.12.1/arch/arm/mach-omap2/
Dclkt2xxx_dpllcore.c54 long long core_clk; in omap2xxx_clk_get_core_rate() local
59 core_clk = omap2_get_dpll_rate(dpll_core_ck); in omap2xxx_clk_get_core_rate()
64 core_clk = 32768; in omap2xxx_clk_get_core_rate()
66 core_clk *= v; in omap2xxx_clk_get_core_rate()
68 return core_clk; in omap2xxx_clk_get_core_rate()
/linux-6.12.1/drivers/nvmem/
Dmeson-mx-efuse.c45 struct clk *core_clk; member
65 err = clk_prepare_enable(efuse->core_clk); in meson_mx_efuse_hw_enable()
85 clk_disable_unprepare(efuse->core_clk); in meson_mx_efuse_hw_disable()
220 efuse->core_clk = devm_clk_get(&pdev->dev, "core"); in meson_mx_efuse_probe()
221 if (IS_ERR(efuse->core_clk)) { in meson_mx_efuse_probe()
223 return PTR_ERR(efuse->core_clk); in meson_mx_efuse_probe()
/linux-6.12.1/drivers/char/hw_random/
Dmeson-rng.c90 struct clk *core_clk; in meson_rng_probe() local
105 core_clk = devm_clk_get_optional_enabled(dev, "core"); in meson_rng_probe()
106 if (IS_ERR(core_clk)) in meson_rng_probe()
107 return dev_err_probe(dev, PTR_ERR(core_clk), in meson_rng_probe()
/linux-6.12.1/drivers/pci/controller/dwc/
Dpcie-intel-gw.c68 struct clk *core_clk; member
213 pcie->core_clk = devm_clk_get(dev, NULL); in intel_pcie_get_resources()
214 if (IS_ERR(pcie->core_clk)) { in intel_pcie_get_resources()
215 ret = PTR_ERR(pcie->core_clk); in intel_pcie_get_resources()
296 ret = clk_prepare_enable(pcie->core_clk); in intel_pcie_host_setup()
328 clk_disable_unprepare(pcie->core_clk); in intel_pcie_host_setup()
340 clk_disable_unprepare(pcie->core_clk); in __intel_pcie_remove()
365 clk_disable_unprepare(pcie->core_clk); in intel_pcie_suspend_noirq()
/linux-6.12.1/drivers/phy/intel/
Dphy-intel-lgm-combo.c88 struct clk *core_clk; member
258 ret = clk_prepare_enable(cbphy->core_clk); in intel_cbphy_iphy_power_on()
264 ret = clk_set_rate(cbphy->core_clk, cbphy->clk_rate); in intel_cbphy_iphy_power_on()
297 clk_disable_unprepare(cbphy->core_clk); in intel_cbphy_iphy_power_on()
323 clk_disable_unprepare(cbphy->core_clk); in intel_cbphy_iphy_power_off()
415 cbphy->core_clk = devm_clk_get(dev, NULL); in intel_cbphy_fwnode_parse()
416 if (IS_ERR(cbphy->core_clk)) in intel_cbphy_fwnode_parse()
417 return dev_err_probe(dev, PTR_ERR(cbphy->core_clk), in intel_cbphy_fwnode_parse()
597 clk_disable_unprepare(cbphy->core_clk); in intel_cbphy_remove()
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_device.c97 struct clk *core_clk; in pvr_device_clk_init() local
101 core_clk = devm_clk_get(drm_dev->dev, "core"); in pvr_device_clk_init()
102 if (IS_ERR(core_clk)) in pvr_device_clk_init()
103 return dev_err_probe(drm_dev->dev, PTR_ERR(core_clk), in pvr_device_clk_init()
116 pvr_dev->core_clk = core_clk; in pvr_device_clk_init()
/linux-6.12.1/drivers/watchdog/
Dstarfive-wdt.c104 struct clk *core_clk; member
154 ret = clk_prepare_enable(wdt->core_clk); in starfive_wdt_enable_clock()
165 clk_disable_unprepare(wdt->core_clk); in starfive_wdt_disable_clock()
177 wdt->core_clk = devm_clk_get(dev, "core"); in starfive_wdt_get_clock()
178 if (IS_ERR(wdt->core_clk)) in starfive_wdt_get_clock()
179 return dev_err_probe(dev, PTR_ERR(wdt->core_clk), "failed to get core clock\n"); in starfive_wdt_get_clock()
469 wdt->freq = clk_get_rate(wdt->core_clk); in starfive_wdt_probe()
/linux-6.12.1/Documentation/devicetree/bindings/arm/marvell/
Dkirkwood.txt25 clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
/linux-6.12.1/Documentation/devicetree/bindings/timer/
Dsnps,arc-timer.txt21 clocks = <&core_clk>;
26 clocks = <&core_clk>;
/linux-6.12.1/drivers/i2c/busses/
Di2c-qcom-geni.c91 struct clk *core_clk; member
787 gi2c->core_clk = devm_clk_get(dev, "core"); in geni_i2c_probe()
788 if (IS_ERR(gi2c->core_clk)) in geni_i2c_probe()
789 return PTR_ERR(gi2c->core_clk); in geni_i2c_probe()
850 ret = clk_prepare_enable(gi2c->core_clk); in geni_i2c_probe()
857 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
864 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
879 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
895 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
907 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
[all …]
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-ipq806x.c111 struct clk *core_clk; member
239 gmac->core_clk = devm_clk_get(dev, "stmmaceth"); in ipq806x_gmac_of_parse()
240 if (IS_ERR(gmac->core_clk)) { in ipq806x_gmac_of_parse()
242 return PTR_ERR(gmac->core_clk); in ipq806x_gmac_of_parse()
244 clk_set_rate(gmac->core_clk, 266000000); in ipq806x_gmac_of_parse()

12345