Home
last modified time | relevance | path

Searched refs:clk_core (Results 1 – 25 of 42) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/trace/events/
H A Dclk.h13 struct clk_core;
17 TP_PROTO(struct clk_core *core),
34 TP_PROTO(struct clk_core *core),
41 TP_PROTO(struct clk_core *core),
48 TP_PROTO(struct clk_core *core),
55 TP_PROTO(struct clk_core *core),
62 TP_PROTO(struct clk_core *core),
69 TP_PROTO(struct clk_core *core),
76 TP_PROTO(struct clk_core *core),
83 TP_PROTO(struct clk_core *core),
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk.c50 struct clk_core *core;
56 struct clk_core { struct
63 struct clk_core *parent; argument
70 struct clk_core *new_parent; argument
71 struct clk_core *new_child; argument
100 struct clk_core *core; argument
111 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get()
126 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put()
203 static bool clk_core_rate_is_protected(struct clk_core *core) in clk_core_rate_is_protected()
208 static bool clk_core_is_prepared(struct clk_core *core) in clk_core_is_prepared()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/img/
H A Dpistachio.dtsi29 clocks = <&clk_core CLK_MIPS_PLL>;
139 <&clk_core CLK_I2S>;
141 assigned-clocks = <&clk_core CLK_I2S_DIV>;
159 <&clk_core CLK_AUDIO_DAC>;
161 assigned-clocks = <&clk_core CLK_AUDIO_DAC_DIV>;
176 <&clk_core CLK_SPDIF>;
178 assigned-clocks = <&clk_core CLK_SPDIF_DIV>;
215 clocks = <&clk_core CLK_SPI0>, <&cr_periph SYS_CLK_SPI0_MASTER>;
230 clocks = <&clk_core CLK_SPI1>, <&cr_periph SYS_CLK_SPI1>;
257 clocks = <&clk_core CLK_UART0>, <&cr_periph SYS_CLK_UART0>;
[all …]
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Dpxa2xx-cpufreq.c48 struct clk *clk_core; member
185 return (unsigned int) clk_get_rate(data->clk_core) / 1000; in pxa_cpufreq_get()
211 clk_set_rate(data->clk_core, new_freq_cpu * 1000); in pxa_set_target()
306 pxa_cpufreq_data.clk_core = clk_get_sys(NULL, "core"); in pxa_cpu_init()
307 if (IS_ERR(pxa_cpufreq_data.clk_core)) in pxa_cpu_init()
308 return PTR_ERR(pxa_cpufreq_data.clk_core); in pxa_cpu_init()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-pxav3.c50 struct clk *clk_core; member
400 pxa->clk_core = devm_clk_get(dev, "core"); in sdhci_pxav3_probe()
401 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_probe()
402 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_probe()
469 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_probe()
488 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_remove()
541 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_suspend()
542 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_runtime_suspend()
554 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_resume()
555 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_runtime_resume()
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A Dclk.rst38 is defined in struct clk_foo and pointed to within struct clk_core. This
45 Below is the common struct clk_core definition from
48 struct clk_core {
53 struct clk_core *parent;
55 struct clk_core **parents;
65 Platforms and devices utilizing the common struct clk_core use the struct
66 clk_ops pointer in struct clk_core to perform the hardware-specific parts of
106 The strength of the common struct clk_core comes from its .ops and .hw pointers
122 framework code and struct clk_core.
/OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/
H A Detnaviv_gpu.c469 clk_set_rate(gpu->clk_core, in etnaviv_gpu_update_clock()
1516 ret = clk_prepare_enable(gpu->clk_core); in etnaviv_gpu_clk_enable()
1527 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_enable()
1539 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_disable()
1804 gpu->clk_core = devm_clk_get(&pdev->dev, "core"); in etnaviv_gpu_platform_probe()
1805 DBG("clk_core: %p", gpu->clk_core); in etnaviv_gpu_platform_probe()
1806 if (IS_ERR(gpu->clk_core)) in etnaviv_gpu_platform_probe()
1807 return PTR_ERR(gpu->clk_core); in etnaviv_gpu_platform_probe()
1808 gpu->base_rate_core = clk_get_rate(gpu->clk_core); in etnaviv_gpu_platform_probe()
H A Detnaviv_gpu.h144 struct clk *clk_core; member
/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-typec.c427 struct clk *clk_core; member
1266 ret = clk_prepare_enable(tcphy->clk_core); in tcphy_phy_init()
1332 clk_disable_unprepare(tcphy->clk_core); in tcphy_phy_init()
1341 clk_disable_unprepare(tcphy->clk_core); in tcphy_phy_deinit()
1661 tcphy->clk_core = devm_clk_get(dev, "tcpdcore"); in tcphy_parse_dt()
1662 if (IS_ERR(tcphy->clk_core)) { in tcphy_parse_dt()
1664 return PTR_ERR(tcphy->clk_core); in tcphy_parse_dt()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/
H A Dpistachio-clock.txt34 clk_core: clock-controller@18144000 {
65 clocks = <&clk_core CLK_PERIPH_SYS>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dpistachio-usb-phy.txt23 clocks = <&clk_core CLK_USB_PHY>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mips/img/
H A Dpistachio.txt30 clocks = <&clk_core CLK_MIPS>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dimg,parallel-out.txt39 <&clk_core CLK_AUDIO_DAC>;
H A Dimg,spdif-out.txt39 <&clk_core CLK_SPDIF>;
H A Dti,pcm3168a.txt45 clocks = <&clk_core CLK_AUDIO>;
H A Dimg,i2s-out.txt45 <&clk_core CLK_I2S>;
H A Dtas571x.txt46 clocks = <&clk_core CLK_I2S>;
/OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/
H A Dmpp_rkvdec.c269 struct clk *clk_core = dec->core_clk_info.clk; in rkvdec_devf_set_clk() local
277 clk_set_rate(clk_core, dec->devf_core_rate_hz); in rkvdec_devf_set_clk()
283 clk_set_rate(clk_core, core_rate_hz); in rkvdec_devf_set_clk()
290 clk_set_rate(clk_core, core_rate_hz); in rkvdec_devf_set_clk()
295 clk_set_rate(clk_core, in rkvdec_devf_set_clk()
311 clk_set_rate(clk_core, in rkvdec_devf_set_clk()
H A Dmpp_rkvenc.c1022 struct clk *clk_core = enc->core_clk_info.clk; in rkvenc_devfreq_init() local
1027 if (!clk_core) in rkvenc_devfreq_init()
1055 rkvenc_devfreq_profile.initial_freq = clk_get_rate(clk_core); in rkvenc_devfreq_init()
H A Dmpp_rkvdec2.c841 struct clk *clk_core = dec->core_clk_info.clk; in rkvdec2_devfreq_init() local
845 if (!clk_core) in rkvdec2_devfreq_init()
872 rkvdec2_devfreq_profile.initial_freq = clk_get_rate(clk_core); in rkvdec2_devfreq_init()
H A Dmpp_rkvenc2.c1768 struct clk *clk_core = enc->core_clk_info.clk; in rkvenc_devfreq_init() local
1775 if (!clk_core) in rkvenc_devfreq_init()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3288-evb-android-rk808-edp-avb.dts20 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core", "clk_cabac";
H A Drv1106.dtsi1224 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
1256 clock-names = "clk_core";
/OK3568_Linux_fs/kernel/include/linux/
H A Dclk-provider.h39 struct clk_core;
327 struct clk_core *core;
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drv1106.dtsi1013 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
1031 clock-names = "clk_core";

12