Searched refs:nr_arch_gp_counters (Results 1 – 4 of 4) sorted by relevance
30 unsigned int num_counters = pmu->nr_arch_gp_counters; in amd_pmc_idx_to_pmc()87 return idx < pmu->nr_arch_gp_counters; in amd_is_valid_rdpmc_ecx()123 msr < MSR_F15H_PERF_CTL0 + 2 * pmu->nr_arch_gp_counters) in amd_is_valid_msr()196 pmu->nr_arch_gp_counters = ebx.split.num_core_pmc; in amd_pmu_refresh()198 pmu->nr_arch_gp_counters = AMD64_NUM_COUNTERS_CORE; in amd_pmu_refresh()200 pmu->nr_arch_gp_counters = AMD64_NUM_COUNTERS; in amd_pmu_refresh()203 pmu->nr_arch_gp_counters = min_t(unsigned int, pmu->nr_arch_gp_counters, in amd_pmu_refresh()207 pmu->global_ctrl_mask = ~((1ull << pmu->nr_arch_gp_counters) - 1); in amd_pmu_refresh()217 bitmap_set(pmu->all_valid_pmc_idx, 0, pmu->nr_arch_gp_counters); in amd_pmu_refresh()
136 : idx < pmu->nr_arch_gp_counters; in intel_is_valid_rdpmc_ecx()153 num_counters = pmu->nr_arch_gp_counters; in intel_rdpmc_ecx_to_pmc()496 pmu->nr_arch_gp_counters = 0; in intel_pmu_refresh()529 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh()553 counter_mask = ~(((1ull << pmu->nr_arch_gp_counters) - 1) | in intel_pmu_refresh()578 0, pmu->nr_arch_gp_counters); in intel_pmu_refresh()603 ~((1ull << pmu->nr_arch_gp_counters) - 1); in intel_pmu_refresh()
106 if (msr >= base && msr < base + pmu->nr_arch_gp_counters) { in get_gp_pmc()108 pmu->nr_arch_gp_counters); in get_gp_pmc()
517 unsigned nr_arch_gp_counters; member