MIDR_VARIANT_SHIFT 35 arch/arm64/include/asm/cputype.h #define MIDR_VARIANT_MASK (0xf << MIDR_VARIANT_SHIFT) MIDR_VARIANT_SHIFT 37 arch/arm64/include/asm/cputype.h (((midr) & MIDR_VARIANT_MASK) >> MIDR_VARIANT_SHIFT) MIDR_VARIANT_SHIFT 49 arch/arm64/include/asm/cputype.h (((var) << MIDR_VARIANT_SHIFT) | (rev)) MIDR_VARIANT_SHIFT 13 tools/perf/arch/arm64/util/header.c #define MIDR_VARIANT_MASK (0xf << MIDR_VARIANT_SHIFT)