Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
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()
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()
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()
Dfork_cleanup_test.c59 mtspr(SPRN_MMCR0, MMCR0_FC); in fork_cleanup()
/kernel/linux/linux-5.10/arch/powerpc/oprofile/
Dop_model_7450.c49 #define MMCR0_INIT (MMCR0_FC | MMCR0_FCS | MMCR0_FCP | MMCR0_FCM1 | MMCR0_FCM0)
59 mmcr0 &= ~(MMCR0_FC | MMCR0_FCM0); in pmc_start_ctrs()
70 mmcr0 |= MMCR0_FC; in pmc_stop_ctrs()
Dop_model_power4.c177 mmcr0 |= MMCR0_FC; in power4_cpu_setup()
229 mmcr0 &= ~MMCR0_FC; in power4_start()
244 mmcr0 |= MMCR0_FC; in power4_stop()
428 mmcr0 &= ~MMCR0_FC; in power4_handle_interrupt()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
Dreg.h27 #define MMCR0_FC 0x80000000 macro
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dreg.h855 #define MMCR0_FC 0x80000000UL /* freeze counters */ macro
943 #define MMCR0_USER_MASK (MMCR0_FC | MMCR0_PMXE | MMCR0_PMAO)
1039 #define MMCR0_FC 0x80000000UL /* freeze counters */ macro
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dcore-book3s.c716 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); in pmao_restore_workaround()
1206 if (mmcr0 & MMCR0_FC) in write_mmcr0()
1248 val |= MMCR0_FC; in power_pmu_disable()
1435 | MMCR0_FC); in power_pmu_enable()
2390 cpuhw->mmcr.mmcr0 = MMCR0_FC; in power_pmu_prepare_cpu()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv.c2350 vcpu->arch.mmcr[0] = MMCR0_FC; in kvmppc_core_vcpu_create_hv()