Lines Matching refs:mtspr
589 mtspr(SPRN_SIAR, current->thread.siar); in ebb_switch_in()
590 mtspr(SPRN_SIER, current->thread.sier); in ebb_switch_in()
591 mtspr(SPRN_SDAR, current->thread.sdar); in ebb_switch_in()
600 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in()
671 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround()
674 mtspr(SPRN_PMC6, 0x7FFFFFFE); in pmao_restore_workaround()
677 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround()
680 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); 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()
741 mtspr(SPRN_PMC1, val); in write_pmc()
744 mtspr(SPRN_PMC2, val); in write_pmc()
747 mtspr(SPRN_PMC3, val); in write_pmc()
750 mtspr(SPRN_PMC4, val); in write_pmc()
753 mtspr(SPRN_PMC5, val); in write_pmc()
756 mtspr(SPRN_PMC6, val); in write_pmc()
760 mtspr(SPRN_PMC7, val); in write_pmc()
763 mtspr(SPRN_PMC8, val); in write_pmc()
1119 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0()
1146 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0()
1192 mtspr(SPRN_MMCRA, in power_pmu_disable()
1253 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1254 mtspr(SPRN_MMCR1, cpuhw->mmcr[1]); in power_pmu_enable()
1291 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1292 mtspr(SPRN_MMCR1, cpuhw->mmcr[1]); in power_pmu_enable()
1293 mtspr(SPRN_MMCR0, (cpuhw->mmcr[0] & ~(MMCR0_PMC1CE | MMCR0_PMCjCE)) in power_pmu_enable()
1296 mtspr(SPRN_MMCR2, cpuhw->mmcr[3]); in power_pmu_enable()
1365 mtspr(SPRN_MMCRA, cpuhw->mmcr[2]); in power_pmu_enable()