Lines Matching refs:fclk
46 static struct clk *fclk; variable
70 unsigned long hclk, fclk, armclk; in s3c2440_cpufreq_calcdivs() local
73 fclk = cfg->freq.fclk; in s3c2440_cpufreq_calcdivs()
78 __func__, fclk, armclk, hclk_max); in s3c2440_cpufreq_calcdivs()
80 if (armclk > fclk) { in s3c2440_cpufreq_calcdivs()
82 armclk = fclk; in s3c2440_cpufreq_calcdivs()
86 if (armclk < fclk && armclk < hclk_max) in s3c2440_cpufreq_calcdivs()
93 hclk = (fclk / hdiv); in s3c2440_cpufreq_calcdivs()
123 if (armclk < fclk) { in s3c2440_cpufreq_calcdivs()
206 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
209 static int run_freq_for(unsigned long max_hclk, unsigned long fclk, in run_freq_for() argument
219 freq = fclk / div; in run_freq_for()
245 cfg->info->max.fclk, in s3c2440_cpufreq_calctable()
256 .fclk = 400000000,
284 fclk = s3c_cpufreq_clk_get(NULL, "fclk"); in s3c2440_cpufreq_add()
287 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { in s3c2440_cpufreq_add()