Lines Matching refs:mpidr
123 #define MPIDR_RS(mpidr) (((mpidr) & 0xF0UL) >> 4) argument
620 static u64 gic_mpidr_to_affinity(unsigned long mpidr) in gic_mpidr_to_affinity() argument
624 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_mpidr_to_affinity()
625 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_mpidr_to_affinity()
626 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_mpidr_to_affinity()
627 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_mpidr_to_affinity()
901 unsigned long mpidr = cpu_logical_map(smp_processor_id()); in __gic_populate_rdist() local
909 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist()
910 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist()
911 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist()
912 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in __gic_populate_rdist()
922 smp_processor_id(), mpidr, in __gic_populate_rdist()
1008 u64 mpidr = cpu_logical_map(cpu); in gic_cpu_sys_reg_init() local
1009 u64 need_rss = MPIDR_RS(mpidr); in gic_cpu_sys_reg_init()
1110 cpu, (unsigned long)mpidr, in gic_cpu_sys_reg_init()
1171 #define MPIDR_TO_SGI_RS(mpidr) (MPIDR_RS(mpidr) << ICC_SGI1R_RS_SHIFT) argument
1172 #define MPIDR_TO_SGI_CLUSTER_ID(mpidr) ((mpidr) & ~0xFUL) argument
1188 unsigned long mpidr = cpu_logical_map(cpu); in gic_compute_target_list() local
1192 tlist |= 1 << (mpidr & 0xf); in gic_compute_target_list()
1199 mpidr = cpu_logical_map(cpu); in gic_compute_target_list()
1201 if (cluster_id != MPIDR_TO_SGI_CLUSTER_ID(mpidr)) { in gic_compute_target_list()