Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/powerpc/pmu/ebb/
A 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()
A 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()
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 Dregs_access_pmccext_test.c36 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in regs_access_pmccext()
A Dclose_clears_pmcc_test.c35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in close_clears_pmcc()
A Dno_handler_test.c39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in no_handler_test()
A Dcycles_test.c35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles()
A Dfork_cleanup_test.c60 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in fork_cleanup()
A Dcycles_with_mmcr2_test.c46 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_mmcr2()
A Dpmae_handling_test.c77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in test_body()
A Dmulti_ebb_procs_test.c54 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_child()
A Dmulti_counter_test.c58 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in multi_counter()
A Dcycles_with_freeze_test.c74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_freeze()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_p9_perf.c54 host_os_sprs->pmc1 = mfspr(SPRN_PMC1); in switch_pmu_to_guest()
88 mtspr(SPRN_PMC1, vcpu->arch.pmc[0]); in switch_pmu_to_guest()
142 vcpu->arch.pmc[0] = mfspr(SPRN_PMC1); in switch_pmu_to_host()
195 mtspr(SPRN_PMC1, host_os_sprs->pmc1); in switch_pmu_to_host()
A Dbook3s_hv_interrupts.S145 mfspr r3, SPRN_PMC1
A Dbook3s_hv_rmhandlers.S2791 mtspr SPRN_PMC1, r3
2846 mtspr SPRN_PMC1, r3
2930 mfspr r3, SPRN_PMC1
/linux-6.3-rc2/tools/testing/selftests/powerpc/include/
A Dreg.h39 #define SPRN_PMC1 771 macro
/linux-6.3-rc2/arch/powerpc/perf/
A Dcore-book3s.c752 pmcs[0] = mfspr(SPRN_PMC1); in pmao_restore_workaround()
771 mtspr(SPRN_PMC1, pmcs[0]); in pmao_restore_workaround()
820 val = mfspr(SPRN_PMC1); in read_pmc()
859 mtspr(SPRN_PMC1, val); in write_pmc()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dreg.h913 #define SPRN_PMC1 787 macro
1055 #define SPRN_PMC1 953 /* Performance Counter Register 1 */ macro
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsysfs.c599 SYSFS_PMCSETUP(pmc1, SPRN_PMC1);
/linux-6.3-rc2/arch/powerpc/xmon/
A Dxmon.c2071 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()

Completed in 32 milliseconds