Lines Matching full:mpidr

140 #define MPIDR_RS(mpidr)			(((mpidr) & 0xF0UL) >> 4)  argument
708 u64 mpidr = cpu_logical_map(cpu); in gic_cpu_to_affinity() local
713 mpidr = (MPIDR_AFFINITY_LEVEL(mpidr, 1) | in gic_cpu_to_affinity()
714 (MPIDR_AFFINITY_LEVEL(mpidr, 2) << 8)); in gic_cpu_to_affinity()
716 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_cpu_to_affinity()
717 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_cpu_to_affinity()
718 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_cpu_to_affinity()
719 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_cpu_to_affinity()
1019 unsigned long mpidr; in __gic_populate_rdist() local
1027 mpidr = gic_cpu_to_affinity(smp_processor_id()); in __gic_populate_rdist()
1029 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist()
1030 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist()
1031 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist()
1032 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in __gic_populate_rdist()
1042 smp_processor_id(), mpidr, in __gic_populate_rdist()
1058 WARN(true, "CPU%d: mpidr %lx has no re-distributor!\n", in gic_populate_rdist()
1142 u64 mpidr = gic_cpu_to_affinity(cpu); in gic_cpu_sys_reg_init() local
1143 u64 need_rss = MPIDR_RS(mpidr); in gic_cpu_sys_reg_init()
1244 cpu, (unsigned long)mpidr, in gic_cpu_sys_reg_init()
1304 #define MPIDR_TO_SGI_RS(mpidr) (MPIDR_RS(mpidr) << ICC_SGI1R_RS_SHIFT) argument
1305 #define MPIDR_TO_SGI_CLUSTER_ID(mpidr) ((mpidr) & ~0xFUL) argument
1321 unsigned long mpidr; in gic_compute_target_list() local
1324 mpidr = gic_cpu_to_affinity(cpu); in gic_compute_target_list()
1327 tlist |= 1 << (mpidr & 0xf); in gic_compute_target_list()
1334 mpidr = gic_cpu_to_affinity(cpu); in gic_compute_target_list()
1336 if (cluster_id != MPIDR_TO_SGI_CLUSTER_ID(mpidr)) { in gic_compute_target_list()