Lines Matching refs:new_cluster
109 ve_spc_cpufreq_set_rate(u32 cpu, u32 old_cluster, u32 new_cluster, u32 rate) in ve_spc_cpufreq_set_rate() argument
115 mutex_lock(&cluster_lock[new_cluster]); in ve_spc_cpufreq_set_rate()
120 per_cpu(physical_cluster, cpu) = new_cluster; in ve_spc_cpufreq_set_rate()
122 new_rate = find_cluster_maxfreq(new_cluster); in ve_spc_cpufreq_set_rate()
123 new_rate = ACTUAL_FREQ(new_cluster, new_rate); in ve_spc_cpufreq_set_rate()
128 ret = clk_set_rate(clk[new_cluster], new_rate * 1000); in ve_spc_cpufreq_set_rate()
138 if (clk_get_rate(clk[new_cluster]) != new_rate * 1000) in ve_spc_cpufreq_set_rate()
148 mutex_unlock(&cluster_lock[new_cluster]); in ve_spc_cpufreq_set_rate()
153 mutex_unlock(&cluster_lock[new_cluster]); in ve_spc_cpufreq_set_rate()
156 if (old_cluster != new_cluster) { in ve_spc_cpufreq_set_rate()
158 bL_switch_request(cpu, new_cluster); in ve_spc_cpufreq_set_rate()
181 u32 cpu = policy->cpu, cur_cluster, new_cluster, actual_cluster; in ve_spc_cpufreq_set_target() local
185 new_cluster = actual_cluster = per_cpu(physical_cluster, cpu); in ve_spc_cpufreq_set_target()
191 new_cluster = A7_CLUSTER; in ve_spc_cpufreq_set_target()
194 new_cluster = A15_CLUSTER; in ve_spc_cpufreq_set_target()
197 return ve_spc_cpufreq_set_rate(cpu, actual_cluster, new_cluster, in ve_spc_cpufreq_set_target()