Lines Matching full:fclk
36 static struct clk *fclk; variable
60 unsigned long hclk, fclk, armclk; in s3c2440_cpufreq_calcdivs() local
63 fclk = cfg->freq.fclk; in s3c2440_cpufreq_calcdivs()
67 s3c_freq_dbg("%s: fclk is %lu, armclk %lu, max hclk %lu\n", in s3c2440_cpufreq_calcdivs()
68 __func__, fclk, armclk, hclk_max); in s3c2440_cpufreq_calcdivs()
70 if (armclk > fclk) { in s3c2440_cpufreq_calcdivs()
71 pr_warn("%s: armclk > fclk\n", __func__); in s3c2440_cpufreq_calcdivs()
72 armclk = fclk; in s3c2440_cpufreq_calcdivs()
76 if (armclk < fclk && armclk < hclk_max) in s3c2440_cpufreq_calcdivs()
83 hclk = (fclk / hdiv); in s3c2440_cpufreq_calcdivs()
110 /* if we're running armclk lower than fclk, this really means in s3c2440_cpufreq_calcdivs()
113 if (armclk < fclk) { in s3c2440_cpufreq_calcdivs()
196 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
199 static int run_freq_for(unsigned long max_hclk, unsigned long fclk, in run_freq_for() argument
209 freq = fclk / div; in run_freq_for()
235 cfg->info->max.fclk, in s3c2440_cpufreq_calctable()
246 .fclk = 400000000,
274 fclk = s3c_cpufreq_clk_get(NULL, "fclk"); in s3c2440_cpufreq_add()
277 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { in s3c2440_cpufreq_add()