Home
last modified time | relevance | path

Searched refs:MMCR0_FC (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dcycles_with_freeze_test.c28 mask = MMCR0_PMAO | MMCR0_FC; in ebb_callee()
45 mask &= ~MMCR0_FC; in ebb_callee()
84 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in cycles_with_freeze()
90 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in cycles_with_freeze()
93 if (! (val & MMCR0_FC)) { in cycles_with_freeze()
H A Dinstruction_count_test.c35 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in do_count_loop()
41 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in do_count_loop()
128 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in instruction_count()
H A Debb.c53 reset_ebb_with_clear_mask(MMCR0_PMAO | MMCR0_FC); in reset_ebb()
62 if ((val & (MMCR0_FC | MMCR0_PMAO)) == MMCR0_FC) { in ebb_check_mmcr0()
296 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in ebb_freeze_pmcs()
303 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in ebb_unfreeze_pmcs()
H A Dfork_cleanup_test.c59 mtspr(SPRN_MMCR0, MMCR0_FC); in fork_cleanup()
/linux/arch/powerpc/kernel/
H A Dcpu_setup_power.c112 mtspr(SPRN_MMCR0, MMCR0_FC); in init_PMU()
126 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMCCEXT); in init_PMU_ISA31()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c10 if (!(mmcr0 & MMCR0_FC)) in freeze_pmu()
23 mmcr0 = MMCR0_FC; in freeze_pmu()
/linux/tools/testing/selftests/powerpc/include/
H A Dreg.h29 #define MMCR0_FC 0x80000000 macro
/linux/arch/powerpc/include/asm/
H A Dreg.h858 #define MMCR0_FC 0x80000000UL /* freeze counters */ macro
946 #define MMCR0_USER_MASK (MMCR0_FC | MMCR0_PMXE | MMCR0_PMAO)
1042 #define MMCR0_FC 0x80000000UL /* freeze counters */ macro