Searched refs:armdiv (Results 1 – 3 of 3) sorted by relevance
/drivers/cpufreq/ |
D | s3c2412-cpufreq.c | 51 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local 71 armdiv = fclk / armclk; in s3c2412_cpufreq_calcdivs() 73 if (armdiv < 1) in s3c2412_cpufreq_calcdivs() 74 armdiv = 1; in s3c2412_cpufreq_calcdivs() 75 if (armdiv > 2) in s3c2412_cpufreq_calcdivs() 76 armdiv = 2; in s3c2412_cpufreq_calcdivs() 78 cfg->divs.arm_divisor = armdiv; in s3c2412_cpufreq_calcdivs() 79 armdiv_clk = fclk / armdiv; in s3c2412_cpufreq_calcdivs() 94 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs() 115 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() 390 s3c_freq->armdiv = clk_get(NULL, "armdiv"); in s3c2416_cpufreq_driver_init() 391 if (IS_ERR(s3c_freq->armdiv)) { in s3c2416_cpufreq_driver_init() 392 ret = PTR_ERR(s3c_freq->armdiv); in s3c2416_cpufreq_driver_init() 447 rate = clk_round_rate(s3c_freq->armdiv, in s3c2416_cpufreq_driver_init() [all …]
|
D | Kconfig.arm | 216 armdiv clock source and also entering a so called dynamic
|