Searched refs:CPUCFG6_PMNUM (Results 1 – 4 of 4) sorted by relevance
272 return (arch->cpucfg[6] & CPUCFG6_PMNUM) >> CPUCFG6_PMNUM_SHIFT; in kvm_get_pmu_num()
122 #define CPUCFG6_PMNUM GENMASK(7, 4) macro
855 counters = ((read_cpucfg(LOONGARCH_CPUCFG6) & CPUCFG6_PMNUM) >> 4) + 1; in init_hw_perf_events()
710 if ((val & CPUCFG6_PMNUM) > (host & CPUCFG6_PMNUM)) in kvm_check_cpucfg()