Home
last modified time | relevance | path

Searched refs:armclk (Results 1 – 7 of 7) sorted by relevance

/drivers/cpufreq/
Ds3c2440-cpufreq.c48 static struct clk *armclk; variable
70 unsigned long hclk, fclk, armclk; in s3c2440_cpufreq_calcdivs() local
74 armclk = cfg->freq.armclk; in s3c2440_cpufreq_calcdivs()
78 __func__, fclk, armclk, hclk_max); in s3c2440_cpufreq_calcdivs()
80 if (armclk > fclk) { in s3c2440_cpufreq_calcdivs()
82 armclk = fclk; in s3c2440_cpufreq_calcdivs()
86 if (armclk < fclk && armclk < hclk_max) in s3c2440_cpufreq_calcdivs()
87 hclk_max = armclk; in s3c2440_cpufreq_calcdivs()
117 if (armclk < hclk) in s3c2440_cpufreq_calcdivs()
118 armclk = hclk; in s3c2440_cpufreq_calcdivs()
[all …]
Ds3c2412-cpufreq.c45 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()
[all …]
Ddavinci-cpufreq.c29 struct clk *armclk; member
38 struct clk *armclk = cpufreq.armclk; in davinci_target() local
52 ret = clk_set_rate(armclk, new_freq * 1000); in davinci_target()
85 policy->clk = cpufreq.armclk; in davinci_cpu_init()
119 cpufreq.armclk = clk_get(NULL, "arm"); in davinci_cpufreq_probe()
120 if (IS_ERR(cpufreq.armclk)) { in davinci_cpufreq_probe()
122 return PTR_ERR(cpufreq.armclk); in davinci_cpufreq_probe()
136 clk_put(cpufreq.armclk); in davinci_cpufreq_remove()
Ds3c2416-cpufreq.c26 struct clk *armclk; member
98 return clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_get_speed()
132 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->hclk); in s3c2416_cpufreq_enter_dvs()
204 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->armdiv); in s3c2416_cpufreq_leave_dvs()
414 s3c_freq->armclk = clk_get(NULL, "armclk"); in s3c2416_cpufreq_driver_init()
415 if (IS_ERR(s3c_freq->armclk)) { in s3c2416_cpufreq_driver_init()
416 ret = PTR_ERR(s3c_freq->armclk); in s3c2416_cpufreq_driver_init()
468 clk_put(s3c_freq->armclk); in s3c2416_cpufreq_driver_init()
Ds3c24xx-cpufreq.c60 unsigned long fclk, pclk, hclk, armclk; in s3c_cpufreq_getcur() local
65 cfg->freq.armclk = armclk = clk_get_rate(clk_arm); in s3c_cpufreq_getcur()
100 pfx, cfg->pll.frequency, cfg->freq.fclk, cfg->freq.armclk, in s3c_cpufreq_show()
169 cpu_new.freq.armclk = target_freq; in s3c_cpufreq_settarget()
197 freqs.freqs.old = cpu_cur.freq.armclk / 1000; in s3c_cpufreq_settarget()
198 freqs.freqs.new = cpu_new.freq.armclk / 1000; in s3c_cpufreq_settarget()
518 dst->armclk = do_min(a->armclk, b->armclk); in s3c_cpufreq_freq_min()
Ds3c24xx-cpufreq-debugfs.c33 f->fclk, f->hclk, f->pclk, f->armclk); in show_max()
79 seq_printf(seq, "ARMCLK %ld Hz\n", cfg->freq.armclk); in info_show()
Ds3c2410-cpufreq.c52 cfg->freq.armclk = fclk; in s3c2410_cpufreq_calcdivs()