Lines Matching refs:pmcs
652 unsigned pmcs[6]; in pmao_restore_workaround() local
708 pmcs[0] = mfspr(SPRN_PMC1); in pmao_restore_workaround()
709 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround()
710 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround()
711 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround()
712 pmcs[4] = mfspr(SPRN_PMC5); in pmao_restore_workaround()
713 pmcs[5] = mfspr(SPRN_PMC6); in pmao_restore_workaround()
727 mtspr(SPRN_PMC1, pmcs[0]); in pmao_restore_workaround()
728 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround()
729 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround()
730 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround()
731 mtspr(SPRN_PMC5, pmcs[4]); in pmao_restore_workaround()
732 mtspr(SPRN_PMC6, pmcs[5]); in pmao_restore_workaround()
821 u32 pmcs[MAX_HWEVENTS]; in perf_event_print_debug() local
838 pmcs[i] = read_pmc(i + 1); in perf_event_print_debug()
841 pmcs[i] = 0xdeadbeef; in perf_event_print_debug()
844 pmcs[0], pmcs[1], pmcs[2], pmcs[3]); in perf_event_print_debug()
848 pmcs[4], pmcs[5], pmcs[6], pmcs[7]); in perf_event_print_debug()