Home
last modified time | relevance | path

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

/arch/arm64/kernel/
Dsetup.c158 mpidr_hash.shift_aff[0] = MPIDR_LEVEL_SHIFT(0) + fs[0]; in smp_build_mpidr_hash()
159 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_SHIFT(1) + fs[1] - bits[0]; in smp_build_mpidr_hash()
160 mpidr_hash.shift_aff[2] = MPIDR_LEVEL_SHIFT(2) + fs[2] - in smp_build_mpidr_hash()
162 mpidr_hash.shift_aff[3] = MPIDR_LEVEL_SHIFT(3) + in smp_build_mpidr_hash()
/arch/arm64/include/asm/
Dcputype.h29 #define MPIDR_LEVEL_SHIFT(level) \ macro
33 ((mpidr >> MPIDR_LEVEL_SHIFT(level)) & MPIDR_LEVEL_MASK)
/arch/arm64/kvm/
Dsys_regs.c435 mpidr = (vcpu->vcpu_id & 0x0f) << MPIDR_LEVEL_SHIFT(0); in reset_mpidr()
436 mpidr |= ((vcpu->vcpu_id >> 4) & 0xff) << MPIDR_LEVEL_SHIFT(1); in reset_mpidr()
437 mpidr |= ((vcpu->vcpu_id >> 12) & 0xff) << MPIDR_LEVEL_SHIFT(2); in reset_mpidr()