Home
last modified time | relevance | path

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

/linux/arch/arm/include/asm/
H A Dcputype.h58 #define MPIDR_LEVEL_BITS 8 macro
59 #define MPIDR_LEVEL_MASK ((1 << MPIDR_LEVEL_BITS) - 1)
60 #define MPIDR_LEVEL_SHIFT(level) (MPIDR_LEVEL_BITS * level)
63 ((mpidr >> (MPIDR_LEVEL_BITS * level)) & MPIDR_LEVEL_MASK)
/linux/tools/arch/arm64/include/asm/
H A Dcputype.h15 #define MPIDR_LEVEL_BITS (1 << MPIDR_LEVEL_BITS_SHIFT) macro
16 #define MPIDR_LEVEL_MASK ((1 << MPIDR_LEVEL_BITS) - 1)
/linux/arch/arm64/kvm/
H A Dpsci.c24 #define AFFINITY_MASK(level) ~((0x1UL << ((level) * MPIDR_LEVEL_BITS)) - 1)
/linux/arch/arm/kernel/
H A Dsetup.c661 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_BITS + fs[1] - bits[0]; in smp_build_mpidr_hash()
662 mpidr_hash.shift_aff[2] = 2*MPIDR_LEVEL_BITS + fs[2] - in smp_build_mpidr_hash()