Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/kernel/
H A 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()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dpervasive.c119 out_be64(&regs->pmcr, in_be64(&regs->pmcr) | in cbe_pervasive_init()
/openbmc/linux/drivers/cpufreq/
H A 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()
/openbmc/linux/drivers/perf/
H A Darm_dsu_pmu.c481 u32 pmcr; in dsu_pmu_enable() local
490 pmcr = __dsu_pmu_read_pmcr(); in dsu_pmu_enable()
491 pmcr |= CLUSTERPMCR_E; in dsu_pmu_enable()
492 __dsu_pmu_write_pmcr(pmcr); in dsu_pmu_enable()
498 u32 pmcr; in dsu_pmu_disable() local
503 pmcr = __dsu_pmu_read_pmcr(); in dsu_pmu_disable()
504 pmcr &= ~CLUSTERPMCR_E; in dsu_pmu_disable()
505 __dsu_pmu_write_pmcr(pmcr); in dsu_pmu_disable()
H A Darm_pmuv3.c964 u64 pmcr; in armv8pmu_reset() local
977 pmcr = ARMV8_PMU_PMCR_P | ARMV8_PMU_PMCR_C | ARMV8_PMU_PMCR_LC; in armv8pmu_reset()
981 pmcr |= ARMV8_PMU_PMCR_LP; in armv8pmu_reset()
983 armv8pmu_pmcr_write(pmcr); in armv8pmu_reset()
/openbmc/u-boot/arch/sh/include/asm/
H A Dcpu_sh7753.h113 unsigned short pmcr; member
H A Dcpu_sh7752.h113 unsigned short pmcr; member
/openbmc/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.c511 u32 pmcr = 0; in arm_cspmu_reset_counters() local
513 pmcr |= PMCR_P; in arm_cspmu_reset_counters()
514 pmcr |= PMCR_C; in arm_cspmu_reset_counters()
515 writel(pmcr, cspmu->base0 + PMCR); in arm_cspmu_reset_counters()
/openbmc/u-boot/include/
H A Dfsl_immap.h151 u32 pmcr; /* Performance Monitor Control */ member
/openbmc/linux/arch/powerpc/include/asm/
H A Dcell-regs.h104 u64 pmcr; /* 0x0880 */ member
/openbmc/u-boot/board/renesas/sh7752evb/
H A Dsh7752evb.c37 writew(0x0000, &gpio->pmcr); /* RIIC */ in init_gpio()
/openbmc/u-boot/board/renesas/sh7753evb/
H A Dsh7753evb.c40 writew(0x0000, &gpio->pmcr); /* RIIC */ in init_gpio()
/openbmc/linux/arch/arm64/kvm/
H A Dsys_regs.c771 u64 pmcr; in reset_pmcr() local
778 pmcr = read_sysreg(pmcr_el0) & (ARMV8_PMU_PMCR_N_MASK << ARMV8_PMU_PMCR_N_SHIFT); in reset_pmcr()
780 pmcr |= ARMV8_PMU_PMCR_LC; in reset_pmcr()
782 __vcpu_sys_reg(vcpu, r->reg) = pmcr; in reset_pmcr()
886 u64 pmcr, val; in pmu_counter_idx_valid() local
888 pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0); in pmu_counter_idx_valid()
889 val = (pmcr >> ARMV8_PMU_PMCR_N_SHIFT) & ARMV8_PMU_PMCR_N_MASK; in pmu_counter_idx_valid()
/openbmc/u-boot/arch/arm/include/asm/arch-mx27/
H A Dimx-regs.h55 u32 pmcr; member
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dimmap_83xx.h403 u32 pmcr; member
/openbmc/qemu/target/arm/
H A Dhelper.c1509 uint64_t pmcr = env->cp15.c9_pmcr; in pmcr_read() local
1516 pmcr &= ~PMCRN_MASK; in pmcr_read()
1517 pmcr |= (env->cp15.mdcr_el2 & MDCR_HPMN) << PMCRN_SHIFT; in pmcr_read()
1520 return pmcr; in pmcr_read()
7591 ARMCPRegInfo pmcr = { in define_pmu_regs() local
7613 define_one_arm_cp_reg(cpu, &pmcr); in define_pmu_regs()