Lines Matching refs:MAX_CLUSTERS
32 #define MAX_CLUSTERS 2
50 static struct thermal_cooling_device *cdev[MAX_CLUSTERS];
51 static struct clk *clk[MAX_CLUSTERS];
52 static struct cpufreq_frequency_table *freq_table[MAX_CLUSTERS + 1];
53 static atomic_t cluster_usage[MAX_CLUSTERS + 1];
61 static struct mutex cluster_lock[MAX_CLUSTERS];
71 MAX_CLUSTERS : raw_cpu_to_cluster(cpu);
255 for (i = 0; i < MAX_CLUSTERS; i++)
262 freq_table[MAX_CLUSTERS] = table;
265 for (i = MAX_CLUSTERS - 1; i >= 0; i--, count = k) {
303 if (cluster < MAX_CLUSTERS)
364 if (cluster < MAX_CLUSTERS) {
426 if (cur_cluster < MAX_CLUSTERS) {
460 if (cur_cluster < MAX_CLUSTERS) {
481 if (cur_cluster >= MAX_CLUSTERS)
554 for (i = 0; i < MAX_CLUSTERS; i++)