Lines Matching defs:pmcr
904 armv6_pmcr_has_overflowed(unsigned long pmcr)
906 return (pmcr & ARMV6_PMCR_OVERFLOWED_MASK);
910 armv6_pmcr_counter_has_overflowed(unsigned long pmcr,
916 ret = pmcr & ARMV6_PMCR_CCOUNT_OVERFLOW;
918 ret = pmcr & ARMV6_PMCR_COUNT0_OVERFLOW;
920 ret = pmcr & ARMV6_PMCR_COUNT1_OVERFLOW;
996 unsigned long pmcr = armv6_pmcr_read();
1002 if (!armv6_pmcr_has_overflowed(pmcr))
1012 armv6_pmcr_write(pmcr);
1028 if (!armv6_pmcr_counter_has_overflowed(pmcr, idx))