Lines Matching refs:mpidr
213 #define MPIDR_RS(mpidr) (((mpidr) & 0xF0UL) >> 4) argument
776 u64 mpidr = cpu_logical_map(cpu); in gic_cpu_to_affinity() local
781 mpidr = (MPIDR_AFFINITY_LEVEL(mpidr, 1) | in gic_cpu_to_affinity()
782 (MPIDR_AFFINITY_LEVEL(mpidr, 2) << 8)); in gic_cpu_to_affinity()
784 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_cpu_to_affinity()
785 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_cpu_to_affinity()
786 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_cpu_to_affinity()
787 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_cpu_to_affinity()
1050 unsigned long mpidr; in __gic_populate_rdist() local
1058 mpidr = gic_cpu_to_affinity(smp_processor_id()); in __gic_populate_rdist()
1060 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist()
1061 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist()
1062 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist()
1063 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in __gic_populate_rdist()
1073 smp_processor_id(), mpidr, in __gic_populate_rdist()
1181 u64 mpidr = gic_cpu_to_affinity(cpu); in gic_cpu_sys_reg_init() local
1182 u64 need_rss = MPIDR_RS(mpidr); in gic_cpu_sys_reg_init()
1269 cpu, (unsigned long)mpidr, in gic_cpu_sys_reg_init()
1330 #define MPIDR_TO_SGI_RS(mpidr) (MPIDR_RS(mpidr) << ICC_SGI1R_RS_SHIFT) argument
1331 #define MPIDR_TO_SGI_CLUSTER_ID(mpidr) ((mpidr) & ~0xFUL) argument
1360 unsigned long mpidr; in gic_compute_target_list() local
1363 mpidr = gic_cpu_to_affinity(cpu); in gic_compute_target_list()
1366 tlist |= 1 << (mpidr & 0xf); in gic_compute_target_list()
1373 mpidr = gic_cpu_to_affinity(cpu); in gic_compute_target_list()
1375 if (cluster_id != MPIDR_TO_SGI_CLUSTER_ID(mpidr)) { in gic_compute_target_list()