Lines Matching refs:MAX_CLUSTERS
40 #define MAX_CLUSTERS 2 macro
59 static struct clk *clk[MAX_CLUSTERS];
60 static struct cpufreq_frequency_table *freq_table[MAX_CLUSTERS + 1];
61 static atomic_t cluster_usage[MAX_CLUSTERS + 1];
69 static struct mutex cluster_lock[MAX_CLUSTERS];
79 MAX_CLUSTERS : raw_cpu_to_cluster(cpu); in cpu_to_cluster()
270 for (i = 0; i < MAX_CLUSTERS; i++) in merge_cluster_tables()
277 freq_table[MAX_CLUSTERS] = table; in merge_cluster_tables()
280 for (i = MAX_CLUSTERS - 1; i >= 0; i--) { in merge_cluster_tables()
321 if (cluster < MAX_CLUSTERS) in put_cluster_clk_and_freq_table()
390 if (cluster < MAX_CLUSTERS) { in get_cluster_clk_and_freq_table()
468 if (cur_cluster < MAX_CLUSTERS) { in bL_cpufreq_init()
589 for (i = 0; i < MAX_CLUSTERS; i++) in bL_cpufreq_register()