Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/
Dpervasive.c127 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()
/arch/arm/kernel/
Dperf_event_v6.c381 armv6_pmcr_has_overflowed(unsigned long pmcr) in armv6_pmcr_has_overflowed() argument
383 return pmcr & ARMV6_PMCR_OVERFLOWED_MASK; in armv6_pmcr_has_overflowed()
387 armv6_pmcr_counter_has_overflowed(unsigned long pmcr, in armv6_pmcr_counter_has_overflowed() argument
393 ret = pmcr & ARMV6_PMCR_CCOUNT_OVERFLOW; in armv6_pmcr_counter_has_overflowed()
395 ret = pmcr & ARMV6_PMCR_COUNT0_OVERFLOW; in armv6_pmcr_counter_has_overflowed()
397 ret = pmcr & ARMV6_PMCR_COUNT1_OVERFLOW; in armv6_pmcr_counter_has_overflowed()
474 unsigned long pmcr = armv6_pmcr_read(); in armv6pmu_handle_irq() local
480 if (!armv6_pmcr_has_overflowed(pmcr)) in armv6pmu_handle_irq()
490 armv6_pmcr_write(pmcr); in armv6pmu_handle_irq()
507 if (!armv6_pmcr_counter_has_overflowed(pmcr, idx)) in armv6pmu_handle_irq()
/arch/powerpc/include/asm/
Dcell-regs.h103 u64 pmcr; /* 0x0880 */ member