Lines Matching refs:armclk
45 static struct clk *armclk; variable
52 unsigned long hclk, fclk, armclk, armdiv_clk; in s3c2412_cpufreq_calcdivs() local
56 armclk = cfg->freq.armclk; in s3c2412_cpufreq_calcdivs()
62 if (hclk_max > armclk) in s3c2412_cpufreq_calcdivs()
63 hclk_max = armclk; 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()
88 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs()
91 cfg->freq.armclk = dvs ? hclk : armdiv_clk; in s3c2412_cpufreq_calcdivs()
94 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
148 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
206 armclk = clk_get(NULL, "armclk"); in s3c2412_cpufreq_add()
207 if (IS_ERR(armclk)) { in s3c2412_cpufreq_add()
221 clk_put(armclk); in s3c2412_cpufreq_add()