Home
last modified time | relevance | path

Searched full:core_clk (Results 1 – 25 of 115) sorted by relevance

12345

/OK3568_Linux_fs/kernel/drivers/net/mdio/
H A 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()
211 md->core_clk = devm_clk_get(&pdev->dev, NULL); in mdio_mux_iproc_probe()
212 if (md->core_clk == ERR_PTR(-ENOENT) || in mdio_mux_iproc_probe()
213 md->core_clk == ERR_PTR(-EINVAL)) in mdio_mux_iproc_probe()
214 md->core_clk = NULL; in mdio_mux_iproc_probe()
215 else if (IS_ERR(md->core_clk)) in mdio_mux_iproc_probe()
216 return PTR_ERR(md->core_clk); in mdio_mux_iproc_probe()
218 rc = clk_prepare_enable(md->core_clk); in mdio_mux_iproc_probe()
[all …]
/OK3568_Linux_fs/kernel/arch/arc/boot/dts/
H A 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>;
H A Dskeleton_hs.dtsi21 clocks = <&core_clk>;
30 clocks = <&core_clk>;
36 clocks = <&core_clk>;
42 clocks = <&core_clk>;
H A 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>;
H A Dskeleton.dtsi26 clocks = <&core_clk>;
35 clocks = <&core_clk>;
41 clocks = <&core_clk>;
/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A Dmeson-rng.c23 struct clk *core_clk; member
57 data->core_clk = devm_clk_get(dev, "core"); in meson_rng_probe()
58 if (IS_ERR(data->core_clk)) in meson_rng_probe()
59 data->core_clk = NULL; in meson_rng_probe()
61 if (data->core_clk) { in meson_rng_probe()
62 ret = clk_prepare_enable(data->core_clk); in meson_rng_probe()
66 data->core_clk); in meson_rng_probe()
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A Dclkt2xxx_dpllcore.c3 * DPLL + CORE_CLK composite clock functions
43 * omap2xxx_clk_get_core_rate - return the CORE_CLK rate
45 * Returns the CORE_CLK rate. CORE_CLK can have one of three rate
53 long long core_clk; in omap2xxx_clk_get_core_rate() local
58 core_clk = omap2_get_dpll_rate(dpll_core_ck); in omap2xxx_clk_get_core_rate()
63 core_clk = 32768; in omap2xxx_clk_get_core_rate()
65 core_clk *= v; in omap2xxx_clk_get_core_rate()
67 return core_clk; in omap2xxx_clk_get_core_rate()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c291 struct dss_clk *core_clk = kms->perf.core_clk; in _dpu_core_perf_set_core_clk_rate() local
293 if (core_clk->max_rate && (rate > core_clk->max_rate)) in _dpu_core_perf_set_core_clk_rate()
294 rate = core_clk->max_rate; in _dpu_core_perf_set_core_clk_rate()
296 core_clk->rate = rate; in _dpu_core_perf_set_core_clk_rate()
297 return dev_pm_opp_set_rate(&kms->pdev->dev, core_clk->rate); in _dpu_core_perf_set_core_clk_rate()
311 clk_rate = clk_round_rate(kms->perf.core_clk->clk, in _dpu_core_perf_get_core_clk_rate()
349 DPU_DEBUG("crtc:%d stop_req:%d core_clk:%llu\n", in dpu_core_perf_crtc_update()
414 kms->perf.core_clk->clk_name, clk_rate); in dpu_core_perf_crtc_update()
527 perf->core_clk = NULL; in dpu_core_perf_destroy()
535 struct dss_clk *core_clk) in dpu_core_perf_init() argument
[all …]
H A Ddpu_core_perf.h59 * @core_clk: Pointer to core clock structure
72 struct dss_clk *core_clk; member
118 * @core_clk: pointer to core clock
123 struct dss_clk *core_clk);
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dorion5x.dtsi33 clocks = <&core_clk 0>;
43 clocks = <&core_clk 0>;
53 clocks = <&core_clk 0>;
63 clocks = <&core_clk 0>;
99 clocks = <&core_clk 0>;
108 clocks = <&core_clk 0>;
117 clocks = <&core_clk 0>;
142 clocks = <&core_clk 0>;
150 clocks = <&core_clk 0>;
H A Ddove.dtsi165 clocks = <&core_clk 0>;
178 clocks = <&core_clk 0>;
187 clocks = <&core_clk 0>;
196 clocks = <&core_clk 0>;
207 clocks = <&core_clk 0>;
216 clocks = <&core_clk 0>;
227 clocks = <&core_clk 0>;
262 clocks = <&core_clk 0>;
270 clocks = <&core_clk 0>;
467 clocks = <&core_clk 0>;
[all …]
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Dmeson-mx-efuse.c46 struct clk *core_clk; member
67 err = clk_prepare_enable(efuse->core_clk); in meson_mx_efuse_hw_enable()
87 clk_disable_unprepare(efuse->core_clk); in meson_mx_efuse_hw_disable()
223 efuse->core_clk = devm_clk_get(&pdev->dev, "core"); in meson_mx_efuse_probe()
224 if (IS_ERR(efuse->core_clk)) { in meson_mx_efuse_probe()
226 return PTR_ERR(efuse->core_clk); in meson_mx_efuse_probe()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-intel-gw.c72 struct clk *core_clk; member
243 lpp->core_clk = devm_clk_get(dev, NULL); in intel_pcie_get_resources()
244 if (IS_ERR(lpp->core_clk)) { in intel_pcie_get_resources()
245 ret = PTR_ERR(lpp->core_clk); in intel_pcie_get_resources()
330 ret = clk_prepare_enable(lpp->core_clk); in intel_pcie_host_setup()
348 clk_disable_unprepare(lpp->core_clk); in intel_pcie_host_setup()
360 clk_disable_unprepare(lpp->core_clk); in __intel_pcie_remove()
387 clk_disable_unprepare(lpp->core_clk); in intel_pcie_suspend_noirq()
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspeed.c98 u32 core_clk; in get_clocks() local
423 core_clk = csb_clk; in get_clocks()
426 core_clk = (3 * csb_clk) / 2; in get_clocks()
429 core_clk = 2 * csb_clk; in get_clocks()
432 core_clk = (5 * csb_clk) / 2; in get_clocks()
435 core_clk = 3 * csb_clk; in get_clocks()
467 gd->arch.core_clk = core_clk; in get_clocks()
494 gd->cpu_clk = gd->arch.core_clk; in get_clocks()
524 strmhz(buf, gd->arch.core_clk)); in do_clocks()
/OK3568_Linux_fs/kernel/drivers/phy/intel/
H A 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 ret = PTR_ERR(cbphy->core_clk); in intel_cbphy_fwnode_parse()
612 clk_disable_unprepare(cbphy->core_clk); in intel_cbphy_remove()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/
H A Dallegro.txt18 - clock-names: must include "core_clk", "mcu_clk", "m_axi_core_aclk",
30 clock-names = "core_clk", "mcu_clk", "m_axi_core_aclk",
41 clock-names = "core_clk", "mcu_clk", "m_axi_core_aclk",
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A 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()
/OK3568_Linux_fs/u-boot/drivers/ufs/
H A Dcdns-platform.c46 ret = clk_get_by_name(hba->dev, "core_clk", &clk); in cdns_ufs_set_hclkdiv()
48 dev_err(hba->dev, "failed to get core_clk clock\n"); in cdns_ufs_set_hclkdiv()
54 dev_err(hba->dev, "%s: unable to find core_clk rate\n", in cdns_ufs_set_hclkdiv()
/OK3568_Linux_fs/kernel/arch/h8300/boot/dts/
H A Dh8300h_sim.dts24 core_clk: core_clk { label
33 clocks = <&core_clk>;
H A Dh8s_sim.dts30 core_clk: core_clk { label
39 clocks = <&core_clk>;
H A Dedosk2674.dts31 core_clk: core_clk { label
40 clocks = <&core_clk>;
/OK3568_Linux_fs/u-boot/arch/arc/dts/
H A Daxc001.dtsi11 core_clk: core_clk { label
H A Daxc003.dtsi11 core_clk: core_clk { label
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-ipq806x.c89 struct clk *core_clk; member
214 gmac->core_clk = devm_clk_get(dev, "stmmaceth"); in ipq806x_gmac_of_parse()
215 if (IS_ERR(gmac->core_clk)) { in ipq806x_gmac_of_parse()
217 return PTR_ERR(gmac->core_clk); in ipq806x_gmac_of_parse()
219 clk_set_rate(gmac->core_clk, 266000000); in ipq806x_gmac_of_parse()
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/timer/
H A Darc_timer.txt13 clocks = <&core_clk>;
19 clocks = <&core_clk>;

12345