Lines Matching refs:armclk
38 static struct clk *armclk; variable
60 unsigned long hclk, fclk, armclk; in s3c2440_cpufreq_calcdivs() local
64 armclk = cfg->freq.armclk; in s3c2440_cpufreq_calcdivs()
68 __func__, fclk, armclk, hclk_max); in s3c2440_cpufreq_calcdivs()
70 if (armclk > fclk) { in s3c2440_cpufreq_calcdivs()
72 armclk = fclk; in s3c2440_cpufreq_calcdivs()
76 if (armclk < fclk && armclk < hclk_max) in s3c2440_cpufreq_calcdivs()
77 hclk_max = armclk; in s3c2440_cpufreq_calcdivs()
107 if (armclk < hclk) in s3c2440_cpufreq_calcdivs()
108 armclk = hclk; in s3c2440_cpufreq_calcdivs()
113 if (armclk < fclk) { in s3c2440_cpufreq_calcdivs()
115 armclk = hclk; in s3c2440_cpufreq_calcdivs()
119 cfg->freq.armclk = armclk; in s3c2440_cpufreq_calcdivs()
196 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
275 armclk = s3c_cpufreq_clk_get(NULL, "armclk"); in s3c2440_cpufreq_add()
277 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { in s3c2440_cpufreq_add()