Lines Matching refs:mpidr
242 u64 mpidr; in store_cpu_topology() local
247 mpidr = read_cpuid_mpidr(); in store_cpu_topology()
250 if (mpidr & MPIDR_UP_BITMASK) in store_cpu_topology()
254 if (mpidr & MPIDR_MT_BITMASK) { in store_cpu_topology()
256 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
257 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
258 cpuid_topo->cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 2) | in store_cpu_topology()
259 MPIDR_AFFINITY_LEVEL(mpidr, 3) << 8; in store_cpu_topology()
263 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
264 cpuid_topo->cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 1) | in store_cpu_topology()
265 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 8 | in store_cpu_topology()
266 MPIDR_AFFINITY_LEVEL(mpidr, 3) << 16; in store_cpu_topology()
271 cpuid_topo->thread_id, mpidr); in store_cpu_topology()