Searched refs:nr_arch_gp_counters (Results 1 – 4 of 4) sorted by relevance
205 return (idx >= pmu->nr_arch_gp_counters); in amd_is_valid_rdpmc_ecx()216 if (idx >= pmu->nr_arch_gp_counters) in amd_rdpmc_ecx_to_pmc()292 pmu->nr_arch_gp_counters = AMD64_NUM_COUNTERS_CORE; in amd_pmu_refresh()294 pmu->nr_arch_gp_counters = AMD64_NUM_COUNTERS; in amd_pmu_refresh()304 bitmap_set(pmu->all_valid_pmc_idx, 0, pmu->nr_arch_gp_counters); in amd_pmu_refresh()
133 return (!fixed && idx >= pmu->nr_arch_gp_counters) || in intel_is_valid_rdpmc_ecx()151 num_counters = pmu->nr_arch_gp_counters; in intel_rdpmc_ecx_to_pmc()334 pmu->nr_arch_gp_counters = 0; in intel_pmu_refresh()357 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh()379 pmu->global_ctrl = ((1ull << pmu->nr_arch_gp_counters) - 1) | in intel_pmu_refresh()396 0, pmu->nr_arch_gp_counters); in intel_pmu_refresh()
108 if (msr >= base && msr < base + pmu->nr_arch_gp_counters) { in get_gp_pmc()110 pmu->nr_arch_gp_counters); in get_gp_pmc()
431 unsigned nr_arch_gp_counters; member