Lines Matching refs:pmcs
607 unsigned pmcs[6]; in pmao_restore_workaround() local
663 pmcs[0] = mfspr(SPRN_PMC1); in pmao_restore_workaround()
664 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround()
665 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround()
666 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround()
667 pmcs[4] = mfspr(SPRN_PMC5); in pmao_restore_workaround()
668 pmcs[5] = mfspr(SPRN_PMC6); in pmao_restore_workaround()
682 mtspr(SPRN_PMC1, pmcs[0]); in pmao_restore_workaround()
683 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround()
684 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround()
685 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround()
686 mtspr(SPRN_PMC5, pmcs[4]); in pmao_restore_workaround()
687 mtspr(SPRN_PMC6, pmcs[5]); in pmao_restore_workaround()
775 u32 pmcs[MAX_HWEVENTS]; in perf_event_print_debug() local
787 pmcs[i] = read_pmc(i + 1); in perf_event_print_debug()
790 pmcs[i] = 0xdeadbeef; in perf_event_print_debug()
793 pmcs[0], pmcs[1], pmcs[2], pmcs[3]); in perf_event_print_debug()
797 pmcs[4], pmcs[5], pmcs[6], pmcs[7]); in perf_event_print_debug()