Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm/kernel/
Dperf_event_v6.c213 armv6_pmcr_has_overflowed(unsigned long pmcr) in armv6_pmcr_has_overflowed() argument
215 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() argument
225 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() local
314 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dpervasive.c119 out_be64(&regs->pmcr, in_be64(&regs->pmcr) | in cbe_pervasive_init()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dppc_cbe_cpufreq_pervasive.c65 value = in_be64(&pmd_regs->pmcr); in cbe_cpufreq_set_pmode()
71 out_be64(&pmd_regs->pmcr, value); in cbe_cpufreq_set_pmode()
/kernel/linux/linux-5.10/drivers/perf/
Darm_dsu_pmu.c482 u32 pmcr; in dsu_pmu_enable() local
491 pmcr = __dsu_pmu_read_pmcr(); in dsu_pmu_enable()
492 pmcr |= CLUSTERPMCR_E; in dsu_pmu_enable()
493 __dsu_pmu_write_pmcr(pmcr); in dsu_pmu_enable()
499 u32 pmcr; in dsu_pmu_disable() local
504 pmcr = __dsu_pmu_read_pmcr(); in dsu_pmu_disable()
505 pmcr &= ~CLUSTERPMCR_E; in dsu_pmu_disable()
506 __dsu_pmu_write_pmcr(pmcr); in dsu_pmu_disable()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dperf_event.c930 u32 pmcr; in armv8pmu_reset() local
943 pmcr = ARMV8_PMU_PMCR_P | ARMV8_PMU_PMCR_C | ARMV8_PMU_PMCR_LC; in armv8pmu_reset()
947 pmcr |= ARMV8_PMU_PMCR_LP; in armv8pmu_reset()
949 armv8pmu_pmcr_write(pmcr); in armv8pmu_reset()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcell-regs.h104 u64 pmcr; /* 0x0880 */ member
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dsys_regs.c664 u64 pmcr, val; in reset_pmcr() local
670 pmcr = read_sysreg(pmcr_el0); in reset_pmcr()
675 val = ((pmcr & ~ARMV8_PMU_PMCR_MASK) in reset_pmcr()
785 u64 pmcr, val; in pmu_counter_idx_valid() local
787 pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0); in pmu_counter_idx_valid()
788 val = (pmcr >> ARMV8_PMU_PMCR_N_SHIFT) & ARMV8_PMU_PMCR_N_MASK; in pmu_counter_idx_valid()