Home
last modified time | relevance | path

Searched full:clk_core (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.14.4/include/trace/events/
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 …]
/linux-6.14.4/drivers/clk/
Dclk.c54 struct clk_core *core;
60 struct clk_core { struct
68 struct clk_core *parent; argument
75 struct clk_core *new_parent; argument
76 struct clk_core *new_child; argument
103 struct clk_core *core; argument
114 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get()
122 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put()
148 struct clk_core *core, *failed; in clk_pm_runtime_get_all()
193 struct clk_core *core; in clk_pm_runtime_put_all()
[all …]
/linux-6.14.4/arch/mips/boot/dts/img/
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 …]
/linux-6.14.4/drivers/mmc/host/
Dsdhci-pxav3.c50 struct clk *clk_core; member
398 pxa->clk_core = devm_clk_get(dev, "core"); in sdhci_pxav3_probe()
399 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_probe()
400 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_probe()
468 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_probe()
487 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_remove()
538 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_suspend()
539 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_runtime_suspend()
551 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_resume()
552 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_runtime_resume()
Dsdhci-pxav2.c262 struct clk *clk, *clk_core; in sdhci_pxav2_probe() local
281 clk_core = devm_clk_get_optional_enabled(dev, "core"); in sdhci_pxav2_probe()
282 if (IS_ERR(clk_core)) { in sdhci_pxav2_probe()
283 ret = PTR_ERR(clk_core); in sdhci_pxav2_probe()
/linux-6.14.4/drivers/cpufreq/
Dpxa2xx-cpufreq.c46 struct clk *clk_core; member
181 return (unsigned int) clk_get_rate(data->clk_core) / 1000; in pxa_cpufreq_get()
207 clk_set_rate(data->clk_core, new_freq_cpu * 1000); in pxa_set_target()
302 pxa_cpufreq_data.clk_core = clk_get_sys(NULL, "core"); in pxa_cpu_init()
303 if (IS_ERR(pxa_cpufreq_data.clk_core)) in pxa_cpu_init()
304 return PTR_ERR(pxa_cpufreq_data.clk_core); in pxa_cpu_init()
/linux-6.14.4/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-6.14.4/scripts/gdb/linux/
Dclk.py10 clk_core_type = utils.CachedType("struct clk_core")
59 """Find struct clk_core by name"""
/linux-6.14.4/Documentation/devicetree/bindings/clock/
Dpistachio-clock.txt34 clk_core: clock-controller@18144000 {
65 clocks = <&clk_core CLK_PERIPH_SYS>;
/linux-6.14.4/Documentation/devicetree/bindings/sound/
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>;
Dti,pcm3168a.yaml99 clocks = <&clk_core 42>;
/linux-6.14.4/include/dt-bindings/clock/
Dpxa-clock.h19 #define CLK_CORE 9 macro
/linux-6.14.4/Documentation/devicetree/bindings/phy/
Dpistachio-usb-phy.txt23 clocks = <&clk_core CLK_USB_PHY>;
/linux-6.14.4/Documentation/devicetree/bindings/mips/img/
Dpistachio.txt30 clocks = <&clk_core CLK_MIPS>;
/linux-6.14.4/drivers/phy/rockchip/
Dphy-rockchip-typec.c376 struct clk *clk_core; member
728 ret = clk_prepare_enable(tcphy->clk_core); in tcphy_phy_init()
793 clk_disable_unprepare(tcphy->clk_core); in tcphy_phy_init()
802 clk_disable_unprepare(tcphy->clk_core); in tcphy_phy_deinit()
1050 tcphy->clk_core = devm_clk_get(dev, "tcpdcore"); in tcphy_parse_dt()
1051 if (IS_ERR(tcphy->clk_core)) { in tcphy_parse_dt()
1053 return PTR_ERR(tcphy->clk_core); in tcphy_parse_dt()
/linux-6.14.4/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.c510 clk_set_rate(gpu->clk_core, in etnaviv_gpu_update_clock()
1643 ret = clk_prepare_enable(gpu->clk_core); in etnaviv_gpu_clk_enable()
1654 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_enable()
1666 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_disable()
1927 gpu->clk_core = devm_clk_get(&pdev->dev, "core"); in etnaviv_gpu_platform_probe()
1928 DBG("clk_core: %p", gpu->clk_core); in etnaviv_gpu_platform_probe()
1929 if (IS_ERR(gpu->clk_core)) in etnaviv_gpu_platform_probe()
1930 return PTR_ERR(gpu->clk_core); in etnaviv_gpu_platform_probe()
1931 gpu->base_rate_core = clk_get_rate(gpu->clk_core); in etnaviv_gpu_platform_probe()
Detnaviv_gpu.h160 struct clk *clk_core; member
/linux-6.14.4/Documentation/devicetree/bindings/mmc/
Damlogic,meson-mx-sdio.yaml84 clocks = <&clk_core>, <&clk_in>;
/linux-6.14.4/drivers/media/platform/allegro-dvt/
Dallegro-core.c157 struct clk *clk_core; member
977 clk_rate = clk_get_rate(dev->clk_core); in allegro_encoder_buffer_init()
3885 dev->clk_core = devm_clk_get(&pdev->dev, "core_clk"); in allegro_probe()
3886 if (IS_ERR(dev->clk_core)) in allegro_probe()
3887 return PTR_ERR(dev->clk_core); in allegro_probe()
3945 unsigned int clk_core; in allegro_runtime_resume() local
3953 err = regmap_read(settings, VCU_CORE_CLK, &clk_core); in allegro_runtime_resume()
3956 err = clk_set_rate(dev->clk_core, MHZ_TO_HZ(clk_core)); in allegro_runtime_resume()
3959 err = clk_prepare_enable(dev->clk_core); in allegro_runtime_resume()
3978 clk_disable_unprepare(dev->clk_core); in allegro_runtime_resume()
[all …]
/linux-6.14.4/include/linux/
Dclk-provider.h38 struct clk_core;
47 * @core: Pointer to the struct clk_core affected by this request
59 struct clk_core *core;
316 * @core: pointer to the struct clk_core instance that points back to this
327 struct clk_core *core;
/linux-6.14.4/drivers/clk/pxa/
Dclk-pxa25x.c263 clkdev_pxa_register(CLK_CORE, "core", NULL, in pxa25x_register_core()
Dclk-pxa27x.c354 clkdev_pxa_register(CLK_CORE, "core", NULL, in pxa27x_register_core()
Dclk-pxa3xx.c371 clkdev_pxa_register(CLK_CORE, "core", NULL, in pxa3xx_register_core()

12