Searched refs:SPRN_MMCR0 (Results 1 – 8 of 8) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | cycles_with_freeze_test.c | 39 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()
|
D | ebb.c | 39 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()
|
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()
|
D | pmae_handling_test.c | 44 before = mfspr(SPRN_MMCR0); in syscall_ebb_callee() 49 after = mfspr(SPRN_MMCR0); in syscall_ebb_callee()
|
D | back_to_back_ebbs_test.c | 58 val = mfspr(SPRN_MMCR0); in ebb_callee() 59 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in ebb_callee()
|
D | no_handler_test.c | 48 val = mfspr(SPRN_MMCR0); in no_handler_test()
|
D | fork_cleanup_test.c | 59 mtspr(SPRN_MMCR0, MMCR0_FC); in fork_cleanup()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/include/ |
D | reg.h | 24 #define SPRN_MMCR0 779 macro
|