Lines Matching refs:mmcra
180 static inline int get_mmcra_thd_cmp(u64 mmcra, int pmc) in get_mmcra_thd_cmp() argument
183 return ((mmcra >> 45) & 0x7ff); in get_mmcra_thd_cmp()
184 return ((mmcra >> 45) & 0x3ff); in get_mmcra_thd_cmp()
187 static inline int get_mmcra_sm(u64 mmcra, int pmc) in get_mmcra_sm() argument
189 return ((mmcra >> 42) & 0x3); in get_mmcra_sm()
192 static inline u64 get_mmcra_bhrb_disable(u64 mmcra, int pmc) in get_mmcra_bhrb_disable() argument
195 return mmcra & BHRB_DISABLE; in get_mmcra_bhrb_disable()
199 static inline int get_mmcra_ifm(u64 mmcra, int pmc) in get_mmcra_ifm() argument
201 return ((mmcra >> 30) & 0x3); in get_mmcra_ifm()
204 static inline int get_mmcra_thd_sel(u64 mmcra, int pmc) in get_mmcra_thd_sel() argument
206 return ((mmcra >> 16) & 0x7); in get_mmcra_thd_sel()
209 static inline int get_mmcra_thd_start(u64 mmcra, int pmc) in get_mmcra_thd_start() argument
211 return ((mmcra >> 12) & 0xf); in get_mmcra_thd_start()
214 static inline int get_mmcra_thd_stop(u64 mmcra, int pmc) in get_mmcra_thd_stop() argument
216 return ((mmcra >> 8) & 0xf); in get_mmcra_thd_stop()
219 static inline int get_mmcra_rand_samp_elig(u64 mmcra, int pmc) in get_mmcra_rand_samp_elig() argument
221 return ((mmcra >> 4) & 0x7); in get_mmcra_rand_samp_elig()
224 static inline int get_mmcra_sample_mode(u64 mmcra, int pmc) in get_mmcra_sample_mode() argument
226 return ((mmcra >> 1) & 0x3); in get_mmcra_sample_mode()
229 static inline int get_mmcra_marked(u64 mmcra, int pmc) in get_mmcra_marked() argument
231 return mmcra & 0x1; in get_mmcra_marked()