Lines Matching full:mpidr
237 #define MPIDR_RS(mpidr) (((mpidr) & 0xF0UL) >> 4) argument
800 u64 mpidr = cpu_logical_map(cpu); in gic_cpu_to_affinity() local
805 mpidr = (MPIDR_AFFINITY_LEVEL(mpidr, 1) | in gic_cpu_to_affinity()
806 (MPIDR_AFFINITY_LEVEL(mpidr, 2) << 8)); in gic_cpu_to_affinity()
808 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_cpu_to_affinity()
809 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_cpu_to_affinity()
810 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_cpu_to_affinity()
811 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_cpu_to_affinity()
1074 unsigned long mpidr; in __gic_populate_rdist() local
1082 mpidr = gic_cpu_to_affinity(smp_processor_id()); in __gic_populate_rdist()
1084 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist()
1085 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist()
1086 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist()
1087 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in __gic_populate_rdist()
1097 smp_processor_id(), mpidr, in __gic_populate_rdist()
1113 WARN(true, "CPU%d: mpidr %lx has no re-distributor!\n", in gic_populate_rdist()
1205 u64 mpidr = gic_cpu_to_affinity(cpu); in gic_cpu_sys_reg_init() local
1206 u64 need_rss = MPIDR_RS(mpidr); in gic_cpu_sys_reg_init()
1293 cpu, (unsigned long)mpidr, in gic_cpu_sys_reg_init()
1354 #define MPIDR_TO_SGI_RS(mpidr) (MPIDR_RS(mpidr) << ICC_SGI1R_RS_SHIFT) argument
1355 #define MPIDR_TO_SGI_CLUSTER_ID(mpidr) ((mpidr) & ~0xFUL) argument
1384 unsigned long mpidr; in gic_compute_target_list() local
1387 mpidr = gic_cpu_to_affinity(cpu); in gic_compute_target_list()
1390 tlist |= 1 << (mpidr & 0xf); in gic_compute_target_list()
1397 mpidr = gic_cpu_to_affinity(cpu); in gic_compute_target_list()
1399 if (cluster_id != MPIDR_TO_SGI_CLUSTER_ID(mpidr)) { in gic_compute_target_list()