Home
last modified time | relevance | path

Searched refs:MMCR0_PMCjCE (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dpower8-pmu.c31 return env->spr[SPR_POWER_MMCR0] & MMCR0_PMCjCE; in pmc_has_overflow_enabled()
157 if (tmp >= PMC_COUNTER_NEGATIVE_VAL && (mmcr0 & MMCR0_PMCjCE)) { in pmu_increment_insns()
167 if (tmp >= PMC_COUNTER_NEGATIVE_VAL && (mmcr0 & MMCR0_PMCjCE)) { in pmu_increment_insns()
180 if (tmp >= PMC_COUNTER_NEGATIVE_VAL && (mmcr0 & MMCR0_PMCjCE)) { in pmu_increment_insns()
191 if (tmp >= PMC_COUNTER_NEGATIVE_VAL && (mmcr0 & MMCR0_PMCjCE)) { in pmu_increment_insns()
H A Dhelper_regs.c94 if (env->spr[SPR_POWER_MMCR0] & MMCR0_PMCjCE) { in hreg_compute_pmu_hflags_value()
H A Dcpu.h536 #define MMCR0_PMCjCE PPC_BIT(49) /* MMCR0 PMCj Condition Enabled */ macro
/openbmc/linux/arch/powerpc/perf/
H A Dcore-book3s.c89 #define MMCR0_PMCjCE MMCR0_PMCnCE macro
766 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround()
1284 : "r" (mmcr0 & ~(MMCR0_PMC1CE | MMCR0_PMCjCE)), in write_mmcr0()
1297 if (mmcr0 & (MMCR0_PMC1CE | MMCR0_PMCjCE)) in write_mmcr0()
1510 mtspr(SPRN_MMCR0, (cpuhw->mmcr.mmcr0 & ~(MMCR0_PMC1CE | MMCR0_PMCjCE)) in power_pmu_enable()
H A Dppc970-pmu.c395 mmcr0 |= MMCR0_PMCjCE; in p970_compute_mmcr()
H A Dpower7-pmu.c309 mmcr->mmcr0 |= MMCR0_PMCjCE; in power7_compute_mmcr()
H A Dpower6-pmu.c253 mmcr->mmcr0 |= MMCR0_PMCjCE; in p6_compute_mmcr()
H A Dpower5-pmu.c539 mmcr->mmcr0 |= MMCR0_PMCjCE; in power5_compute_mmcr()
H A Dpower5+-pmu.c597 mmcr->mmcr0 |= MMCR0_PMCjCE; in power5p_compute_mmcr()
H A Disa207-common.c711 mmcr->mmcr0 |= MMCR0_PMCjCE; in isa207_compute_mmcr()
/openbmc/linux/arch/powerpc/include/asm/
H A Dreg.h878 #define MMCR0_PMCjCE ASM_CONST(0x00004000) /* PMCj count enable*/ macro
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rmhandlers.S2967 ori r3, r3, MMCR0_PMCjCE | MMCR0_C56RUN