Searched refs:get_gp_pmc_amd (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/arch/x86/kvm/ |
| D | pmu_amd.c | 98 static inline struct kvm_pmc *get_gp_pmc_amd(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc_amd() function 173 return get_gp_pmc_amd(pmu, base + pmc_idx, PMU_TYPE_COUNTER); in amd_pmc_idx_to_pmc() 205 ret = get_gp_pmc_amd(pmu, msr, PMU_TYPE_COUNTER) || in amd_is_valid_msr() 206 get_gp_pmc_amd(pmu, msr, PMU_TYPE_EVNTSEL); in amd_is_valid_msr() 217 pmc = get_gp_pmc_amd(pmu, msr, PMU_TYPE_COUNTER); in amd_pmu_get_msr() 223 pmc = get_gp_pmc_amd(pmu, msr, PMU_TYPE_EVNTSEL); in amd_pmu_get_msr() 240 pmc = get_gp_pmc_amd(pmu, msr, PMU_TYPE_COUNTER); in amd_pmu_set_msr() 246 pmc = get_gp_pmc_amd(pmu, msr, PMU_TYPE_EVNTSEL); in amd_pmu_set_msr()
|