Lines Matching refs:fclk
35 static struct clk *fclk; variable
44 unsigned long hclk, fclk, armclk, armdiv_clk; in s3c2412_cpufreq_calcdivs() local
47 fclk = cfg->freq.fclk; in s3c2412_cpufreq_calcdivs()
58 __func__, fclk, armclk, hclk_max); in s3c2412_cpufreq_calcdivs()
60 __func__, cfg->freq.fclk, cfg->freq.armclk, in s3c2412_cpufreq_calcdivs()
63 armdiv = fclk / armclk; in s3c2412_cpufreq_calcdivs()
71 armdiv_clk = fclk / armdiv; in s3c2412_cpufreq_calcdivs()
140 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
170 .fclk = 200000000,
204 fclk = clk_get(NULL, "fclk"); in s3c2412_cpufreq_add()
205 if (IS_ERR(fclk)) { in s3c2412_cpufreq_add()
210 fclk_rate = clk_get_rate(fclk); in s3c2412_cpufreq_add()
215 s3c2412_cpufreq_info.max.fclk = 266000000; in s3c2412_cpufreq_add()
237 clk_put(fclk); in s3c2412_cpufreq_add()