Lines Matching refs:mmcr
32 unsigned long mmcr[3];
545 if (cpuhw->mmcr[2] & MMCRA_SAMPLE_ENABLE) {
547 cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE);
597 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE);
598 mtspr(SPRN_MMCR1, cpuhw->mmcr[1]);
608 cpuhw->mmcr)) {
622 cpuhw->mmcr[0] |= MMCR0_FCP;
624 cpuhw->mmcr[0] |= freeze_events_kernel;
626 cpuhw->mmcr[0] |= MMCR0_FCHV;
634 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE);
635 mtspr(SPRN_MMCR1, cpuhw->mmcr[1]);
636 mtspr(SPRN_MMCR0, (cpuhw->mmcr[0] & ~(MMCR0_PMC1CE | MMCR0_PMCjCE))
679 cpuhw->mmcr[0] |= MMCR0_PMXE | MMCR0_FCECE;
683 write_mmcr0(cpuhw, cpuhw->mmcr[0]);
688 if (cpuhw->mmcr[2] & MMCRA_SAMPLE_ENABLE) {
690 mtspr(SPRN_MMCRA, cpuhw->mmcr[2]);
800 ppmu->disable_pmc(event->hw.idx - 1, cpuhw->mmcr);
821 cpuhw->mmcr[0] &= ~(MMCR0_PMXE | MMCR0_FCECE);
1280 write_mmcr0(cpuhw, cpuhw->mmcr[0]);
1295 cpuhw->mmcr[0] = MMCR0_FC;