Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/cpufreq/
Ds3c2440-cpufreq.c38 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()
[all …]
Ds3c2412-cpufreq.c39 static struct clk *armclk; variable
46 unsigned long hclk, fclk, armclk, armdiv_clk; in s3c2412_cpufreq_calcdivs() local
50 armclk = cfg->freq.armclk; in s3c2412_cpufreq_calcdivs()
56 if (hclk_max > armclk) in s3c2412_cpufreq_calcdivs()
57 hclk_max = armclk; in s3c2412_cpufreq_calcdivs()
60 __func__, fclk, armclk, hclk_max); in s3c2412_cpufreq_calcdivs()
62 __func__, cfg->freq.fclk, cfg->freq.armclk, in s3c2412_cpufreq_calcdivs()
65 armdiv = fclk / armclk; in s3c2412_cpufreq_calcdivs()
82 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs()
85 cfg->freq.armclk = dvs ? hclk : armdiv_clk; in s3c2412_cpufreq_calcdivs()
[all …]
Ddavinci-cpufreq.c35 struct clk *armclk; member
44 struct clk *armclk = cpufreq.armclk; in davinci_target() local
58 ret = clk_set_rate(armclk, new_freq * 1000); in davinci_target()
91 policy->clk = cpufreq.armclk; in davinci_cpu_init()
124 cpufreq.armclk = clk_get(NULL, "arm"); in davinci_cpufreq_probe()
125 if (IS_ERR(cpufreq.armclk)) { in davinci_cpufreq_probe()
127 return PTR_ERR(cpufreq.armclk); in davinci_cpufreq_probe()
141 clk_put(cpufreq.armclk); in davinci_cpufreq_remove()
Ds3c2416-cpufreq.c29 struct clk *armclk; member
101 return clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_get_speed()
135 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->hclk); in s3c2416_cpufreq_enter_dvs()
207 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->armdiv); in s3c2416_cpufreq_leave_dvs()
407 s3c_freq->armclk = clk_get(NULL, "armclk"); in s3c2416_cpufreq_driver_init()
408 if (IS_ERR(s3c_freq->armclk)) { in s3c2416_cpufreq_driver_init()
409 ret = PTR_ERR(s3c_freq->armclk); in s3c2416_cpufreq_driver_init()
467 clk_put(s3c_freq->armclk); in s3c2416_cpufreq_driver_init()
Ds3c24xx-cpufreq.c67 unsigned long fclk, pclk, hclk, armclk; in s3c_cpufreq_getcur() local
72 cfg->freq.armclk = armclk = clk_get_rate(clk_arm); in s3c_cpufreq_getcur()
107 pfx, cfg->pll.frequency, cfg->freq.fclk, cfg->freq.armclk, in s3c_cpufreq_show()
176 cpu_new.freq.armclk = target_freq; in s3c_cpufreq_settarget()
204 freqs.freqs.old = cpu_cur.freq.armclk / 1000; in s3c_cpufreq_settarget()
205 freqs.freqs.new = cpu_new.freq.armclk / 1000; in s3c_cpufreq_settarget()
525 dst->armclk = do_min(a->armclk, b->armclk); in s3c_cpufreq_freq_min()
Ds3c24xx-cpufreq-debugfs.c36 f->fclk, f->hclk, f->pclk, f->armclk); in show_max()
93 seq_printf(seq, "ARMCLK %ld Hz\n", cfg->freq.armclk); in info_show()
Ds3c2410-cpufreq.c55 cfg->freq.armclk = fclk; in s3c2410_cpufreq_calcdivs()