Lines Matching full:cpufreq
3 * S3C2416/2450 CPUfreq Support
15 #include <linux/cpufreq.h>
109 pr_err("cpufreq: Failed to set armdiv rate %dkHz: %d\n", in s3c2416_cpufreq_set_armdiv()
126 pr_debug("cpufreq: already in dvs mode, nothing to do\n"); in s3c2416_cpufreq_enter_dvs()
130 pr_debug("cpufreq: switching armclk to hclk (%lukHz)\n", in s3c2416_cpufreq_enter_dvs()
134 pr_err("cpufreq: Failed to switch armclk to hclk: %d\n", ret); in s3c2416_cpufreq_enter_dvs()
143 pr_debug("cpufreq: setting regulator to %d-%d\n", in s3c2416_cpufreq_enter_dvs()
151 pr_err("cpufreq: Failed to set VDDARM: %d\n", ret); in s3c2416_cpufreq_enter_dvs()
168 pr_debug("cpufreq: not in dvs mode, so can't leave\n"); in s3c2416_cpufreq_leave_dvs()
176 pr_debug("cpufreq: setting regulator to %d-%d\n", in s3c2416_cpufreq_leave_dvs()
182 pr_err("cpufreq: Failed to set VDDARM: %d\n", ret); in s3c2416_cpufreq_leave_dvs()
190 pr_debug("cpufreq: force armdiv to hclk frequency (%lukHz)\n", in s3c2416_cpufreq_leave_dvs()
195 pr_err("cpufreq: Failed to set the armdiv to %lukHz: %d\n", in s3c2416_cpufreq_leave_dvs()
201 pr_debug("cpufreq: switching armclk parent to armdiv (%lukHz)\n", in s3c2416_cpufreq_leave_dvs()
206 pr_err("cpufreq: Failed to switch armclk clock parent to armdiv: %d\n", in s3c2416_cpufreq_leave_dvs()
232 pr_debug("cpufreq: entering dvs mode not allowed\n"); in s3c2416_cpufreq_set_target()
246 pr_debug("cpufreq: enter dvs\n"); in s3c2416_cpufreq_set_target()
249 pr_debug("cpufreq: leave dvs\n"); in s3c2416_cpufreq_set_target()
252 pr_debug("cpufreq: change armdiv to %dkHz\n", new_freq); in s3c2416_cpufreq_set_target()
271 pr_err("cpufreq: Unable to check supported voltages\n"); in s3c2416_cpufreq_cfg_regulator()
290 pr_debug("cpufreq: %dkHz unsupported by regulator\n", in s3c2416_cpufreq_cfg_regulator()
321 pr_debug("cpufreq: leave dvs on reboot\n"); in s3c2416_cpufreq_reboot_notifier_evt()
325 pr_debug("cpufreq: get no policy for cpu0\n"); in s3c2416_cpufreq_reboot_notifier_evt()
357 pr_err("cpufreq: Unable to obtain msysclk: %d\n", ret); in s3c2416_cpufreq_driver_init()
368 pr_info("cpufreq: msysclk running at %lukHz, using S3C2416 frequency table\n", in s3c2416_cpufreq_driver_init()
373 pr_info("cpufreq: msysclk running at %lukHz, using S3C2450 frequency table\n", in s3c2416_cpufreq_driver_init()
383 pr_err("cpufreq: No frequency information for this CPU, msysclk at %lukHz\n", in s3c2416_cpufreq_driver_init()
393 pr_err("cpufreq: Unable to obtain ARMDIV: %d\n", ret); in s3c2416_cpufreq_driver_init()
400 pr_err("cpufreq: Unable to obtain HCLK: %d\n", ret); in s3c2416_cpufreq_driver_init()
409 pr_err("cpufreq: HCLK not at 133MHz\n"); in s3c2416_cpufreq_driver_init()
417 pr_err("cpufreq: Unable to obtain ARMCLK: %d\n", ret); in s3c2416_cpufreq_driver_init()
425 pr_err("cpufreq: Failed to obtain VDDARM: %d\n", ret); in s3c2416_cpufreq_driver_init()
438 pr_debug("cpufreq: %dkHz unsupported as it would need unavailable dvs mode\n", in s3c2416_cpufreq_driver_init()
451 pr_debug("cpufreq: %dkHz unsupported by clock (clk_round_rate return %lu)\n", in s3c2416_cpufreq_driver_init()