Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/cpufreq/
Dmediatek-cpufreq.c50 struct clk *inter_clk; member
260 ret = clk_set_parent(cpu_clk, info->inter_clk); in mtk_cpufreq_set_target()
298 clk_set_parent(cpu_clk, info->inter_clk); in mtk_cpufreq_set_target()
323 struct clk *inter_clk = ERR_PTR(-ENODEV); in mtk_cpu_dvfs_info_init() local
345 inter_clk = clk_get(cpu_dev, "intermediate"); in mtk_cpu_dvfs_info_init()
346 if (IS_ERR(inter_clk)) { in mtk_cpu_dvfs_info_init()
347 if (PTR_ERR(inter_clk) == -EPROBE_DEFER) in mtk_cpu_dvfs_info_init()
354 ret = PTR_ERR(inter_clk); in mtk_cpu_dvfs_info_init()
389 rate = clk_get_rate(inter_clk); in mtk_cpu_dvfs_info_init()
403 info->inter_clk = inter_clk; in mtk_cpu_dvfs_info_init()
[all …]