Lines Matching full: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) in mips_cps_cluster_config() argument
138 * within this cluster. in mips_cps_cluster_config()
140 WARN_ON(cluster != 0); in mips_cps_cluster_config()
148 mips_cm_lock_other(cluster, 0, 0, CM_GCR_Cx_OTHER_BLOCK_GLOBAL); in mips_cps_cluster_config()
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) in mips_cps_numcores() argument
170 mips_cps_cluster_config(cluster) + 1); in mips_cps_numcores()
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) in mips_cps_numiocu() argument
186 mips_cps_cluster_config(cluster)); in mips_cps_numiocu()
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) in mips_cps_numvps() argument
209 mips_cm_lock_other(cluster, core, 0, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in mips_cps_numvps()
213 * Prior to CM 3.5 we can only have one cluster & don't have in mips_cps_numvps()
221 * up the cluster's CM here. in mips_cps_numvps()