Lines Matching full:fclk
43 static struct clk *fclk; variable
52 unsigned long hclk, fclk, armclk, armdiv_clk; in s3c2412_cpufreq_calcdivs() local
55 fclk = cfg->freq.fclk; in s3c2412_cpufreq_calcdivs()
65 s3c_freq_dbg("%s: fclk=%lu, armclk=%lu, hclk_max=%lu\n", in s3c2412_cpufreq_calcdivs()
66 __func__, fclk, armclk, hclk_max); in s3c2412_cpufreq_calcdivs()
68 __func__, cfg->freq.fclk, cfg->freq.armclk, in s3c2412_cpufreq_calcdivs()
71 armdiv = fclk / armclk; in s3c2412_cpufreq_calcdivs()
79 armdiv_clk = fclk / armdiv; in s3c2412_cpufreq_calcdivs()
148 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
157 .fclk = 200000000,
191 fclk = clk_get(NULL, "fclk"); in s3c2412_cpufreq_add()
192 if (IS_ERR(fclk)) { in s3c2412_cpufreq_add()
193 pr_err("cannot find fclk clock\n"); in s3c2412_cpufreq_add()
197 fclk_rate = clk_get_rate(fclk); in s3c2412_cpufreq_add()
199 pr_info("fclk %ld MHz, assuming 266MHz capable part\n", in s3c2412_cpufreq_add()
201 s3c2412_cpufreq_info.max.fclk = 266000000; in s3c2412_cpufreq_add()
223 clk_put(fclk); in s3c2412_cpufreq_add()