Searched refs:mmcr2 (Results 1 – 2 of 2) sorted by relevance
121 static inline int get_mmcr2_fcs(u64 mmcr2, int pmc) in get_mmcr2_fcs() argument123 return ((mmcr2 & (1ull << (63 - (((pmc) - 1) * 9)))) >> (63 - (((pmc) - 1) * 9))); in get_mmcr2_fcs()126 static inline int get_mmcr2_fcp(u64 mmcr2, int pmc) in get_mmcr2_fcp() argument128 return ((mmcr2 & (1ull << (62 - (((pmc) - 1) * 9)))) >> (62 - (((pmc) - 1) * 9))); in get_mmcr2_fcp()131 static inline int get_mmcr2_fcpc(u64 mmcr2, int pmc) in get_mmcr2_fcpc() argument133 return ((mmcr2 & (1ull << (61 - (((pmc) - 1) * 9)))) >> (61 - (((pmc) - 1) * 9))); in get_mmcr2_fcpc()136 static inline int get_mmcr2_fcm1(u64 mmcr2, int pmc) in get_mmcr2_fcm1() argument138 return ((mmcr2 & (1ull << (60 - (((pmc) - 1) * 9)))) >> (60 - (((pmc) - 1) * 9))); in get_mmcr2_fcm1()141 static inline int get_mmcr2_fcm0(u64 mmcr2, int pmc) in get_mmcr2_fcm0() argument143 return ((mmcr2 & (1ull << (59 - (((pmc) - 1) * 9)))) >> (59 - (((pmc) - 1) * 9))); in get_mmcr2_fcm0()[all …]
68 SMPL_REG(mmcr2, PERF_REG_POWERPC_MMCR2),