Home
last modified time | relevance | path

Searched refs:pmcr (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/arch/arm/kernel/
Dperf_event_v6.c349 armv6_pmcr_has_overflowed(unsigned long pmcr) in armv6_pmcr_has_overflowed() argument
351 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() argument
361 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() local
447 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()
/linux-2.6.39/arch/powerpc/platforms/cell/
Dpervasive.c126 out_be64(&regs->pmcr, in_be64(&regs->pmcr) | in cbe_pervasive_init()
Dcbe_cpufreq_pervasive.c78 value = in_be64(&pmd_regs->pmcr); in cbe_cpufreq_set_pmode()
84 out_be64(&pmd_regs->pmcr, value); in cbe_cpufreq_set_pmode()
/linux-2.6.39/arch/powerpc/include/asm/
Dcell-regs.h103 u64 pmcr; /* 0x0880 */ member