Lines Matching refs:cluster
101 static inline u32 init_type(u32 cluster, int init_id) in init_type() argument
104 u32 idx = (cluster >> (init_id * 8)) & TP_CLUSTER_INIT_MASK; in init_type()
117 u32 cluster, type, mask = 0; in compute_ppc_cpumask() local
121 cluster = in_be32(&gur->tp_cluster[i].lower); in compute_ppc_cpumask()
123 type = init_type(cluster, j); in compute_ppc_cpumask()
131 } while ((cluster & TP_CLUSTER_EOC) != TP_CLUSTER_EOC); in compute_ppc_cpumask()
141 u32 cluster, type, dsp_mask = 0; in compute_dsp_cpumask() local
145 cluster = in_be32(&gur->tp_cluster[i].lower); in compute_dsp_cpumask()
147 type = init_type(cluster, j); in compute_dsp_cpumask()
155 } while ((cluster & TP_CLUSTER_EOC) != TP_CLUSTER_EOC); in compute_dsp_cpumask()
164 u32 cluster; in fsl_qoriq_dsp_core_to_cluster() local
168 cluster = in_be32(&gur->tp_cluster[i].lower); in fsl_qoriq_dsp_core_to_cluster()
170 if (init_type(cluster, j)) { in fsl_qoriq_dsp_core_to_cluster()
177 } while ((cluster & TP_CLUSTER_EOC) != TP_CLUSTER_EOC); in fsl_qoriq_dsp_core_to_cluster()
187 u32 cluster; in fsl_qoriq_core_to_cluster() local
191 cluster = in_be32(&gur->tp_cluster[i].lower); in fsl_qoriq_core_to_cluster()
193 if (init_type(cluster, j)) { in fsl_qoriq_core_to_cluster()
200 } while ((cluster & TP_CLUSTER_EOC) != TP_CLUSTER_EOC); in fsl_qoriq_core_to_cluster()