Lines Matching +full:mips +full:- +full:cpc
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Author: Paul Burton <paul.burton@mips.com>
106 #include <asm/mips-cm.h>
107 #include <asm/mips-cpc.h>
108 #include <asm/mips-gic.h>
111 * mips_cps_numclusters - return the number of clusters present in the system
124 * mips_cps_cluster_config - return (GCR|CPC)_CONFIG from a cluster
146 * GCR_CONFIG via the redirect region, since the CPC is always in mips_cps_cluster_config()
158 * mips_cps_numcores - return the number of cores present in a cluster
175 * mips_cps_numiocu - return the number of IOCUs present in a cluster
191 * mips_cps_numvps - return the number of VPs (threads) supported by a core
197 * kernel do not support hardware mutlti-threading this returns 1.
220 * From CM 3.5 onwards we read CPC_Cx_CONFIG because the CPC is in mips_cps_numvps()
233 * mips_cps_multicluster_cpus() - Detect whether CPUs are in multiple clusters
235 * Determine whether the system includes CPUs in multiple clusters - ie.
236 * whether we can treat the system as single or multi-cluster as far as CPUs
238 * whether multiple clusters are present - it is possible for there to be
248 * CPUs are numbered sequentially by cluster - ie. CPUs 0..X will be in in mips_cps_multicluster_cpus()
255 last_cl = cpu_cluster(&cpu_data[nr_cpu_ids - 1]); in mips_cps_multicluster_cpus()
260 * mips_cps_first_online_in_cluster() - Detect if CPU is first online in cluster
263 * cluster - that is, whether there are any other online CPUs in the local