Searched refs:SPRN_PMC1 (Results 1 – 19 of 19) sorted by relevance
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
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() 82 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in back_to_back_ebbs()
|
D | ebb.c | 239 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state() 267 trace_log_reg(ebb_state.trace, SPRN_PMC1 + pmc - 1, val); in count_pmc() 372 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in ebb_child() 430 mtspr(SPRN_PMC1, 0); in write_pmc1() 436 case 1: mtspr(SPRN_PMC1, value); break; in write_pmc() 448 case 1: return mfspr(SPRN_PMC1); in read_pmc()
|
D | close_clears_pmcc_test.c | 33 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in close_clears_pmcc()
|
D | reg.h | 38 #define SPRN_PMC1 771 macro
|
D | no_handler_test.c | 37 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in no_handler_test()
|
D | fork_cleanup_test.c | 59 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in fork_cleanup()
|
D | cycles_test.c | 33 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles()
|
D | cycles_with_mmcr2_test.c | 44 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_mmcr2()
|
D | pmc56_overflow_test.c | 67 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in pmc56_overflow()
|
D | pmae_handling_test.c | 75 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in test_body()
|
D | multi_ebb_procs_test.c | 54 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_child()
|
D | multi_counter_test.c | 56 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in multi_counter()
|
D | cycles_with_freeze_test.c | 72 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_freeze()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | oprofile_impl.h | 75 return mfspr(SPRN_PMC1); in classic_ctr_read() 103 mtspr(SPRN_PMC1, val); in classic_ctr_write()
|
D | reg.h | 740 #define SPRN_PMC1 787 macro 878 #define SPRN_PMC1 953 /* Performance Counter Register 1 */ macro
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 106 mfspr r3, SPRN_PMC1
|
D | book3s_hv_rmhandlers.S | 97 mtspr SPRN_PMC1, r3 699 mtspr SPRN_PMC1, r3 1507 mfspr r3, SPRN_PMC1
|
/linux-4.1.27/arch/powerpc/perf/ |
D | core-book3s.c | 663 pmcs[0] = mfspr(SPRN_PMC1); in pmao_restore_workaround() 682 mtspr(SPRN_PMC1, pmcs[0]); in pmao_restore_workaround() 702 val = mfspr(SPRN_PMC1); in read_pmc() 741 mtspr(SPRN_PMC1, val); in write_pmc()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | sysfs.c | 469 SYSFS_PMCSETUP(pmc1, SPRN_PMC1);
|