Home
last modified time | relevance | path

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

/drivers/clk/
Dclk.c44 struct clk_core { struct
49 struct clk_core *parent; argument
51 struct clk_core **parents; argument
57 struct clk_core *new_parent; argument
58 struct clk_core *new_child; argument
82 struct clk_core *core; argument
151 static bool clk_core_is_prepared(struct clk_core *core) in clk_core_is_prepared()
163 static bool clk_core_is_enabled(struct clk_core *core) in clk_core_is_enabled()
207 static struct clk_core *__clk_lookup_subtree(const char *name, in __clk_lookup_subtree()
208 struct clk_core *core) in __clk_lookup_subtree()
[all …]
/drivers/mmc/host/
Dsdhci-pxav3.c62 struct clk *clk_core; member
415 pxa->clk_core = devm_clk_get(dev, "core"); in sdhci_pxav3_probe()
416 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_probe()
417 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_probe()
499 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_probe()
518 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_remove()
566 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_suspend()
567 clk_disable_unprepare(pxa->clk_core); in sdhci_pxav3_runtime_suspend()
579 if (!IS_ERR(pxa->clk_core)) in sdhci_pxav3_runtime_resume()
580 clk_prepare_enable(pxa->clk_core); in sdhci_pxav3_runtime_resume()
/drivers/phy/
Dphy-rockchip-typec.c277 struct clk *clk_core; member
543 ret = clk_prepare_enable(tcphy->clk_core); in tcphy_phy_init()
607 clk_disable_unprepare(tcphy->clk_core); in tcphy_phy_init()
616 clk_disable_unprepare(tcphy->clk_core); in tcphy_phy_deinit()
879 tcphy->clk_core = devm_clk_get(dev, "tcpdcore"); in tcphy_parse_dt()
880 if (IS_ERR(tcphy->clk_core)) { in tcphy_parse_dt()
882 return PTR_ERR(tcphy->clk_core); in tcphy_parse_dt()
/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.c1441 if (gpu->clk_core) { in etnaviv_gpu_clk_enable()
1442 ret = clk_prepare_enable(gpu->clk_core); in etnaviv_gpu_clk_enable()
1456 if (gpu->clk_core) in etnaviv_gpu_clk_enable()
1457 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_enable()
1469 if (gpu->clk_core) in etnaviv_gpu_clk_disable()
1470 clk_disable_unprepare(gpu->clk_core); in etnaviv_gpu_clk_disable()
1655 gpu->clk_core = devm_clk_get(&pdev->dev, "core"); in etnaviv_gpu_platform_probe()
1656 DBG("clk_core: %p", gpu->clk_core); in etnaviv_gpu_platform_probe()
1657 if (IS_ERR(gpu->clk_core)) in etnaviv_gpu_platform_probe()
1658 gpu->clk_core = NULL; in etnaviv_gpu_platform_probe()
Detnaviv_gpu.h141 struct clk *clk_core; member