/openbmc/linux/drivers/net/mdio/ |
H A D | mdio-mux-bcm-iproc.c | 54 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 …]
|
/openbmc/linux/arch/arc/boot/dts/ |
H A D | skeleton_hs_idu.dtsi | 21 clocks = <&core_clk>; 27 clocks = <&core_clk>; 33 clocks = <&core_clk>; 39 clocks = <&core_clk>; 48 clocks = <&core_clk>; 54 clocks = <&core_clk>;
|
H A D | skeleton_hs.dtsi | 21 clocks = <&core_clk>; 30 clocks = <&core_clk>; 36 clocks = <&core_clk>; 42 clocks = <&core_clk>;
|
H A D | skeleton.dtsi | 26 clocks = <&core_clk>; 35 clocks = <&core_clk>; 41 clocks = <&core_clk>;
|
H A D | hsdk.dts | 37 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>;
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | ci_hdrc_npcm.c | 17 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()
|
H A D | ci_hdrc_msm.c | 38 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()
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | ice.c | 48 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()
|
H A D | ocmem.c | 58 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()
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | orion5x.dtsi | 28 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>;
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | meson-rng.c | 38 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()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | clkt2xxx_dpllcore.c | 54 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()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | speed.c | 99 u32 core_clk; in get_clocks() local 424 core_clk = csb_clk; in get_clocks() 427 core_clk = (3 * csb_clk) / 2; in get_clocks() 430 core_clk = 2 * csb_clk; in get_clocks() 433 core_clk = (5 * csb_clk) / 2; in get_clocks() 436 core_clk = 3 * csb_clk; in get_clocks() 468 gd->arch.core_clk = core_clk; in get_clocks() 495 gd->cpu_clk = gd->arch.core_clk; in get_clocks() 525 strmhz(buf, gd->arch.core_clk)); in do_clocks()
|
/openbmc/linux/drivers/nvmem/ |
H A D | meson-mx-efuse.c | 45 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() 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()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-intel-gw.c | 68 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()
|
/openbmc/linux/drivers/phy/intel/ |
H A D | phy-intel-lgm-combo.c | 88 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()
|
/openbmc/u-boot/arch/arc/dts/ |
H A D | axc001.dtsi | 10 core_clk: core_clk { label
|
H A D | axc003.dtsi | 10 core_clk: core_clk { label
|
H A D | nsim.dts | 17 core_clk: core_clk { label
|
H A D | abilis_tb100.dts | 17 core_clk: core_clk { label
|
H A D | emsdp.dts | 20 core_clk: core_clk { label
|
H A D | iot_devkit.dts | 18 core_clk: core_clk { label
|
/openbmc/u-boot/doc/device-tree-bindings/timer/ |
H A D | arc_timer.txt | 13 clocks = <&core_clk>; 19 clocks = <&core_clk>;
|
/openbmc/linux/drivers/watchdog/ |
H A D | starfive-wdt.c | 104 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()
|
/openbmc/linux/Documentation/devicetree/bindings/arm/marvell/ |
H A D | kirkwood.txt | 25 clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
|