Home
last modified time | relevance | path

Searched refs:SPRN_MMCR0 (Results 1 – 9 of 9) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
Dcycles_with_freeze_test.c39 val = mfspr(SPRN_MMCR0); in ebb_callee()
40 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); 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()
92 val = mfspr(SPRN_MMCR0); in cycles_with_freeze()
Debb.c39 val = mfspr(SPRN_MMCR0); in reset_ebb_with_clear_mask()
40 mtspr(SPRN_MMCR0, (val & ~mmcr0_clear_mask) | MMCR0_PMAE); in reset_ebb_with_clear_mask()
61 val = mfspr(SPRN_MMCR0); in ebb_check_mmcr0()
113 val = mfspr(SPRN_MMCR0); in standard_ebb_callee()
114 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in standard_ebb_callee()
221 mmcr0 = mfspr(SPRN_MMCR0); in dump_ebb_hw_state()
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()
393 val |= mfspr(SPRN_MMCR0); in ebb_child()
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()
Dpmae_handling_test.c44 before = mfspr(SPRN_MMCR0); in syscall_ebb_callee()
49 after = mfspr(SPRN_MMCR0); in syscall_ebb_callee()
Dback_to_back_ebbs_test.c58 val = mfspr(SPRN_MMCR0); in ebb_callee()
59 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in ebb_callee()
Dno_handler_test.c48 val = mfspr(SPRN_MMCR0); in no_handler_test()
Dfork_cleanup_test.c60 mtspr(SPRN_MMCR0, MMCR0_FC); in fork_cleanup()
/external/linux-kselftest/tools/testing/selftests/powerpc/include/
Dreg.h24 #define SPRN_MMCR0 779 macro
/external/u-boot/arch/powerpc/include/asm/
Dprocessor.h313 #define SPRN_MMCR0 0x3B8 /* Monitor Mode Control Register 0 */ macro