/kernel/linux/linux-5.10/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 *cor [all...] |
/kernel/linux/linux-6.6/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 *cor [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk.c | 50 struct clk_core *core; 56 struct clk_core { struct 63 struct clk_core *parent; 70 struct clk_core *new_parent; 71 struct clk_core *new_child; 98 struct clk_core *core; 109 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get() 117 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put() 194 static bool clk_core_rate_is_protected(struct clk_core *core) in clk_core_rate_is_protected() 199 static bool clk_core_is_prepared(struct clk_core *cor [all...] |
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk.c | 54 struct clk_core *core; 60 struct clk_core { struct 68 struct clk_core *parent; 75 struct clk_core *new_parent; 76 struct clk_core *new_child; 103 struct clk_core *core; 114 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get() 129 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put() 155 struct clk_core *core, *failed; in clk_pm_runtime_get_all() 200 struct clk_core *cor in clk_pm_runtime_put_all() [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | pxa2xx-cpufreq.c | 48 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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | sdhci-pxav3.c | 50 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() [all...] |
/kernel/linux/linux-6.6/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() [all...] |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gpu.c | 476 clk_set_rate(gpu->clk_core, in etnaviv_gpu_update_clock() 1523 ret = clk_prepare_enable(gpu->clk_core); in etnaviv_gpu_clk_enable() 1534 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_enable() 1546 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_disable() 1811 gpu->clk_core = devm_clk_get(&pdev->dev, "core"); in etnaviv_gpu_platform_probe() 1812 DBG("clk_core: %p", gpu->clk_core); in etnaviv_gpu_platform_probe() 1813 if (IS_ERR(gpu->clk_core)) in etnaviv_gpu_platform_probe() 1814 return PTR_ERR(gpu->clk_core); in etnaviv_gpu_platform_probe() 1815 gpu->base_rate_core = clk_get_rate(gpu->clk_core); in etnaviv_gpu_platform_probe() [all...] |
H A D | etnaviv_gpu.h | 144 struct clk *clk_core; member
|
/kernel/linux/linux-6.6/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() [all...] |
H A D | etnaviv_gpu.h | 157 struct clk *clk_core; member
|
/kernel/linux/linux-6.6/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() 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() 3944 unsigned int clk_core; in allegro_runtime_resume() local 3952 err = regmap_read(settings, VCU_CORE_CLK, &clk_core); in allegro_runtime_resume() 3955 err = clk_set_rate(dev->clk_core, MHZ_TO_HZ(clk_core)); in allegro_runtime_resume() 3958 err = clk_prepare_enable(dev->clk_core); in allegro_runtime_resume() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | clk-provider.h | 38 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;
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | clk-provider.h | 38 struct clk_core; 302 * @core: pointer to the struct clk_core instance that points back to this 313 struct clk_core *core;
|