Lines Matching full:hclk
60 unsigned long fclk, pclk, hclk, armclk; in s3c_cpufreq_getcur() local
63 cfg->freq.hclk = hclk = clk_get_rate(clk_hclk); in s3c_cpufreq_getcur()
70 cfg->freq.hclk_tns = 1000000000 / (cfg->freq.hclk / 10); in s3c_cpufreq_getcur()
72 cfg->divs.h_divisor = fclk / hclk; in s3c_cpufreq_getcur()
81 cfg->freq.hclk = pll / cfg->divs.h_divisor; in s3c_cpufreq_calc()
84 /* convert hclk into 10ths of nanoseconds for io calcs */ in s3c_cpufreq_calc()
85 cfg->freq.hclk_tns = 1000000000 / (cfg->freq.hclk / 10); in s3c_cpufreq_calc()
101 cfg->freq.hclk, cfg->divs.h_divisor, in s3c_cpufreq_show()
183 if (cpu_new.freq.hclk != cpu_cur.freq.hclk) { in s3c_cpufreq_settarget()
206 s3c_cpufreq_updateclk(clk_hclk, cpu_new.freq.hclk); in s3c_cpufreq_settarget()
212 /* If hclk is staying the same, then we do not need to in s3c_cpufreq_settarget()
219 if (cpu_new.freq.hclk < cpu_cur.freq.hclk) { in s3c_cpufreq_settarget()
243 if (cpu_new.freq.hclk > cpu_cur.freq.hclk) { in s3c_cpufreq_settarget()
358 clk_hclk = s3c_cpufreq_clk_get(NULL, "hclk"); in s3c_cpufreq_initclks()
516 dst->hclk = do_min(a->hclk, b->hclk); in s3c_cpufreq_freq_min()