Home
last modified time | relevance | path

Searched refs:SPRN_PMC1 (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/tools/testing/selftests/powerpc/pmu/ebb/
Dback_to_back_ebbs_test.c55 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()
Debb.c238 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()
439 mtspr(SPRN_PMC1, 0); in write_pmc1()
445 case 1: mtspr(SPRN_PMC1, value); break; in write_pmc()
457 case 1: return mfspr(SPRN_PMC1); in read_pmc()
Dclose_clears_pmcc_test.c35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in close_clears_pmcc()
Dno_handler_test.c39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in no_handler_test()
Dfork_cleanup_test.c60 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in fork_cleanup()
Dcycles_test.c35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles()
Dpmae_handling_test.c77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in test_body()
Dcycles_with_mmcr2_test.c46 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_mmcr2()
Dmulti_ebb_procs_test.c54 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_child()
Dmulti_counter_test.c58 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in multi_counter()
Dcycles_with_freeze_test.c74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_freeze()
/Linux-v5.4/arch/powerpc/include/asm/
Doprofile_impl.h71 return mfspr(SPRN_PMC1); in classic_ctr_read()
99 mtspr(SPRN_PMC1, val); in classic_ctr_write()
Dreg.h889 #define SPRN_PMC1 787 macro
1027 #define SPRN_PMC1 953 /* Performance Counter Register 1 */ macro
/Linux-v5.4/tools/testing/selftests/powerpc/include/
Dreg.h39 #define SPRN_PMC1 771 macro
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S143 mfspr r3, SPRN_PMC1
Dbook3s_hv_rmhandlers.S3397 mtspr SPRN_PMC1, r3
3452 mtspr SPRN_PMC1, r3
3534 mfspr r3, SPRN_PMC1
/Linux-v5.4/arch/powerpc/perf/
Dcore-book3s.c695 pmcs[0] = mfspr(SPRN_PMC1); in pmao_restore_workaround()
714 mtspr(SPRN_PMC1, pmcs[0]); in pmao_restore_workaround()
735 val = mfspr(SPRN_PMC1); in read_pmc()
774 mtspr(SPRN_PMC1, val); in write_pmc()
/Linux-v5.4/arch/powerpc/kernel/
Dsysfs.c472 SYSFS_PMCSETUP(pmc1, SPRN_PMC1);
/Linux-v5.4/arch/powerpc/xmon/
Dxmon.c1867 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()