Searched refs:MPIDR_LEVEL_BITS (Results 1 – 5 of 5) sorted by relevance
54 #define MPIDR_LEVEL_BITS 8 macro55 #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)
15 #define MPIDR_LEVEL_BITS (1 << MPIDR_LEVEL_BITS_SHIFT) macro16 #define MPIDR_LEVEL_MASK ((1 << MPIDR_LEVEL_BITS) - 1)
24 #define AFFINITY_MASK(level) ~((0x1UL << ((level) * MPIDR_LEVEL_BITS)) - 1)
654 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_BITS + fs[1] - bits[0]; in smp_build_mpidr_hash()655 mpidr_hash.shift_aff[2] = 2*MPIDR_LEVEL_BITS + fs[2] - in smp_build_mpidr_hash()