Lines Matching refs:TC2_CLUSTERS
41 #define TC2_CLUSTERS 2 macro
44 static unsigned int tc2_nr_cpus[TC2_CLUSTERS];
49 if (cluster >= TC2_CLUSTERS || cpu >= tc2_nr_cpus[cluster]) in tc2_pm_cpu_powerup()
60 if (cluster >= TC2_CLUSTERS) in tc2_pm_cluster_powerup()
69 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_cpu_powerdown_prepare()
84 BUG_ON(cluster >= TC2_CLUSTERS); in tc2_pm_cluster_powerdown_prepare()
129 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_wait_for_powerdown()
163 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_cpu_is_up()
171 BUG_ON(cluster >= TC2_CLUSTERS); in tc2_pm_cluster_is_up()
220 if (a15_cluster_id >= TC2_CLUSTERS || a7_cluster_id >= TC2_CLUSTERS) in tc2_pm_init()
246 if (cluster >= TC2_CLUSTERS || cpu >= tc2_nr_cpus[cluster]) { in tc2_pm_init()