Home
last modified time | relevance | path

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

/drivers/clk/
A Dclk.c54 struct clk_core *core;
60 struct clk_core { struct
103 struct clk_core *core; argument
193 struct clk_core *core; in clk_pm_runtime_put_all()
402 struct clk_core *ret; in __clk_lookup_subtree()
419 struct clk_core *ret; in clk_core_lookup()
496 static struct clk_core *clk_core_get(struct clk_core *core, u8 p_index) in clk_core_get()
2122 static struct clk_core *__clk_set_parent_before(struct clk_core *core, in __clk_set_parent_before()
2288 static struct clk_core *clk_calc_new_rates(struct clk_core *core, in clk_calc_new_rates()
2827 static struct clk_core *__clk_init_parent(struct clk_core *core) in __clk_init_parent()
[all …]
/drivers/cpufreq/
A 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()
/drivers/mmc/host/
A Dsdhci-pxav3.c50 struct clk *clk_core; member
397 pxa->clk_core = devm_clk_get(dev, "core"); in sdhci_pxav3_probe()
398 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_probe()
399 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_probe()
467 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_probe()
484 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_remove()
528 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_suspend()
529 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_runtime_suspend()
541 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_resume()
542 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_runtime_resume()
A Dsdhci-pxav2.c261 struct clk *clk, *clk_core; in sdhci_pxav2_probe() local
277 clk_core = devm_clk_get_optional_enabled(dev, "core"); in sdhci_pxav2_probe()
278 if (IS_ERR(clk_core)) in sdhci_pxav2_probe()
279 return dev_err_probe(dev, PTR_ERR(clk_core), in sdhci_pxav2_probe()
A Dsdhci-of-k1.c64 struct clk *clk_core; member
213 sdhst->clk_core = devm_clk_get_enabled(dev, "core"); in spacemit_sdhci_get_clocks()
214 if (IS_ERR(sdhst->clk_core)) in spacemit_sdhci_get_clocks()
/drivers/phy/rockchip/
A 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()
/drivers/gpu/drm/etnaviv/
A 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()
A Detnaviv_gpu.h160 struct clk *clk_core; member
/drivers/media/platform/allegro-dvt/
A 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 …]

Completed in 42 milliseconds