Searched refs:ARMV8_PMU_PMCR_N_SHIFT (Results 1 – 4 of 4) sorted by relevance
218 #define ARMV8_PMU_PMCR_N_SHIFT 11 /* Number of counters supported */ macro
253 u64 val = __vcpu_sys_reg(vcpu, PMCR_EL0) >> ARMV8_PMU_PMCR_N_SHIFT; in kvm_pmu_valid_counter_mask()
728 n = read_sysreg(pmcr_el0) >> ARMV8_PMU_PMCR_N_SHIFT; in reset_pmu_reg()772 pmcr = read_sysreg(pmcr_el0) & (ARMV8_PMU_PMCR_N_MASK << ARMV8_PMU_PMCR_N_SHIFT); in reset_pmcr()883 val = (pmcr >> ARMV8_PMU_PMCR_N_SHIFT) & ARMV8_PMU_PMCR_N_MASK; in pmu_counter_idx_valid()
1114 cpu_pmu->num_events = (armv8pmu_pmcr_read() >> ARMV8_PMU_PMCR_N_SHIFT) in __armv8pmu_probe_pmu()