Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm/include/asm/
Dcputype.h54 #define MPIDR_LEVEL_BITS 8 macro
55 #define MPIDR_LEVEL_MASK ((1 << MPIDR_LEVEL_BITS) - 1)
56 #define MPIDR_LEVEL_SHIFT(level) (MPIDR_LEVEL_BITS * level)
59 ((mpidr >> (MPIDR_LEVEL_BITS * level)) & MPIDR_LEVEL_MASK)
/Linux-v5.10/arch/arm64/include/asm/
Dcputype.h15 #define MPIDR_LEVEL_BITS (1 << MPIDR_LEVEL_BITS_SHIFT) macro
16 #define MPIDR_LEVEL_MASK ((1 << MPIDR_LEVEL_BITS) - 1)
/Linux-v5.10/arch/arm64/kvm/
Dpsci.c24 #define AFFINITY_MASK(level) ~((0x1UL << ((level) * MPIDR_LEVEL_BITS)) - 1)
/Linux-v5.10/arch/arm/kernel/
Dsetup.c650 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_BITS + fs[1] - bits[0]; in smp_build_mpidr_hash()
651 mpidr_hash.shift_aff[2] = 2*MPIDR_LEVEL_BITS + fs[2] - in smp_build_mpidr_hash()