Lines Matching full:cluster

3  * arch/arm/common/bL_switcher.c -- big.LITTLE cluster switcher core driver
118 * with the cluster number.
141 * bL_switch_to - Switch to a specific cluster for the current CPU
142 * @new_cluster_id: the ID of the cluster to switch to.
273 int cluster;
288 cluster = t->wanted_cluster;
295 if (cluster != -1) {
296 bL_switch_to(cluster);
319 * bL_switch_request_cb - Switch to a specific cluster for the given CPU,
323 * @new_cluster_id: the ID of the cluster to switch to.
329 * This function causes a cluster switch on the given CPU by waking up
420 unsigned int cpu, cluster, mask;
427 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1);
428 if (cluster >= 2) {
429 pr_err("%s: only dual cluster systems are supported\n", __func__);
434 mask |= (1 << cluster);
443 * from a different cluster. To get a uniform scheduling behavior
445 * we'll use logical CPUs initially belonging to the same cluster.
452 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1);
454 cluster_0 = cluster;
455 if (cluster != cluster_0)
459 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(j), 1);
466 if (cluster != cluster_0)
483 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1);
492 bL_gic_id[cpu][cluster] = gic_id;
493 pr_info("GIC ID for CPU %u cluster %u is %u\n",
494 cpu, cluster, gic_id);
497 bL_switcher_cpu_original_cluster[i] = cluster;
602 unsigned int cpu, cluster;
622 * Then, if the final cluster for given logical CPU is not the
635 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(cpu), 1);
636 if (cluster == bL_switcher_cpu_original_cluster[cpu])
644 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(cpu), 1);
645 if (cluster == bL_switcher_cpu_original_cluster[cpu])
649 pr_crit("%s: unable to restore original cluster for CPU %d\n",