Lines Matching full: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()
77 s3c_freq_dbg("%s: fclk is %lu, armclk %lu, max hclk %lu\n", in s3c2440_cpufreq_calcdivs()
78 __func__, fclk, armclk, hclk_max); in s3c2440_cpufreq_calcdivs()
80 if (armclk > fclk) { in s3c2440_cpufreq_calcdivs()
81 pr_warn("%s: armclk > fclk\n", __func__); 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()
120 /* if we're running armclk lower than fclk, this really means in s3c2440_cpufreq_calcdivs()
123 if (armclk < fclk) { in s3c2440_cpufreq_calcdivs()
208 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
211 static int run_freq_for(unsigned long max_hclk, unsigned long fclk, in run_freq_for() argument
221 freq = fclk / div; in run_freq_for()
247 cfg->info->max.fclk, in s3c2440_cpufreq_calctable()
258 .fclk = 400000000,
286 fclk = s3c_cpufreq_clk_get(NULL, "fclk"); in s3c2440_cpufreq_add()
289 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { in s3c2440_cpufreq_add()