Searched refs:pmcr (Results 1 – 4 of 4) sorted by relevance
349 armv6_pmcr_has_overflowed(unsigned long pmcr) in armv6_pmcr_has_overflowed() argument351 return pmcr & ARMV6_PMCR_OVERFLOWED_MASK; in armv6_pmcr_has_overflowed()355 armv6_pmcr_counter_has_overflowed(unsigned long pmcr, in armv6_pmcr_counter_has_overflowed() argument361 ret = pmcr & ARMV6_PMCR_CCOUNT_OVERFLOW; in armv6_pmcr_counter_has_overflowed()363 ret = pmcr & ARMV6_PMCR_COUNT0_OVERFLOW; in armv6_pmcr_counter_has_overflowed()365 ret = pmcr & ARMV6_PMCR_COUNT1_OVERFLOW; in armv6_pmcr_counter_has_overflowed()441 unsigned long pmcr = armv6_pmcr_read(); in armv6pmu_handle_irq() local447 if (!armv6_pmcr_has_overflowed(pmcr)) in armv6pmu_handle_irq()457 armv6_pmcr_write(pmcr); in armv6pmu_handle_irq()473 if (!armv6_pmcr_counter_has_overflowed(pmcr, idx)) in armv6pmu_handle_irq()
126 out_be64(®s->pmcr, in_be64(®s->pmcr) | in cbe_pervasive_init()
78 value = in_be64(&pmd_regs->pmcr); in cbe_cpufreq_set_pmode()84 out_be64(&pmd_regs->pmcr, value); in cbe_cpufreq_set_pmode()
103 u64 pmcr; /* 0x0880 */ member