Lines Matching defs:cluster
123 * mips_cps_cluster_config - return (GCR|CPC)_CONFIG from a cluster
124 * @cluster: the ID of the cluster whose config we want
126 * Read the value of GCR_CONFIG (or its CPC_CONFIG mirror) from a @cluster.
130 static inline uint64_t mips_cps_cluster_config(unsigned int cluster)
138 * within this cluster.
140 WARN_ON(cluster != 0);
148 mips_cm_lock_other(cluster, 0, 0, CM_GCR_Cx_OTHER_BLOCK_GLOBAL);
157 * mips_cps_numcores - return the number of cores present in a cluster
158 * @cluster: the ID of the cluster whose core count we want
163 static inline unsigned int mips_cps_numcores(unsigned int cluster)
170 mips_cps_cluster_config(cluster) + 1);
174 * mips_cps_numiocu - return the number of IOCUs present in a cluster
175 * @cluster: the ID of the cluster whose IOCU count we want
180 static inline unsigned int mips_cps_numiocu(unsigned int cluster)
186 mips_cps_cluster_config(cluster));
191 * @cluster: the ID of the cluster containing the core we want to examine
195 * are supported by the given @core in the given @cluster. If the core or the
198 static inline unsigned int mips_cps_numvps(unsigned int cluster, unsigned int core)
209 mips_cm_lock_other(cluster, core, 0, CM_GCR_Cx_OTHER_BLOCK_LOCAL);
213 * Prior to CM 3.5 we can only have one cluster & don't have
221 * up the cluster's CM here.