Lines Matching refs:mpidr
322 static u64 gic_mpidr_to_affinity(unsigned long mpidr) in gic_mpidr_to_affinity() argument
326 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_mpidr_to_affinity()
327 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_mpidr_to_affinity()
328 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_mpidr_to_affinity()
329 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_mpidr_to_affinity()
416 unsigned long mpidr = cpu_logical_map(smp_processor_id()); in gic_populate_rdist() local
425 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in gic_populate_rdist()
426 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_populate_rdist()
427 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_populate_rdist()
428 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_populate_rdist()
448 smp_processor_id(), mpidr, i, in gic_populate_rdist()
465 smp_processor_id(), mpidr); in gic_populate_rdist()
548 unsigned long mpidr = cpu_logical_map(cpu); in gic_compute_target_list() local
556 if (WARN_ON((mpidr & 0xff) >= 16)) in gic_compute_target_list()
559 tlist |= 1 << (mpidr & 0xf); in gic_compute_target_list()
565 mpidr = cpu_logical_map(cpu); in gic_compute_target_list()
567 if (cluster_id != (mpidr & ~0xffUL)) { in gic_compute_target_list()