Searched refs:SPRN_PMC1 (Results 1 – 19 of 19) sorted by relevance
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
A D | back_to_back_ebbs_test.c | 55 val = mfspr(SPRN_PMC1); in ebb_callee() 56 trace_log_reg(ebb_state.trace, SPRN_PMC1, val); in ebb_callee() 84 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in back_to_back_ebbs()
|
A D | ebb.c | 238 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state() 266 trace_log_reg(ebb_state.trace, SPRN_PMC1 + pmc - 1, val); in count_pmc() 381 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in ebb_child() 437 mtspr(SPRN_PMC1, 0); in write_pmc1() 443 case 1: mtspr(SPRN_PMC1, value); break; in write_pmc() 455 case 1: return mfspr(SPRN_PMC1); in read_pmc()
|
A D | regs_access_pmccext_test.c | 36 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in regs_access_pmccext()
|
A D | close_clears_pmcc_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in close_clears_pmcc()
|
A D | no_handler_test.c | 39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in no_handler_test()
|
A D | cycles_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles()
|
A D | fork_cleanup_test.c | 60 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in fork_cleanup()
|
A D | cycles_with_mmcr2_test.c | 46 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_mmcr2()
|
A D | pmae_handling_test.c | 77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in test_body()
|
A D | multi_ebb_procs_test.c | 54 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_child()
|
A D | multi_counter_test.c | 58 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in multi_counter()
|
A D | cycles_with_freeze_test.c | 74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_freeze()
|
/linux/tools/testing/selftests/powerpc/include/ |
A D | reg.h | 39 #define SPRN_PMC1 771 macro
|
/linux/arch/powerpc/kvm/ |
A D | book3s_hv_interrupts.S | 149 mfspr r3, SPRN_PMC1
|
A D | book3s_hv_rmhandlers.S | 2803 mtspr SPRN_PMC1, r3 2866 mtspr SPRN_PMC1, r3 2964 mfspr r3, SPRN_PMC1
|
/linux/arch/powerpc/perf/ |
A D | core-book3s.c | 751 pmcs[0] = mfspr(SPRN_PMC1); in pmao_restore_workaround() 770 mtspr(SPRN_PMC1, pmcs[0]); in pmao_restore_workaround() 791 val = mfspr(SPRN_PMC1); in read_pmc() 830 mtspr(SPRN_PMC1, val); in write_pmc()
|
/linux/arch/powerpc/include/asm/ |
A D | reg.h | 916 #define SPRN_PMC1 787 macro 1058 #define SPRN_PMC1 953 /* Performance Counter Register 1 */ macro
|
/linux/arch/powerpc/kernel/ |
A D | sysfs.c | 599 SYSFS_PMCSETUP(pmc1, SPRN_PMC1);
|
/linux/arch/powerpc/xmon/ |
A D | xmon.c | 2077 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()
|
Completed in 33 milliseconds