Lines Matching refs:MAX_CLUSTERS
30 #define MAX_CLUSTERS 2 macro
48 static struct clk *clk[MAX_CLUSTERS];
49 static struct cpufreq_frequency_table *freq_table[MAX_CLUSTERS + 1];
50 static atomic_t cluster_usage[MAX_CLUSTERS + 1];
58 static struct mutex cluster_lock[MAX_CLUSTERS];
68 MAX_CLUSTERS : raw_cpu_to_cluster(cpu); in cpu_to_cluster()
252 for (i = 0; i < MAX_CLUSTERS; i++) in merge_cluster_tables()
259 freq_table[MAX_CLUSTERS] = table; in merge_cluster_tables()
262 for (i = MAX_CLUSTERS - 1; i >= 0; i--, count = k) { in merge_cluster_tables()
300 if (cluster < MAX_CLUSTERS) in put_cluster_clk_and_freq_table()
361 if (cluster < MAX_CLUSTERS) { in get_cluster_clk_and_freq_table()
423 if (cur_cluster < MAX_CLUSTERS) { in ve_spc_cpufreq_init()
531 for (i = 0; i < MAX_CLUSTERS; i++) in ve_spc_cpufreq_probe()