Lines Matching refs:MAX_CLUSTERS
31 #define MAX_CLUSTERS 2 macro
49 static struct clk *clk[MAX_CLUSTERS];
50 static struct cpufreq_frequency_table *freq_table[MAX_CLUSTERS + 1];
51 static atomic_t cluster_usage[MAX_CLUSTERS + 1];
59 static struct mutex cluster_lock[MAX_CLUSTERS];
69 MAX_CLUSTERS : raw_cpu_to_cluster(cpu); in cpu_to_cluster()
253 for (i = 0; i < MAX_CLUSTERS; i++) in merge_cluster_tables()
260 freq_table[MAX_CLUSTERS] = table; in merge_cluster_tables()
263 for (i = MAX_CLUSTERS - 1; i >= 0; i--, count = k) { in merge_cluster_tables()
301 if (cluster < MAX_CLUSTERS) in put_cluster_clk_and_freq_table()
362 if (cluster < MAX_CLUSTERS) { in get_cluster_clk_and_freq_table()
424 if (cur_cluster < MAX_CLUSTERS) { in ve_spc_cpufreq_init()
532 for (i = 0; i < MAX_CLUSTERS; i++) in ve_spc_cpufreq_probe()