Home
last modified time | relevance | path

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

/Linux-v4.19/include/trace/events/
Dclk.h21 struct clk_core;
25 TP_PROTO(struct clk_core *core),
42 TP_PROTO(struct clk_core *core),
49 TP_PROTO(struct clk_core *core),
56 TP_PROTO(struct clk_core *core),
63 TP_PROTO(struct clk_core *core),
70 TP_PROTO(struct clk_core *core),
77 TP_PROTO(struct clk_core *core),
84 TP_PROTO(struct clk_core *core),
91 TP_PROTO(struct clk_core *core),
[all …]
/Linux-v4.19/drivers/clk/
Dclk.c45 struct clk_core { struct
51 struct clk_core *parent; argument
53 struct clk_core **parents; argument
59 struct clk_core *new_parent; argument
60 struct clk_core *new_child; argument
86 struct clk_core *core; argument
96 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get()
107 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put()
184 static bool clk_core_rate_is_protected(struct clk_core *core) in clk_core_rate_is_protected()
189 static bool clk_core_is_prepared(struct clk_core *core) in clk_core_is_prepared()
[all …]
/Linux-v4.19/arch/mips/boot/dts/img/
Dpistachio.dtsi32 clocks = <&clk_core CLK_MIPS_PLL>;
142 <&clk_core CLK_I2S>;
144 assigned-clocks = <&clk_core CLK_I2S_DIV>;
162 <&clk_core CLK_AUDIO_DAC>;
164 assigned-clocks = <&clk_core CLK_AUDIO_DAC_DIV>;
179 <&clk_core CLK_SPDIF>;
181 assigned-clocks = <&clk_core CLK_SPDIF_DIV>;
218 clocks = <&clk_core CLK_SPI0>, <&cr_periph SYS_CLK_SPI0_MASTER>;
233 clocks = <&clk_core CLK_SPI1>, <&cr_periph SYS_CLK_SPI1>;
260 clocks = <&clk_core CLK_UART0>, <&cr_periph SYS_CLK_UART0>;
[all …]
/Linux-v4.19/drivers/cpufreq/
Dpxa2xx-cpufreq.c62 struct clk *clk_core; member
199 return (unsigned int) clk_get_rate(data->clk_core) / 1000; in pxa_cpufreq_get()
225 clk_set_rate(data->clk_core, new_freq_cpu * 1000); in pxa_set_target()
320 pxa_cpufreq_data.clk_core = clk_get_sys(NULL, "core"); in pxa_cpu_init()
321 if (IS_ERR(pxa_cpufreq_data.clk_core)) in pxa_cpu_init()
322 return PTR_ERR(pxa_cpufreq_data.clk_core); in pxa_cpu_init()
/Linux-v4.19/drivers/mmc/host/
Dsdhci-pxav3.c62 struct clk *clk_core; member
412 pxa->clk_core = devm_clk_get(dev, "core"); in sdhci_pxav3_probe()
413 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_probe()
414 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_probe()
492 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_probe()
511 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_remove()
564 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_suspend()
565 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_runtime_suspend()
577 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_resume()
578 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_runtime_resume()
/Linux-v4.19/Documentation/driver-api/
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.
/Linux-v4.19/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.c440 clk_set_rate(gpu->clk_core, in etnaviv_gpu_update_clock()
1462 if (gpu->clk_core) { in etnaviv_gpu_clk_enable()
1463 ret = clk_prepare_enable(gpu->clk_core); in etnaviv_gpu_clk_enable()
1477 if (gpu->clk_core) in etnaviv_gpu_clk_enable()
1478 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_enable()
1490 if (gpu->clk_core) in etnaviv_gpu_clk_disable()
1491 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_disable()
1763 gpu->clk_core = devm_clk_get(&pdev->dev, "core"); in etnaviv_gpu_platform_probe()
1764 DBG("clk_core: %p", gpu->clk_core); in etnaviv_gpu_platform_probe()
1765 if (IS_ERR(gpu->clk_core)) in etnaviv_gpu_platform_probe()
[all …]
Detnaviv_gpu.h146 struct clk *clk_core; member
/Linux-v4.19/drivers/phy/rockchip/
Dphy-rockchip-typec.c385 struct clk *clk_core; member
737 ret = clk_prepare_enable(tcphy->clk_core); in tcphy_phy_init()
802 clk_disable_unprepare(tcphy->clk_core); in tcphy_phy_init()
811 clk_disable_unprepare(tcphy->clk_core); in tcphy_phy_deinit()
1060 tcphy->clk_core = devm_clk_get(dev, "tcpdcore"); in tcphy_parse_dt()
1061 if (IS_ERR(tcphy->clk_core)) { in tcphy_parse_dt()
1063 return PTR_ERR(tcphy->clk_core); in tcphy_parse_dt()
/Linux-v4.19/Documentation/devicetree/bindings/phy/
Dpistachio-usb-phy.txt23 clocks = <&clk_core CLK_USB_PHY>;
/Linux-v4.19/Documentation/devicetree/bindings/mips/img/
Dpistachio.txt30 clocks = <&clk_core CLK_MIPS>;
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Dti,pcm3168a.txt37 clocks = <&clk_core CLK_AUDIO>;
Dimg,parallel-out.txt39 <&clk_core CLK_AUDIO_DAC>;
Dimg,spdif-out.txt39 <&clk_core CLK_SPDIF>;
Dimg,i2s-out.txt45 <&clk_core CLK_I2S>;
Dtas571x.txt46 clocks = <&clk_core CLK_I2S>;
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dpistachio-clock.txt34 clk_core: clock-controller@18144000 {
65 clocks = <&clk_core CLK_PERIPH_SYS>;
/Linux-v4.19/include/linux/
Dclk-provider.h46 struct clk_core;
285 struct clk_core *core;