Lines Matching refs:mpidr
122 #define MPIDR_RS(mpidr) (((mpidr) & 0xF0UL) >> 4) argument
617 static u64 gic_mpidr_to_affinity(unsigned long mpidr) in gic_mpidr_to_affinity() argument
621 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_mpidr_to_affinity()
622 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_mpidr_to_affinity()
623 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_mpidr_to_affinity()
624 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_mpidr_to_affinity()
924 unsigned long mpidr = cpu_logical_map(smp_processor_id()); in __gic_populate_rdist() local
932 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist()
933 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist()
934 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist()
935 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in __gic_populate_rdist()
945 smp_processor_id(), mpidr, in __gic_populate_rdist()
1045 u64 mpidr = cpu_logical_map(cpu); in gic_cpu_sys_reg_init() local
1046 u64 need_rss = MPIDR_RS(mpidr); in gic_cpu_sys_reg_init()
1147 cpu, (unsigned long)mpidr, in gic_cpu_sys_reg_init()
1207 #define MPIDR_TO_SGI_RS(mpidr) (MPIDR_RS(mpidr) << ICC_SGI1R_RS_SHIFT) argument
1208 #define MPIDR_TO_SGI_CLUSTER_ID(mpidr) ((mpidr) & ~0xFUL) argument
1224 unsigned long mpidr = cpu_logical_map(cpu); in gic_compute_target_list() local
1228 tlist |= 1 << (mpidr & 0xf); in gic_compute_target_list()
1235 mpidr = cpu_logical_map(cpu); in gic_compute_target_list()
1237 if (cluster_id != MPIDR_TO_SGI_CLUSTER_ID(mpidr)) { in gic_compute_target_list()