Lines Matching refs:midr

27 #define MIDR_PARTNUM(midr)	\  argument
28 (((midr) & MIDR_PARTNUM_MASK) >> MIDR_PARTNUM_SHIFT)
31 #define MIDR_ARCHITECTURE(midr) \ argument
32 (((midr) & MIDR_ARCHITECTURE_MASK) >> MIDR_ARCHITECTURE_SHIFT)
35 #define MIDR_VARIANT(midr) \ argument
36 (((midr) & MIDR_VARIANT_MASK) >> MIDR_VARIANT_SHIFT)
39 #define MIDR_IMPLEMENTOR(midr) \ argument
40 (((midr) & MIDR_IMPLEMENTOR_MASK) >> MIDR_IMPLEMENTOR_SHIFT)
42 #define IS_THUNDERX(midr) (MIDR_IMPLEMENTOR(midr) == 'C' \ argument
43 && MIDR_PARTNUM(midr) == 0x0a1)
45 #define IS_THUNDERX2PA(midr) (MIDR_IMPLEMENTOR(midr) == 'B' \ argument
46 && MIDR_PARTNUM(midr) == 0x516)
47 #define IS_THUNDERX2(midr) (MIDR_IMPLEMENTOR(midr) == 'C' \ argument
48 && MIDR_PARTNUM(midr) == 0xaf)
50 #define IS_FALKOR(midr) (MIDR_IMPLEMENTOR(midr) == 'Q' \ argument
51 && MIDR_PARTNUM(midr) == 0xc00)
53 #define IS_PHECDA(midr) (MIDR_IMPLEMENTOR(midr) == 'h' \ argument
54 && MIDR_PARTNUM(midr) == 0x000)
55 #define IS_NEOVERSE_N1(midr) (MIDR_IMPLEMENTOR(midr) == 'A' \ argument
56 && MIDR_PARTNUM(midr) == 0xd0c)
57 #define IS_NEOVERSE_N2(midr) (MIDR_IMPLEMENTOR(midr) == 'A' \ argument
58 && MIDR_PARTNUM(midr) == 0xd49)
59 #define IS_NEOVERSE_V1(midr) (MIDR_IMPLEMENTOR(midr) == 'A' \ argument
60 && MIDR_PARTNUM(midr) == 0xd40)
62 #define IS_EMAG(midr) (MIDR_IMPLEMENTOR(midr) == 'P' \ argument
63 && MIDR_PARTNUM(midr) == 0x000)
65 #define IS_KUNPENG920(midr) (MIDR_IMPLEMENTOR(midr) == 'H' \ argument
66 && MIDR_PARTNUM(midr) == 0xd01)
68 #define IS_A64FX(midr) (MIDR_IMPLEMENTOR(midr) == 'F' \ argument
69 && MIDR_PARTNUM(midr) == 0x001)