Lines Matching refs:hclk
65 unsigned long fclk, pclk, hclk, armclk; in s3c_cpufreq_getcur() local
68 cfg->freq.hclk = hclk = clk_get_rate(clk_hclk); in s3c_cpufreq_getcur()
75 cfg->freq.hclk_tns = 1000000000 / (cfg->freq.hclk / 10); in s3c_cpufreq_getcur()
77 cfg->divs.h_divisor = fclk / hclk; in s3c_cpufreq_getcur()
86 cfg->freq.hclk = pll / cfg->divs.h_divisor; in s3c_cpufreq_calc()
90 cfg->freq.hclk_tns = 1000000000 / (cfg->freq.hclk / 10); in s3c_cpufreq_calc()
106 cfg->freq.hclk, cfg->divs.h_divisor, in s3c_cpufreq_show()
188 if (cpu_new.freq.hclk != cpu_cur.freq.hclk) { in s3c_cpufreq_settarget()
211 s3c_cpufreq_updateclk(clk_hclk, cpu_new.freq.hclk); in s3c_cpufreq_settarget()
224 if (cpu_new.freq.hclk < cpu_cur.freq.hclk) { in s3c_cpufreq_settarget()
248 if (cpu_new.freq.hclk > cpu_cur.freq.hclk) { in s3c_cpufreq_settarget()
541 dst->hclk = do_min(a->hclk, b->hclk); in s3c_cpufreq_freq_min()