Lines Matching refs:cluster
105 static inline u32 init_type(u32 cluster, int init_id) in init_type() argument
108 u32 idx = (cluster >> (init_id * 8)) & TP_CLUSTER_INIT_MASK; in init_type()
121 u32 cluster, type, mask = 0; in compute_ppc_cpumask() local
125 cluster = in_be32(&gur->tp_cluster[i].lower); in compute_ppc_cpumask()
127 type = init_type(cluster, j); in compute_ppc_cpumask()
135 } while ((cluster & TP_CLUSTER_EOC) != TP_CLUSTER_EOC); in compute_ppc_cpumask()
145 u32 cluster, type, dsp_mask = 0; in compute_dsp_cpumask() local
149 cluster = in_be32(&gur->tp_cluster[i].lower); in compute_dsp_cpumask()
151 type = init_type(cluster, j); in compute_dsp_cpumask()
159 } while ((cluster & TP_CLUSTER_EOC) != TP_CLUSTER_EOC); in compute_dsp_cpumask()
168 u32 cluster; in fsl_qoriq_dsp_core_to_cluster() local
172 cluster = in_be32(&gur->tp_cluster[i].lower); in fsl_qoriq_dsp_core_to_cluster()
174 if (init_type(cluster, j)) { in fsl_qoriq_dsp_core_to_cluster()
181 } while ((cluster & TP_CLUSTER_EOC) != TP_CLUSTER_EOC); in fsl_qoriq_dsp_core_to_cluster()
191 u32 cluster; in fsl_qoriq_core_to_cluster() local
195 cluster = in_be32(&gur->tp_cluster[i].lower); in fsl_qoriq_core_to_cluster()
197 if (init_type(cluster, j)) { in fsl_qoriq_core_to_cluster()
204 } while ((cluster & TP_CLUSTER_EOC) != TP_CLUSTER_EOC); in fsl_qoriq_core_to_cluster()