Searched refs:armdiv (Results 1 – 3 of 3) sorted by relevance
/drivers/cpufreq/ |
D | s3c2412-cpufreq.c | 42 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local 62 armdiv = fclk / armclk; in s3c2412_cpufreq_calcdivs() 64 if (armdiv < 1) in s3c2412_cpufreq_calcdivs() 65 armdiv = 1; in s3c2412_cpufreq_calcdivs() 66 if (armdiv > 2) in s3c2412_cpufreq_calcdivs() 67 armdiv = 2; in s3c2412_cpufreq_calcdivs() 69 cfg->divs.arm_divisor = armdiv; in s3c2412_cpufreq_calcdivs() 70 armdiv_clk = fclk / armdiv; in s3c2412_cpufreq_calcdivs() 85 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs() 106 cfg->divs.h_divisor = hdiv * armdiv; in s3c2412_cpufreq_calcdivs() [all …]
|
D | s3c2416-cpufreq.c | 25 struct clk *armdiv; member 106 if (clk_get_rate(s3c_freq->armdiv) / 1000 != freq) { in s3c2416_cpufreq_set_armdiv() 107 ret = clk_set_rate(s3c_freq->armdiv, freq * 1000); in s3c2416_cpufreq_set_armdiv() 189 if (clk_get_rate(s3c_freq->armdiv) > clk_get_rate(s3c_freq->hclk)) { in s3c2416_cpufreq_leave_dvs() 202 clk_get_rate(s3c_freq->armdiv) / 1000); in s3c2416_cpufreq_leave_dvs() 204 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->armdiv); in s3c2416_cpufreq_leave_dvs() 380 s3c_freq->armdiv = clk_get(NULL, "armdiv"); in s3c2416_cpufreq_driver_init() 381 if (IS_ERR(s3c_freq->armdiv)) { in s3c2416_cpufreq_driver_init() 382 ret = PTR_ERR(s3c_freq->armdiv); in s3c2416_cpufreq_driver_init() 437 rate = clk_round_rate(s3c_freq->armdiv, in s3c2416_cpufreq_driver_init() [all …]
|
D | Kconfig.arm | 221 armdiv clock source and also entering a so called dynamic
|