Home
last modified time | relevance | path

Searched refs:MPIDR_LEVEL_SHIFT (Results 1 – 4 of 4) sorted by relevance

/arch/arm64/kernel/
Dsetup.c148 mpidr_hash.shift_aff[0] = MPIDR_LEVEL_SHIFT(0) + fs[0]; in smp_build_mpidr_hash()
149 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_SHIFT(1) + fs[1] - bits[0]; in smp_build_mpidr_hash()
150 mpidr_hash.shift_aff[2] = MPIDR_LEVEL_SHIFT(2) + fs[2] - in smp_build_mpidr_hash()
152 mpidr_hash.shift_aff[3] = MPIDR_LEVEL_SHIFT(3) + in smp_build_mpidr_hash()
/arch/arm64/include/asm/
Dcputype.h18 #define MPIDR_LEVEL_SHIFT(level) \ macro
22 ((mpidr >> MPIDR_LEVEL_SHIFT(level)) & MPIDR_LEVEL_MASK)
/arch/arm/include/asm/
Dcputype.h56 #define MPIDR_LEVEL_SHIFT(level) (MPIDR_LEVEL_BITS * level) macro
/arch/arm64/kvm/
Dsys_regs.c618 mpidr = (vcpu->vcpu_id & 0x0f) << MPIDR_LEVEL_SHIFT(0); in reset_mpidr()
619 mpidr |= ((vcpu->vcpu_id >> 4) & 0xff) << MPIDR_LEVEL_SHIFT(1); in reset_mpidr()
620 mpidr |= ((vcpu->vcpu_id >> 12) & 0xff) << MPIDR_LEVEL_SHIFT(2); in reset_mpidr()