Lines Matching refs:fclk
34 static struct clk *fclk; variable
58 unsigned long hclk, fclk, armclk; in s3c2440_cpufreq_calcdivs() local
61 fclk = cfg->freq.fclk; in s3c2440_cpufreq_calcdivs()
66 __func__, fclk, armclk, hclk_max); in s3c2440_cpufreq_calcdivs()
68 if (armclk > fclk) { in s3c2440_cpufreq_calcdivs()
70 armclk = fclk; in s3c2440_cpufreq_calcdivs()
74 if (armclk < fclk && armclk < hclk_max) in s3c2440_cpufreq_calcdivs()
81 hclk = (fclk / hdiv); in s3c2440_cpufreq_calcdivs()
111 if (armclk < fclk) { in s3c2440_cpufreq_calcdivs()
194 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
197 static int run_freq_for(unsigned long max_hclk, unsigned long fclk, in run_freq_for() argument
207 freq = fclk / div; in run_freq_for()
233 cfg->info->max.fclk, in s3c2440_cpufreq_calctable()
244 .fclk = 400000000,
272 fclk = s3c_cpufreq_clk_get(NULL, "fclk"); in s3c2440_cpufreq_add()
275 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { in s3c2440_cpufreq_add()