/openbmc/linux/arch/arm/kernel/ |
H A D | perf_event_v6.c | 213 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 D | pervasive.c | 119 out_be64(®s->pmcr, in_be64(®s->pmcr) | in cbe_pervasive_init()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | ppc_cbe_cpufreq_pervasive.c | 65 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 D | arm_dsu_pmu.c | 481 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 D | arm_pmuv3.c | 964 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 D | cpu_sh7753.h | 113 unsigned short pmcr; member
|
H A D | cpu_sh7752.h | 113 unsigned short pmcr; member
|
/openbmc/linux/drivers/perf/arm_cspmu/ |
H A D | arm_cspmu.c | 511 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 D | fsl_immap.h | 151 u32 pmcr; /* Performance Monitor Control */ member
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | cell-regs.h | 104 u64 pmcr; /* 0x0880 */ member
|
/openbmc/u-boot/board/renesas/sh7752evb/ |
H A D | sh7752evb.c | 37 writew(0x0000, &gpio->pmcr); /* RIIC */ in init_gpio()
|
/openbmc/u-boot/board/renesas/sh7753evb/ |
H A D | sh7753evb.c | 40 writew(0x0000, &gpio->pmcr); /* RIIC */ in init_gpio()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | sys_regs.c | 771 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 D | imx-regs.h | 55 u32 pmcr; member
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | immap_83xx.h | 403 u32 pmcr; member
|
/openbmc/qemu/target/arm/ |
H A D | helper.c | 1509 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()
|