Lines Matching refs:mpidr
130 #define MPIDR_RS(mpidr) (((mpidr) & 0xF0UL) >> 4) argument
625 static u64 gic_mpidr_to_affinity(unsigned long mpidr) in gic_mpidr_to_affinity() argument
629 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_mpidr_to_affinity()
630 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_mpidr_to_affinity()
631 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_mpidr_to_affinity()
632 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_mpidr_to_affinity()
875 unsigned long mpidr = cpu_logical_map(smp_processor_id()); in __gic_populate_rdist() local
883 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist()
884 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist()
885 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist()
886 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in __gic_populate_rdist()
896 smp_processor_id(), mpidr, in __gic_populate_rdist()
966 u64 mpidr = cpu_logical_map(cpu); in gic_cpu_sys_reg_init() local
967 u64 need_rss = MPIDR_RS(mpidr); in gic_cpu_sys_reg_init()
1068 cpu, (unsigned long)mpidr, in gic_cpu_sys_reg_init()
1128 #define MPIDR_TO_SGI_RS(mpidr) (MPIDR_RS(mpidr) << ICC_SGI1R_RS_SHIFT) argument
1129 #define MPIDR_TO_SGI_CLUSTER_ID(mpidr) ((mpidr) & ~0xFUL) argument
1145 unsigned long mpidr = cpu_logical_map(cpu); in gic_compute_target_list() local
1149 tlist |= 1 << (mpidr & 0xf); in gic_compute_target_list()
1156 mpidr = cpu_logical_map(cpu); in gic_compute_target_list()
1158 if (cluster_id != MPIDR_TO_SGI_CLUSTER_ID(mpidr)) { in gic_compute_target_list()