Searched refs:MMCR0_FC (Results 1 – 8 of 8) sorted by relevance
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | cycles_with_freeze_test.c | 28 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 D | instruction_count_test.c | 35 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 D | ebb.c | 53 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 D | fork_cleanup_test.c | 59 mtspr(SPRN_MMCR0, MMCR0_FC); in fork_cleanup()
|
/linux/arch/powerpc/kernel/ |
H A D | cpu_setup_power.c | 112 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 D | book3s_hv_p9_perf.c | 10 if (!(mmcr0 & MMCR0_FC)) in freeze_pmu() 23 mmcr0 = MMCR0_FC; in freeze_pmu()
|
/linux/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 29 #define MMCR0_FC 0x80000000 macro
|
/linux/arch/powerpc/include/asm/ |
H A D | reg.h | 858 #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
|