Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/net/mdio/
Dmdio-mux-bcm-iproc.c54 struct clk *core_clk; member
67 if (md->core_clk) { in mdio_mux_iproc_config()
71 divisor = clk_get_rate(md->core_clk) / MDIO_OPERATING_FREQUENCY; in mdio_mux_iproc_config()
238 md->core_clk = devm_clk_get(&pdev->dev, NULL); in mdio_mux_iproc_probe()
239 if (md->core_clk == ERR_PTR(-ENOENT) || in mdio_mux_iproc_probe()
240 md->core_clk == ERR_PTR(-EINVAL)) in mdio_mux_iproc_probe()
241 md->core_clk = NULL; in mdio_mux_iproc_probe()
242 else if (IS_ERR(md->core_clk)) in mdio_mux_iproc_probe()
243 return PTR_ERR(md->core_clk); in mdio_mux_iproc_probe()
245 rc = clk_prepare_enable(md->core_clk); in mdio_mux_iproc_probe()
[all …]
/linux-6.6.21/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.6.21/drivers/soc/qcom/
Dice.c48 struct clk *core_clk; member
145 err = clk_prepare_enable(ice->core_clk); in qcom_ice_resume()
158 clk_disable_unprepare(ice->core_clk); in qcom_ice_suspend()
235 engine->core_clk = devm_clk_get_optional_enabled(dev, "ice_core_clk"); in qcom_ice_create()
236 if (!engine->core_clk) in qcom_ice_create()
237 engine->core_clk = devm_clk_get_optional_enabled(dev, "ice"); in qcom_ice_create()
238 if (!engine->core_clk) in qcom_ice_create()
239 engine->core_clk = devm_clk_get_enabled(dev, NULL); in qcom_ice_create()
240 if (IS_ERR(engine->core_clk)) in qcom_ice_create()
241 return ERR_CAST(engine->core_clk); in qcom_ice_create()
Docmem.c58 struct clk *core_clk; member
316 ocmem->core_clk = devm_clk_get(dev, "core"); in ocmem_dev_probe()
317 if (IS_ERR(ocmem->core_clk)) in ocmem_dev_probe()
318 return dev_err_probe(dev, PTR_ERR(ocmem->core_clk), in ocmem_dev_probe()
339 WARN_ON(clk_set_rate(ocmem->core_clk, 1000) < 0); in ocmem_dev_probe()
341 ret = clk_prepare_enable(ocmem->core_clk); in ocmem_dev_probe()
347 clk_disable_unprepare(ocmem->core_clk); in ocmem_dev_probe()
414 clk_disable_unprepare(ocmem->core_clk); in ocmem_dev_probe()
423 clk_disable_unprepare(ocmem->core_clk); in ocmem_dev_remove()
/linux-6.6.21/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.6.21/drivers/char/hw_random/
Dmeson-rng.c38 struct clk *core_clk; in meson_rng_probe() local
48 core_clk = devm_clk_get_optional_enabled(dev, "core"); in meson_rng_probe()
49 if (IS_ERR(core_clk)) in meson_rng_probe()
50 return dev_err_probe(dev, PTR_ERR(core_clk), in meson_rng_probe()
/linux-6.6.21/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.6.21/drivers/nvmem/
Dmeson-mx-efuse.c45 struct clk *core_clk; member
66 err = clk_prepare_enable(efuse->core_clk); in meson_mx_efuse_hw_enable()
86 clk_disable_unprepare(efuse->core_clk); in meson_mx_efuse_hw_disable()
219 efuse->core_clk = devm_clk_get(&pdev->dev, "core"); in meson_mx_efuse_probe()
220 if (IS_ERR(efuse->core_clk)) { in meson_mx_efuse_probe()
222 return PTR_ERR(efuse->core_clk); in meson_mx_efuse_probe()
/linux-6.6.21/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.6.21/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.6.21/drivers/usb/chipidea/
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.6.21/Documentation/devicetree/bindings/ufs/
Dqcom,ufs.yaml132 - const: core_clk
161 - const: core_clk
192 - const: core_clk
221 - const: core_clk
296 clock-names = "core_clk",
/linux-6.6.21/drivers/watchdog/
Dstarfive-wdt.c104 struct clk *core_clk; member
154 ret = clk_prepare_enable(wdt->core_clk); in starfive_wdt_enable_clock()
163 clk_disable_unprepare(wdt->core_clk); in starfive_wdt_disable_clock()
175 wdt->core_clk = devm_clk_get(dev, "core"); in starfive_wdt_get_clock()
176 if (IS_ERR(wdt->core_clk)) in starfive_wdt_get_clock()
177 return dev_err_probe(dev, PTR_ERR(wdt->core_clk), "failed to get core clock\n"); in starfive_wdt_get_clock()
467 wdt->freq = clk_get_rate(wdt->core_clk); in starfive_wdt_probe()
/linux-6.6.21/Documentation/devicetree/bindings/arm/marvell/
Dkirkwood.txt25 clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
/linux-6.6.21/Documentation/devicetree/bindings/media/
Dallegro,al5e.yaml53 - const: core_clk
83 clock-names = "core_clk", "mcu_clk", "m_axi_core_aclk",
100 clock-names = "core_clk", "mcu_clk", "m_axi_core_aclk",
/linux-6.6.21/Documentation/devicetree/bindings/timer/
Dsnps,arc-timer.txt21 clocks = <&core_clk>;
26 clocks = <&core_clk>;
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-ipq806x.c111 struct clk *core_clk; member
236 gmac->core_clk = devm_clk_get(dev, "stmmaceth"); in ipq806x_gmac_of_parse()
237 if (IS_ERR(gmac->core_clk)) { in ipq806x_gmac_of_parse()
239 return PTR_ERR(gmac->core_clk); in ipq806x_gmac_of_parse()
241 clk_set_rate(gmac->core_clk, 266000000); in ipq806x_gmac_of_parse()
/linux-6.6.21/drivers/i2c/busses/
Di2c-qcom-geni.c91 struct clk *core_clk; member
788 gi2c->core_clk = devm_clk_get(dev, "core"); in geni_i2c_probe()
789 if (IS_ERR(gi2c->core_clk)) in geni_i2c_probe()
790 return PTR_ERR(gi2c->core_clk); in geni_i2c_probe()
853 ret = clk_prepare_enable(gi2c->core_clk); in geni_i2c_probe()
860 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
867 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
882 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
898 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
910 clk_disable_unprepare(gi2c->core_clk); in geni_i2c_probe()
[all …]

12345