HelenOS sources
MIDR_PARTNUM_SHIFT 158 boot/arch/arm64/include/arch/regutils.h #define MIDR_PARTNUM_MASK (UWORD64(0xfff) << MIDR_PARTNUM_SHIFT)
MIDR_PARTNUM_SHIFT 158 kernel/arch/arm64/include/arch/regutils.h #define MIDR_PARTNUM_MASK (UWORD64(0xfff) << MIDR_PARTNUM_SHIFT)
MIDR_PARTNUM_SHIFT 83 kernel/arch/arm64/src/cpu/cpu.c CPU->arch.partnum = (midr & MIDR_PARTNUM_MASK) >> MIDR_PARTNUM_SHIFT;
MIDR_PARTNUM_SHIFT 158 uspace/lib/c/arch/arm64/include/libarch/regutils.h #define MIDR_PARTNUM_MASK (UWORD64(0xfff) << MIDR_PARTNUM_SHIFT)
HelenOS homepage, sources at GitHub