Searched refs:SPRN_PMC2 (Results 1 – 6 of 6) sorted by relevance
77 return mfspr(SPRN_PMC2); in classic_ctr_read()106 mtspr(SPRN_PMC2, val); in classic_ctr_write()
735 #define SPRN_PMC2 788 macro873 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
111 mfspr r5, SPRN_PMC2
108 mtspr SPRN_PMC2, r4678 mtspr SPRN_PMC2, r51333 mfspr r4, SPRN_PMC2
663 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround()682 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround()704 val = mfspr(SPRN_PMC2); in read_pmc()743 mtspr(SPRN_PMC2, val); in write_pmc()
470 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);