Lines Matching defs:mpidr
151 #define MPIDR_RS(mpidr) (((mpidr)&0xF0UL) >> 4)
645 static u64 gic_mpidr_to_affinity(unsigned long mpidr)
649 aff = (((u64)MPIDR_AFFINITY_LEVEL(mpidr, 0x3) << 0x20) | (MPIDR_AFFINITY_LEVEL(mpidr, 0x2) << 0x10) |
650 (MPIDR_AFFINITY_LEVEL(mpidr, 0x1) << 0x8) | MPIDR_AFFINITY_LEVEL(mpidr, 0));
908 unsigned long mpidr = cpu_logical_map(smp_processor_id());
916 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 0x3) << 0x18 | MPIDR_AFFINITY_LEVEL(mpidr, 0x2) << 0x10 |
917 MPIDR_AFFINITY_LEVEL(mpidr, 0x1) << 0x8 | MPIDR_AFFINITY_LEVEL(mpidr, 0x0));
926 pr_info("CPU%d: found redistributor %lx region %d:%pa\n", smp_processor_id(), mpidr,
942 WARN(true, "CPU%d: mpidr %lx has no re-distributor!\n", smp_processor_id(),
1010 u64 mpidr = cpu_logical_map(cpu);
1011 u64 need_rss = MPIDR_RS(mpidr);
1078 pr_crit("CPU%d (%lx) can't SGI CPU%d (%lx), no RSS\n", cpu, (unsigned long)mpidr, i,
1132 #define MPIDR_TO_SGI_RS(mpidr) (MPIDR_RS(mpidr) << ICC_SGI1R_RS_SHIFT)
1133 #define MPIDR_TO_SGI_CLUSTER_ID(mpidr) ((mpidr) & ~0xFUL)
1149 unsigned long mpidr = cpu_logical_map(cpu);
1153 tlist |= 1 << (mpidr & 0xf);
1161 mpidr = cpu_logical_map(cpu);
1163 if (cluster_id != MPIDR_TO_SGI_CLUSTER_ID(mpidr)) {