Searched refs:pmcr (Results 1 – 5 of 5) sorted by relevance
213 armv6_pmcr_has_overflowed(unsigned long pmcr) in armv6_pmcr_has_overflowed() argument215 return pmcr & ARMV6_PMCR_OVERFLOWED_MASK; in armv6_pmcr_has_overflowed()219 armv6_pmcr_counter_has_overflowed(unsigned long pmcr, in armv6_pmcr_counter_has_overflowed() argument225 ret = pmcr & ARMV6_PMCR_CCOUNT_OVERFLOW; in armv6_pmcr_counter_has_overflowed()227 ret = pmcr & ARMV6_PMCR_COUNT0_OVERFLOW; in armv6_pmcr_counter_has_overflowed()229 ret = pmcr & ARMV6_PMCR_COUNT1_OVERFLOW; in armv6_pmcr_counter_has_overflowed()308 unsigned long pmcr = armv6_pmcr_read(); in armv6pmu_handle_irq() local314 if (!armv6_pmcr_has_overflowed(pmcr)) in armv6pmu_handle_irq()324 armv6_pmcr_write(pmcr); in armv6pmu_handle_irq()338 if (!armv6_pmcr_counter_has_overflowed(pmcr, idx)) in armv6pmu_handle_irq()
119 out_be64(®s->pmcr, in_be64(®s->pmcr) | in cbe_pervasive_init()
104 u64 pmcr; /* 0x0880 */ member
934 u32 pmcr; in armv8pmu_reset() local947 pmcr = ARMV8_PMU_PMCR_P | ARMV8_PMU_PMCR_C | ARMV8_PMU_PMCR_LC; in armv8pmu_reset()951 pmcr |= ARMV8_PMU_PMCR_LP; in armv8pmu_reset()953 armv8pmu_pmcr_write(pmcr); in armv8pmu_reset()
608 u64 pmcr, val; in reset_pmcr() local614 pmcr = read_sysreg(pmcr_el0); in reset_pmcr()619 val = ((pmcr & ~ARMV8_PMU_PMCR_MASK) in reset_pmcr()724 u64 pmcr, val; in pmu_counter_idx_valid() local726 pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0); in pmu_counter_idx_valid()727 val = (pmcr >> ARMV8_PMU_PMCR_N_SHIFT) & ARMV8_PMU_PMCR_N_MASK; in pmu_counter_idx_valid()