/openbmc/linux/include/trace/events/ |
H A D | clk.h | 13 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 …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk.c | 54 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 …]
|
/openbmc/linux/arch/mips/boot/dts/img/ |
H A D | pistachio.dtsi | 29 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 …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | pxa2xx-cpufreq.c | 46 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()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-pxav3.c | 50 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() 467 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_probe() 486 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_remove() 537 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_suspend() 538 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_runtime_suspend() 550 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_resume() 551 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_runtime_resume()
|
H A D | sdhci-pxav2.c | 262 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()
|
/openbmc/linux/Documentation/driver-api/ |
H A D | clk.rst | 38 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.
|
/openbmc/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-typec.c | 376 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()
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | pistachio-usb-phy.txt | 23 clocks = <&clk_core CLK_USB_PHY>;
|
/openbmc/linux/Documentation/devicetree/bindings/mips/img/ |
H A D | pistachio.txt | 30 clocks = <&clk_core CLK_MIPS>;
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gpu.c | 484 clk_set_rate(gpu->clk_core, in etnaviv_gpu_update_clock() 1601 ret = clk_prepare_enable(gpu->clk_core); in etnaviv_gpu_clk_enable() 1612 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_enable() 1624 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_disable() 1874 gpu->clk_core = devm_clk_get(&pdev->dev, "core"); in etnaviv_gpu_platform_probe() 1875 DBG("clk_core: %p", gpu->clk_core); in etnaviv_gpu_platform_probe() 1876 if (IS_ERR(gpu->clk_core)) in etnaviv_gpu_platform_probe() 1877 return PTR_ERR(gpu->clk_core); in etnaviv_gpu_platform_probe() 1878 gpu->base_rate_core = clk_get_rate(gpu->clk_core); in etnaviv_gpu_platform_probe()
|
H A D | etnaviv_gpu.h | 157 struct clk *clk_core; member
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | img,spdif-out.txt | 39 <&clk_core CLK_SPDIF>;
|
H A D | img,parallel-out.txt | 39 <&clk_core CLK_AUDIO_DAC>;
|
H A D | img,i2s-out.txt | 45 <&clk_core CLK_I2S>;
|
H A D | tas571x.txt | 47 clocks = <&clk_core CLK_I2S>;
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | pistachio-clock.txt | 34 clk_core: clock-controller@18144000 { 65 clocks = <&clk_core CLK_PERIPH_SYS>;
|
/openbmc/linux/drivers/media/platform/allegro-dvt/ |
H A D | allegro-core.c | 157 struct clk *clk_core; member 977 clk_rate = clk_get_rate(dev->clk_core); in allegro_encoder_buffer_init() 3887 dev->clk_core = devm_clk_get(&pdev->dev, "core_clk"); in allegro_probe() 3888 if (IS_ERR(dev->clk_core)) in allegro_probe() 3889 return PTR_ERR(dev->clk_core); in allegro_probe() 3946 unsigned int clk_core; in allegro_runtime_resume() local 3954 err = regmap_read(settings, VCU_CORE_CLK, &clk_core); in allegro_runtime_resume() 3957 err = clk_set_rate(dev->clk_core, MHZ_TO_HZ(clk_core)); in allegro_runtime_resume() 3960 err = clk_prepare_enable(dev->clk_core); in allegro_runtime_resume() 3979 clk_disable_unprepare(dev->clk_core); in allegro_runtime_resume() [all …]
|
/openbmc/linux/include/linux/ |
H A D | clk-provider.h | 38 struct clk_core; 59 struct clk_core *core; 327 struct clk_core *core;
|