newfreq 2060 drivers/cpufreq/cpufreq.c unsigned int newfreq = policy->freq_table[index].frequency; newfreq 2064 drivers/cpufreq/cpufreq.c if (newfreq == policy->cur) newfreq 2081 drivers/cpufreq/cpufreq.c freqs.new = newfreq; newfreq 34 drivers/cpufreq/spear-cpufreq.c static struct clk *spear1340_cpu_get_possible_parent(unsigned long newfreq) newfreq 53 drivers/cpufreq/spear-cpufreq.c if (newfreq <= 300000000) newfreq 55 drivers/cpufreq/spear-cpufreq.c else if (newfreq > 300000000 && newfreq <= 500000000) newfreq 57 drivers/cpufreq/spear-cpufreq.c else if (newfreq == 600000000) newfreq 76 drivers/cpufreq/spear-cpufreq.c static int spear1340_set_cpu_rate(struct clk *sys_pclk, unsigned long newfreq) newfreq 88 drivers/cpufreq/spear-cpufreq.c ret = clk_set_rate(sys_pclk, newfreq); newfreq 90 drivers/cpufreq/spear-cpufreq.c pr_err("Failed to set sys clk rate to %lu\n", newfreq); newfreq 106 drivers/cpufreq/spear-cpufreq.c long newfreq; newfreq 110 drivers/cpufreq/spear-cpufreq.c newfreq = spear_cpufreq.freq_tbl[index].frequency * 1000; newfreq 120 drivers/cpufreq/spear-cpufreq.c srcclk = spear1340_cpu_get_possible_parent(newfreq); newfreq 136 drivers/cpufreq/spear-cpufreq.c newfreq = clk_round_rate(srcclk, newfreq * mult); newfreq 137 drivers/cpufreq/spear-cpufreq.c if (newfreq <= 0) { newfreq 139 drivers/cpufreq/spear-cpufreq.c return newfreq; newfreq 143 drivers/cpufreq/spear-cpufreq.c ret = spear1340_set_cpu_rate(srcclk, newfreq); newfreq 145 drivers/cpufreq/spear-cpufreq.c ret = clk_set_rate(spear_cpufreq.clk, newfreq);