mtspr 42 arch/openrisc/kernel/dma.c mtspr(SPR_DCBFR, cl); mtspr 139 arch/openrisc/kernel/dma.c mtspr(SPR_DCBFR, cl); mtspr 145 arch/openrisc/kernel/dma.c mtspr(SPR_DCBIR, cl); mtspr 31 arch/openrisc/kernel/irq.c mtspr(SPR_SR, ((mfspr(SPR_SR) & ~(SPR_SR_IEE|SPR_SR_TEE)) | flags)); mtspr 85 arch/openrisc/kernel/process.c mtspr(SPR_PMR, mfspr(SPR_PMR) | SPR_PMR_DME); mtspr 183 arch/openrisc/kernel/smp.c mtspr(SPR_PMR, mfspr(SPR_PMR) | SPR_PMR_DME); mtspr 29 arch/openrisc/kernel/time.c mtspr(SPR_TTCR, count); mtspr 48 arch/openrisc/kernel/time.c mtspr(SPR_TTMR, SPR_TTMR_CR | SPR_TTMR_IE | c); mtspr 72 arch/openrisc/kernel/time.c mtspr(SPR_TTMR, SPR_TTMR_CR); mtspr 97 arch/openrisc/kernel/time.c mtspr(SPR_TTMR, SPR_TTMR_CR); mtspr 157 arch/openrisc/kernel/time.c mtspr(SPR_TTMR, SPR_TTMR_CR); mtspr 25 arch/openrisc/mm/cache.c mtspr(reg, line); mtspr 189 arch/openrisc/mm/init.c mtspr(SPR_ICBIR, 0x900); mtspr 190 arch/openrisc/mm/init.c mtspr(SPR_ICBIR, 0xa00); mtspr 76 arch/openrisc/mm/tlb.c #define flush_dtlb_page_eir(addr) mtspr(SPR_DTLBEIR, addr) mtspr 80 arch/openrisc/mm/tlb.c #define flush_itlb_page_eir(addr) mtspr(SPR_ITLBEIR, addr) mtspr 467 arch/powerpc/boot/4xx.c mtspr(SPRN_CCR1, ccr1); mtspr 18 arch/powerpc/include/asm/book3s/64/kup-radix.h mtspr SPRN_AMR, \gpr mtspr 48 arch/powerpc/include/asm/book3s/64/kup-radix.h mtspr SPRN_AMR, \gpr2 mtspr 76 arch/powerpc/include/asm/book3s/64/kup-radix.h mtspr(SPRN_AMR, value); mtspr 95 arch/powerpc/include/asm/exception-64e.h mtspr SPRN_SPRG_TLB_SCRATCH,r12; \ mtspr 111 arch/powerpc/include/asm/exception-64e.h mtspr SPRN_SPRG_TLB_EXFRAME,r14; \ mtspr 138 arch/powerpc/include/asm/exception-64e.h mtspr SPRN_SPRG_TLB_EXFRAME,freg; \ mtspr 143 arch/powerpc/include/asm/exception-64e.h mtspr SPRN_SRR0,r15; \ mtspr 145 arch/powerpc/include/asm/exception-64e.h mtspr SPRN_SRR1,r16; \ mtspr 206 arch/powerpc/include/asm/exception-64e.h mtspr SPRN_IVOR##vector_number,r3; mtspr 837 arch/powerpc/include/asm/kvm_ppc.h mtspr(SPRN_GEPR, epr); mtspr 923 arch/powerpc/include/asm/kvm_ppc.h mtspr(bookehv_spr, val); \ mtspr 14 arch/powerpc/include/asm/nohash/32/kup-8xx.h mtspr SPRN_MD_AP, \gpr2 mtspr 20 arch/powerpc/include/asm/nohash/32/kup-8xx.h mtspr SPRN_MD_AP, \gpr1 mtspr 39 arch/powerpc/include/asm/nohash/32/kup-8xx.h mtspr(SPRN_MD_AP, MD_APG_INIT); mtspr 45 arch/powerpc/include/asm/nohash/32/kup-8xx.h mtspr(SPRN_MD_AP, MD_APG_KUAP); mtspr 99 arch/powerpc/include/asm/oprofile_impl.h mtspr(SPRN_PMC1, val); mtspr 102 arch/powerpc/include/asm/oprofile_impl.h mtspr(SPRN_PMC2, val); mtspr 105 arch/powerpc/include/asm/oprofile_impl.h mtspr(SPRN_PMC3, val); mtspr 108 arch/powerpc/include/asm/oprofile_impl.h mtspr(SPRN_PMC4, val); mtspr 111 arch/powerpc/include/asm/oprofile_impl.h mtspr(SPRN_PMC5, val); mtspr 114 arch/powerpc/include/asm/oprofile_impl.h mtspr(SPRN_PMC6, val); mtspr 120 arch/powerpc/include/asm/oprofile_impl.h mtspr(SPRN_PMC7, val); mtspr 123 arch/powerpc/include/asm/oprofile_impl.h mtspr(SPRN_PMC8, val); mtspr 831 arch/powerpc/include/asm/ppc_asm.h mtspr SPRN_BUCSR,reg; \ mtspr 45 arch/powerpc/include/asm/probes.h mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); mtspr 1132 arch/powerpc/include/asm/reg.h mtspr SPRN_SPRG_PACA,rX; \ mtspr 1134 arch/powerpc/include/asm/reg.h mtspr SPRN_SPRG_HPACA,rX; \ mtspr 1146 arch/powerpc/include/asm/reg.h mtspr SPRN_SPRG_SCRATCH0,rX; \ mtspr 1148 arch/powerpc/include/asm/reg.h mtspr SPRN_SPRG_HSCRATCH0,rX; \ mtspr 1153 arch/powerpc/include/asm/reg.h #define SET_SCRATCH0(rX) mtspr SPRN_SPRG_SCRATCH0,rX mtspr 1168 arch/powerpc/include/asm/reg.h #define SET_PACA(rX) mtspr SPRN_SPRG_PACA,rX mtspr 1365 arch/powerpc/include/asm/reg.h #ifndef mtspr mtspr 131 arch/powerpc/include/asm/time.h mtspr(SPRN_TBWL, 0); mtspr 132 arch/powerpc/include/asm/time.h mtspr(SPRN_TBWU, upper); mtspr 133 arch/powerpc/include/asm/time.h mtspr(SPRN_TBWL, lower); mtspr 159 arch/powerpc/include/asm/time.h mtspr(SPRN_PIT, (u32) val); mtspr 164 arch/powerpc/include/asm/time.h mtspr(SPRN_DEC, val); mtspr 26 arch/powerpc/include/asm/ultravisor.h mtspr(SPRN_PTCR, val); mtspr 42 arch/powerpc/kernel/dawr.c mtspr(SPRN_DAWR, dawr); mtspr 43 arch/powerpc/kernel/dawr.c mtspr(SPRN_DAWRX, dawrx); mtspr 100 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 102 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPID, 0); mtspr 103 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_HFSCR, system_registers.hfscr); mtspr 104 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_PCR, PCR_MASK); mtspr 106 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_FSCR, system_registers.fscr); mtspr 143 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_HFSCR, 0); mtspr 145 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_FSCR, 0); mtspr 146 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_PCR, PCR_MASK); mtspr 161 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_HFSCR, hfscr); mtspr 171 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_FSCR, fscr); mtspr 198 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_HFSCR, hfscr); mtspr 206 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_FSCR, fscr); mtspr 239 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPID, 0); mtspr 243 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 272 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 293 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 309 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 324 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 354 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 363 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_HFSCR, hfscr); mtspr 369 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCRC, 0); mtspr 370 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCRH, 0); mtspr 373 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCRA, 0); mtspr 374 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCR0, 0); mtspr 375 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCR1, 0); mtspr 376 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCR2, 0); mtspr 377 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCRS, 0); mtspr 410 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCRC, 0); mtspr 412 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCRA, 0); mtspr 413 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCR0, 0); mtspr 414 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCR1, 0); mtspr 415 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_MMCR2, 0); mtspr 518 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 543 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); mtspr 15 arch/powerpc/kernel/head_32.h mtspr SPRN_SPRG_SCRATCH0,r10 mtspr 16 arch/powerpc/kernel/head_32.h mtspr SPRN_SPRG_SCRATCH1,r11 mtspr 109 arch/powerpc/kernel/head_32.h mtspr SPRN_DBSR,r12 mtspr 114 arch/powerpc/kernel/head_32.h mtspr SPRN_DBCR0,r12 mtspr 136 arch/powerpc/kernel/head_32.h mtspr SPRN_NRI, r0 mtspr 138 arch/powerpc/kernel/head_32.h mtspr SPRN_SRR1,r10 mtspr 139 arch/powerpc/kernel/head_32.h mtspr SPRN_SRR0,r11 mtspr 17 arch/powerpc/kernel/head_booke.h mtspr SPRN_IVOR##vector_number,r26; \ mtspr 48 arch/powerpc/kernel/head_booke.h mtspr SPRN_SPRG_WSCRATCH0, r10; /* save one register */ \ mtspr 90 arch/powerpc/kernel/head_booke.h mtspr SPRN_SPRG_WSCRATCH0, r10 mtspr 143 arch/powerpc/kernel/head_booke.h mtspr SPRN_DBSR,r12 mtspr 153 arch/powerpc/kernel/head_booke.h mtspr SPRN_DBCR0,r12 mtspr 175 arch/powerpc/kernel/head_booke.h mtspr SPRN_SRR1,r10 mtspr 176 arch/powerpc/kernel/head_booke.h mtspr SPRN_SRR0,r11 mtspr 230 arch/powerpc/kernel/head_booke.h mtspr SPRN_SPRG_WSCRATCH_##exc_level,r8; \ mtspr 290 arch/powerpc/kernel/head_booke.h mtspr SPRN_SPRG_WSCRATCH0, r10; /* save one register */ \ mtspr 387 arch/powerpc/kernel/head_booke.h mtspr SPRN_DBSR,r10; \ mtspr 393 arch/powerpc/kernel/head_booke.h mtspr SPRN_DSRR0,r12; \ mtspr 394 arch/powerpc/kernel/head_booke.h mtspr SPRN_DSRR1,r9; \ mtspr 397 arch/powerpc/kernel/head_booke.h mtspr SPRN_SPRG_WSCRATCH_DBG,r8; \ mtspr 440 arch/powerpc/kernel/head_booke.h mtspr SPRN_DBSR,r10; \ mtspr 446 arch/powerpc/kernel/head_booke.h mtspr SPRN_CSRR0,r12; \ mtspr 447 arch/powerpc/kernel/head_booke.h mtspr SPRN_CSRR1,r9; \ mtspr 450 arch/powerpc/kernel/head_booke.h mtspr SPRN_SPRG_WSCRATCH_CRIT,r8; \ mtspr 501 arch/powerpc/kernel/head_booke.h mtspr SPRN_TSR,r0; /* Clear the DEC interrupt */ \ mtspr 402 arch/powerpc/kernel/kgdb.c mtspr(SPRN_DBCR0, mtspr 652 arch/powerpc/kernel/mce.c mtspr(SPRN_HMER, ~HMER_DEBUG_TRIG); mtspr 215 arch/powerpc/kernel/paca.c mtspr(SPRN_SPRG_TLB_EXFRAME, local_paca->extlb); mtspr 226 arch/powerpc/kernel/paca.c mtspr(SPRN_SPRG_HPACA, local_paca); mtspr 228 arch/powerpc/kernel/paca.c mtspr(SPRN_SPRG_PACA, local_paca); mtspr 30 arch/powerpc/kernel/pmc.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); mtspr 32 arch/powerpc/kernel/pmc.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_PMXE); mtspr 675 arch/powerpc/kernel/process.c mtspr(SPRN_IAC1, debug->iac1); mtspr 676 arch/powerpc/kernel/process.c mtspr(SPRN_IAC2, debug->iac2); mtspr 678 arch/powerpc/kernel/process.c mtspr(SPRN_IAC3, debug->iac3); mtspr 679 arch/powerpc/kernel/process.c mtspr(SPRN_IAC4, debug->iac4); mtspr 681 arch/powerpc/kernel/process.c mtspr(SPRN_DAC1, debug->dac1); mtspr 682 arch/powerpc/kernel/process.c mtspr(SPRN_DAC2, debug->dac2); mtspr 684 arch/powerpc/kernel/process.c mtspr(SPRN_DVC1, debug->dvc1); mtspr 685 arch/powerpc/kernel/process.c mtspr(SPRN_DVC2, debug->dvc2); mtspr 687 arch/powerpc/kernel/process.c mtspr(SPRN_DBCR0, debug->dbcr0); mtspr 688 arch/powerpc/kernel/process.c mtspr(SPRN_DBCR1, debug->dbcr1); mtspr 690 arch/powerpc/kernel/process.c mtspr(SPRN_DBCR2, debug->dbcr2); mtspr 727 arch/powerpc/kernel/process.c mtspr(SPRN_DAC1, dabr); mtspr 736 arch/powerpc/kernel/process.c mtspr(SPRN_DABR, dabr); mtspr 738 arch/powerpc/kernel/process.c mtspr(SPRN_DABRX, dabrx); mtspr 755 arch/powerpc/kernel/process.c mtspr(SPRN_LCTRL2, 0); mtspr 756 arch/powerpc/kernel/process.c mtspr(SPRN_CMPE, addr); mtspr 757 arch/powerpc/kernel/process.c mtspr(SPRN_CMPF, addr + 4); mtspr 758 arch/powerpc/kernel/process.c mtspr(SPRN_LCTRL1, lctrl1); mtspr 759 arch/powerpc/kernel/process.c mtspr(SPRN_LCTRL2, lctrl2); mtspr 1087 arch/powerpc/kernel/process.c mtspr(SPRN_VRSAVE, new_thread->vrsave); mtspr 1096 arch/powerpc/kernel/process.c mtspr(SPRN_DSCR, dscr); mtspr 1101 arch/powerpc/kernel/process.c mtspr(SPRN_BESCR, new_thread->bescr); mtspr 1103 arch/powerpc/kernel/process.c mtspr(SPRN_EBBHR, new_thread->ebbhr); mtspr 1105 arch/powerpc/kernel/process.c mtspr(SPRN_EBBRR, new_thread->ebbrr); mtspr 1108 arch/powerpc/kernel/process.c mtspr(SPRN_FSCR, new_thread->fscr); mtspr 1111 arch/powerpc/kernel/process.c mtspr(SPRN_TAR, new_thread->tar); mtspr 1116 arch/powerpc/kernel/process.c mtspr(SPRN_TIDR, new_thread->tidr); mtspr 1524 arch/powerpc/kernel/process.c mtspr(SPRN_TIDR, t->thread.tidr); mtspr 2110 arch/powerpc/kernel/process.c mtspr(SPRN_CTRLT, CTRL_RUNLATCH); mtspr 2120 arch/powerpc/kernel/process.c mtspr(SPRN_CTRLT, ctrl); mtspr 2134 arch/powerpc/kernel/process.c mtspr(SPRN_CTRLT, 0); mtspr 2140 arch/powerpc/kernel/process.c mtspr(SPRN_CTRLT, ctrl); mtspr 238 arch/powerpc/kernel/setup_64.c mtspr(SPRN_LPCR, lpcr | LPCR_AIL_3); mtspr 251 arch/powerpc/kernel/setup_64.c mtspr(SPRN_HFSCR, mfspr(SPRN_HFSCR) | HFSCR_TM); mtspr 253 arch/powerpc/kernel/setup_64.c mtspr(SPRN_HFSCR, mfspr(SPRN_HFSCR) & ~HFSCR_TM); mtspr 674 arch/powerpc/kernel/signal_32.c mtspr(SPRN_VRSAVE, current->thread.vrsave); mtspr 786 arch/powerpc/kernel/signal_32.c mtspr(SPRN_VRSAVE, current->thread.ckvrsave); mtspr 391 arch/powerpc/kernel/signal_64.c mtspr(SPRN_VRSAVE, tsk->thread.vrsave); mtspr 524 arch/powerpc/kernel/signal_64.c mtspr(SPRN_VRSAVE, tsk->thread.vrsave); mtspr 143 arch/powerpc/kernel/sysfs.c mtspr(SPRN_PWRMGTCR0, pw20_state); mtspr 210 arch/powerpc/kernel/sysfs.c mtspr(SPRN_PWRMGTCR0, pw20_idle); mtspr 265 arch/powerpc/kernel/sysfs.c mtspr(SPRN_PWRMGTCR0, altivec_idle); mtspr 332 arch/powerpc/kernel/sysfs.c mtspr(SPRN_PWRMGTCR0, altivec_idle); mtspr 418 arch/powerpc/kernel/sysfs.c mtspr(ADDRESS, *(unsigned long *)val); \ mtspr 537 arch/powerpc/kernel/sysfs.c mtspr(SPRN_DSCR, *(unsigned long *)val); mtspr 63 arch/powerpc/kernel/tau_6xx.c mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TIE | THRM1_TID); mtspr 68 arch/powerpc/kernel/tau_6xx.c mtspr (SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | THRM1_TIE); mtspr 71 arch/powerpc/kernel/tau_6xx.c mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TID); mtspr 72 arch/powerpc/kernel/tau_6xx.c mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V); mtspr 189 arch/powerpc/kernel/tau_6xx.c mtspr(SPRN_THRM3, THRM3_SITV(500*60) | THRM3_E); mtspr 771 arch/powerpc/kernel/time.c mtspr(SPRN_TSR, TSR_ENW | TSR_WIS | TSR_DIS | TSR_FIS); mtspr 780 arch/powerpc/kernel/time.c mtspr(SPRN_TCR, tcr); mtspr 1023 arch/powerpc/kernel/time.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); mtspr 520 arch/powerpc/kernel/traps.c mtspr(SPRN_HSRR0, hsrr0); mtspr 521 arch/powerpc/kernel/traps.c mtspr(SPRN_HSRR1, hsrr1); mtspr 632 arch/powerpc/kernel/traps.c mtspr(SPRN_L1CSR1, mfspr(SPRN_L1CSR1) | L1CSR1_ICFI); mtspr 710 arch/powerpc/kernel/traps.c mtspr(SPRN_MCSR, mcsr); mtspr 1416 arch/powerpc/kernel/traps.c mtspr(SPRN_DSCR, current->thread.dscr); mtspr 1773 arch/powerpc/kernel/traps.c mtspr(SPRN_FSCR, current->thread.fscr); mtspr 1957 arch/powerpc/kernel/traps.c mtspr(SPRN_DBCR0, current->thread.debug.dbcr0); mtspr 1973 arch/powerpc/kernel/traps.c mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) & ~DBCR0_BT); mtspr 1975 arch/powerpc/kernel/traps.c mtspr(SPRN_DBSR, DBSR_BT); mtspr 1998 arch/powerpc/kernel/traps.c mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) & ~DBCR0_IC); mtspr 2000 arch/powerpc/kernel/traps.c mtspr(SPRN_DBSR, DBSR_IC); mtspr 2197 arch/powerpc/kernel/traps.c mtspr(SPRN_TCR, mfspr(SPRN_TCR)&(~TCR_WIE)); mtspr 686 arch/powerpc/kernel/vdso.c mtspr(SPRN_SPRG_VDSO_WRITE, val); mtspr 290 arch/powerpc/kernel/watchdog.c mtspr(SPRN_DEC, wd_panic_timeout_tb); mtspr 56 arch/powerpc/kvm/book3s_64_mmu_radix.c mtspr(SPRN_LPID, lpid); mtspr 60 arch/powerpc/kvm/book3s_64_mmu_radix.c mtspr(SPRN_PID, pid); mtspr 73 arch/powerpc/kvm/book3s_64_mmu_radix.c mtspr(SPRN_PID, old_pid); mtspr 75 arch/powerpc/kvm/book3s_64_mmu_radix.c mtspr(SPRN_LPID, old_lpid); mtspr 157 arch/powerpc/kvm/book3s_emulate.c mtspr(SPRN_TEXASR, texasr); mtspr 158 arch/powerpc/kvm/book3s_emulate.c mtspr(SPRN_TFIAR, vcpu->arch.tfiar); mtspr 169 arch/powerpc/kvm/book3s_emulate.c mtspr(SPRN_TAR, vcpu->arch.tar); mtspr 809 arch/powerpc/kvm/book3s_emulate.c mtspr(SPRN_TFHAR, spr_val); mtspr 811 arch/powerpc/kvm/book3s_emulate.c mtspr(SPRN_TEXASR, spr_val); mtspr 813 arch/powerpc/kvm/book3s_emulate.c mtspr(SPRN_TFIAR, spr_val); mtspr 3213 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_HID0, hid0); mtspr 3239 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_RWMR, rwmr_val); mtspr 3331 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_HID0, hid0); mtspr 3406 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_HDEC, hdec); mtspr 3410 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_TBU40, new_tb); mtspr 3413 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_TBU40, new_tb + 0x1000000); mtspr 3418 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PCR, vc->pcr | PCR_MASK); mtspr 3419 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DPDES, vc->dpdes); mtspr 3420 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_VTB, vc->vtb); mtspr 3424 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PURR, vcpu->arch.purr); mtspr 3425 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPURR, vcpu->arch.spurr); mtspr 3428 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DAWR, vcpu->arch.dawr); mtspr 3429 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DAWRX, vcpu->arch.dawrx); mtspr 3431 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_CIABR, vcpu->arch.ciabr); mtspr 3432 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_IC, vcpu->arch.ic); mtspr 3433 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PID, vcpu->arch.pid); mtspr 3435 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PSSCR, vcpu->arch.psscr | PSSCR_EC | mtspr 3438 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_HFSCR, vcpu->arch.hfscr); mtspr 3440 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPRG0, vcpu->arch.shregs.sprg0); mtspr 3441 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPRG1, vcpu->arch.shregs.sprg1); mtspr 3442 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPRG2, vcpu->arch.shregs.sprg2); mtspr 3443 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPRG3, vcpu->arch.shregs.sprg3); mtspr 3445 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_AMOR, ~0UL); mtspr 3447 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_LPCR, lpcr); mtspr 3452 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SRR0, vcpu->arch.shregs.srr0); mtspr 3453 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SRR1, vcpu->arch.shregs.srr1); mtspr 3460 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PURR, local_paca->kvm_hstate.host_purr + mtspr 3462 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPURR, local_paca->kvm_hstate.host_spurr + mtspr 3477 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PSSCR, host_psscr | mtspr 3479 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_HFSCR, host_hfscr); mtspr 3480 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_CIABR, host_ciabr); mtspr 3481 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DAWR, host_dawr); mtspr 3482 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DAWRX, host_dawrx); mtspr 3483 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PID, host_pidr); mtspr 3491 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_LPID, vcpu->kvm->arch.host_lpid); /* restore host LPID */ mtspr 3496 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DPDES, 0); mtspr 3498 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PCR, PCR_MASK); mtspr 3502 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_TBU40, new_tb); mtspr 3505 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_TBU40, new_tb + 0x1000000); mtspr 3509 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_HDEC, 0x7fffffff); mtspr 3510 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_LPCR, vcpu->kvm->arch.host_lpcr); mtspr 3566 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); mtspr 3568 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DSCR, vcpu->arch.dscr); mtspr 3569 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_IAMR, vcpu->arch.iamr); mtspr 3570 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PSPB, vcpu->arch.pspb); mtspr 3571 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_FSCR, vcpu->arch.fscr); mtspr 3572 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_TAR, vcpu->arch.tar); mtspr 3573 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_EBBHR, vcpu->arch.ebbhr); mtspr 3574 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_EBBRR, vcpu->arch.ebbrr); mtspr 3575 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_BESCR, vcpu->arch.bescr); mtspr 3576 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_WORT, vcpu->arch.wort); mtspr 3577 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_TIDR, vcpu->arch.tid); mtspr 3578 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DAR, vcpu->arch.shregs.dar); mtspr 3579 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DSISR, vcpu->arch.shregs.dsisr); mtspr 3580 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_AMR, vcpu->arch.amr); mtspr 3581 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_UAMOR, vcpu->arch.uamor); mtspr 3584 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_CTRLT, mfspr(SPRN_CTRLF) & ~1); mtspr 3586 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DEC, vcpu->arch.dec_expires - mftb()); mtspr 3600 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PSSCR_PR, vcpu->arch.psscr); mtspr 3620 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PSSCR_PR, host_psscr); mtspr 3656 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PSPB, 0); mtspr 3657 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_WORT, 0); mtspr 3658 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_UAMOR, 0); mtspr 3659 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DSCR, host_dscr); mtspr 3660 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_TIDR, host_tidr); mtspr 3661 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_IAMR, host_iamr); mtspr 3662 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PSPB, 0); mtspr 3665 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_AMR, host_amr); mtspr 3694 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DEC, local_paca->kvm_hstate.dec_expires - mftb()); mtspr 3695 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPRG_VDSO_WRITE, local_paca->sprg_vdso); mtspr 4119 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_LPID, lpid); mtspr 4143 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_LPID, kvm->arch.host_lpid); mtspr 4326 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_EBBHR, ebb_regs[0]); mtspr 4327 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_EBBRR, ebb_regs[1]); mtspr 4328 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_BESCR, ebb_regs[2]); mtspr 4329 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_TAR, user_tar); mtspr 4330 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_FSCR, current->thread.fscr); mtspr 4332 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_VRSAVE, user_vrsave); mtspr 711 arch/powerpc/kvm/book3s_hv_builtin.c mtspr(SPRN_LPCR, sip->lpcr_req); mtspr 712 arch/powerpc/kvm/book3s_hv_builtin.c mtspr(SPRN_LPID, sip->lpidr_req); mtspr 744 arch/powerpc/kvm/book3s_hv_builtin.c mtspr(SPRN_LPID, 0); mtspr 745 arch/powerpc/kvm/book3s_hv_builtin.c mtspr(SPRN_LPCR, sip->host_lpcr); mtspr 772 arch/powerpc/kvm/book3s_hv_builtin.c mtspr(SPRN_LPCR, lpcr); mtspr 799 arch/powerpc/kvm/book3s_hv_builtin.c mtspr(SPRN_DPDES, 1); mtspr 140 arch/powerpc/kvm/book3s_hv_rm_xics.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_MER); mtspr 178 arch/powerpc/kvm/book3s_hv_rm_xics.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_MER); mtspr 55 arch/powerpc/kvm/book3s_hv_tm_builtin.c mtspr(SPRN_BESCR, bescr); mtspr 108 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_AIL); mtspr 143 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_AIL_3); mtspr 312 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_TFHAR, vcpu->arch.tfhar); mtspr 313 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_TEXASR, vcpu->arch.texasr); mtspr 314 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_TFIAR, vcpu->arch.tfiar); mtspr 612 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_HID2_GEKKO, mfspr(SPRN_HID2_GEKKO) | (1 << 29)); mtspr 838 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_TAR, current->thread.tar); mtspr 1000 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_TAR, vcpu->arch.tar); mtspr 1420 arch/powerpc/kvm/booke.c mtspr(SPRN_DBSR, DBSR_MRR); mtspr 116 arch/powerpc/kvm/booke.h mtspr(SPRN_DBSR, mfspr(SPRN_DBSR)); mtspr 300 arch/powerpc/kvm/booke_emulate.c mtspr(SPRN_GIVPR, spr_val); mtspr 312 arch/powerpc/kvm/booke_emulate.c mtspr(SPRN_GIVOR2, spr_val); mtspr 333 arch/powerpc/kvm/booke_emulate.c mtspr(SPRN_GIVOR8, spr_val); mtspr 364 arch/powerpc/kvm/booke_emulate.c mtspr(SPRN_EPCR, vcpu->arch.shadow_epcr); mtspr 274 arch/powerpc/kvm/e500.c mtspr(SPRN_MAS6, val); mtspr 278 arch/powerpc/kvm/e500.c mtspr(SPRN_MAS1, val & ~MAS1_VALID); mtspr 76 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS0, mas0); mtspr 77 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS1, stlbe->mas1); mtspr 78 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS2, (unsigned long)stlbe->mas2); mtspr 79 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS3, (u32)stlbe->mas7_3); mtspr 80 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS7, (u32)(stlbe->mas7_3 >> 32)); mtspr 82 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS8, MAS8_TGS | get_thread_specific_lpid(lpid)); mtspr 88 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS8, 0); mtspr 112 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS6, 0); mtspr 114 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS4, mas4 & ~MAS4_TLBSEL_MASK); mtspr 117 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS4, mas4); mtspr 206 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS0, mtspr 209 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS1, 0); mtspr 645 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS6, (vcpu->arch.pid << MAS6_SPID_SHIFT) | addr_space); mtspr 646 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(vcpu)); mtspr 649 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS5, 0); mtspr 650 arch/powerpc/kvm/e500_mmu_host.c mtspr(SPRN_MAS8, 0); mtspr 72 arch/powerpc/kvm/e500mc.c mtspr(SPRN_MAS6, val); mtspr 73 arch/powerpc/kvm/e500mc.c mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); mtspr 78 arch/powerpc/kvm/e500mc.c mtspr(SPRN_MAS1, val & ~MAS1_VALID); mtspr 81 arch/powerpc/kvm/e500mc.c mtspr(SPRN_MAS5, 0); mtspr 83 arch/powerpc/kvm/e500mc.c mtspr(SPRN_MAS8, 0); mtspr 94 arch/powerpc/kvm/e500mc.c mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); mtspr 96 arch/powerpc/kvm/e500mc.c mtspr(SPRN_MAS5, 0); mtspr 118 arch/powerpc/kvm/e500mc.c mtspr(SPRN_LPID, get_lpid(vcpu)); mtspr 119 arch/powerpc/kvm/e500mc.c mtspr(SPRN_EPCR, vcpu->arch.shadow_epcr); mtspr 120 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GPIR, vcpu->vcpu_id); mtspr 121 arch/powerpc/kvm/e500mc.c mtspr(SPRN_MSRP, vcpu->arch.shadow_msrp); mtspr 124 arch/powerpc/kvm/e500mc.c mtspr(SPRN_EPLC, vcpu->arch.eplc); mtspr 125 arch/powerpc/kvm/e500mc.c mtspr(SPRN_EPSC, vcpu->arch.epsc); mtspr 127 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GIVPR, vcpu->arch.ivpr); mtspr 128 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GIVOR2, vcpu->arch.ivor[BOOKE_IRQPRIO_DATA_STORAGE]); mtspr 129 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GIVOR8, vcpu->arch.ivor[BOOKE_IRQPRIO_SYSCALL]); mtspr 130 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GSPRG0, (unsigned long)vcpu->arch.shared->sprg0); mtspr 131 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GSPRG1, (unsigned long)vcpu->arch.shared->sprg1); mtspr 132 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GSPRG2, (unsigned long)vcpu->arch.shared->sprg2); mtspr 133 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GSPRG3, (unsigned long)vcpu->arch.shared->sprg3); mtspr 135 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GSRR0, vcpu->arch.shared->srr0); mtspr 136 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GSRR1, vcpu->arch.shared->srr1); mtspr 138 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GEPR, vcpu->arch.epr); mtspr 139 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GDEAR, vcpu->arch.shared->dar); mtspr 140 arch/powerpc/kvm/e500mc.c mtspr(SPRN_GESR, vcpu->arch.shared->esr); mtspr 810 arch/powerpc/kvm/powerpc.c mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); mtspr 678 arch/powerpc/math-emu/math_efp.c mtspr(SPRN_SPEFSCR, __FPU_FPSCR); mtspr 911 arch/powerpc/mm/book3s64/hash_utils.c mtspr(SPRN_SDR1, _SDR1); mtspr 1076 arch/powerpc/mm/book3s64/hash_utils.c mtspr(SPRN_SDR1, _SDR1); mtspr 306 arch/powerpc/mm/book3s64/mmu_context.c mtspr(SPRN_PID, next->context.id); mtspr 180 arch/powerpc/mm/book3s64/pkeys.c mtspr(SPRN_AMR, value); mtspr 196 arch/powerpc/mm/book3s64/pkeys.c mtspr(SPRN_IAMR, value); mtspr 206 arch/powerpc/mm/book3s64/pkeys.c mtspr(SPRN_UAMOR, value); mtspr 502 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_AMOR, (3ul << 62)); mtspr 519 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_IAMR, (1ul << 62)); mtspr 535 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_UAMOR, 0); mtspr 536 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_AMR, AMR_KUAP_BLOCKED); mtspr 599 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); mtspr 621 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); mtspr 639 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_LPCR, lpcr & ~LPCR_UPRT); mtspr 68 arch/powerpc/mm/nohash/40x.c mtspr(SPRN_ZPR, 0x10000000); mtspr 77 arch/powerpc/mm/nohash/40x.c mtspr(SPRN_DCWR, 0x00000000); /* All caching is write-back */ mtspr 84 arch/powerpc/mm/nohash/40x.c mtspr(SPRN_DCCR, 0xFFFF0000); /* 2GByte of data space at 0x0. */ mtspr 85 arch/powerpc/mm/nohash/40x.c mtspr(SPRN_ICCR, 0xFFFF0000); /* 2GByte of instr. space at 0x0. */ mtspr 60 arch/powerpc/mm/nohash/44x.c mtspr(SPRN_MMUCR, 0); mtspr 142 arch/powerpc/mm/nohash/44x.c mtspr(SPRN_MMUCR, 0); mtspr 72 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_MD_CTR, ctr | (i << 8)); mtspr 73 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_MD_EPN, (unsigned long)__va(addr) | MD_EVALID); mtspr 74 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_MD_TWC, MD_PS8MEG | MD_SVALID); mtspr 75 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_MD_RPN, addr | flags | _PAGE_PRESENT); mtspr 197 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_M_TWB, __pa(pgd) - offset); mtspr 200 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_M_CASID, id - 1); mtspr 208 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_IC_CST, IDC_INVALL); mtspr 220 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_MI_AP, MI_APG_KUEP); mtspr 232 arch/powerpc/mm/nohash/8xx.c mtspr(SPRN_MD_AP, MD_APG_KUAP); mtspr 105 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mtspr(SPRN_MAS6, pid << 16); mtspr 159 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mtspr(SPRN_MAS0, MAS0_ESEL(index) | MAS0_TLBSEL(1)); mtspr 169 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mtspr(SPRN_MAS1, mas1); mtspr 170 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mtspr(SPRN_MAS2, mas2); mtspr 173 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mtspr(SPRN_MAS7_MAS3, mas7_3); mtspr 176 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mtspr(SPRN_MAS7, upper_32_bits(mas7_3)); mtspr 177 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mtspr(SPRN_MAS3, lower_32_bits(mas7_3)); mtspr 628 arch/powerpc/mm/nohash/tlb.c mtspr(SPRN_MAS4, mas4); mtspr 62 arch/powerpc/oprofile/op_model_7450.c mtspr(SPRN_MMCR0, mmcr0); mtspr 73 arch/powerpc/oprofile/op_model_7450.c mtspr(SPRN_MMCR0, mmcr0); mtspr 83 arch/powerpc/oprofile/op_model_7450.c mtspr(SPRN_MMCR0, mmcr0_val); mtspr 84 arch/powerpc/oprofile/op_model_7450.c mtspr(SPRN_MMCR1, mmcr1_val); mtspr 86 arch/powerpc/oprofile/op_model_7450.c mtspr(SPRN_MMCR2, mmcr2_val); mtspr 54 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_PMC0, val); mtspr 57 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_PMC1, val); mtspr 60 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_PMC2, val); mtspr 63 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_PMC3, val); mtspr 66 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_PMC4, val); mtspr 69 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_PMC5, val); mtspr 137 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_MMCR0, mmcr0); mtspr 140 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_MMCR1, mmcr1); mtspr 163 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_MMCR0, mmcr0); mtspr 179 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_MMCR0, mmcr0); mtspr 198 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_MMCR0, mmcr0 | PA6T_MMCR0_HANDDIS); mtspr 218 arch/powerpc/oprofile/op_model_pa6t.c mtspr(SPRN_PA6T_MMCR0, mmcr0); mtspr 178 arch/powerpc/oprofile/op_model_power4.c mtspr(SPRN_MMCR0, mmcr0); mtspr 182 arch/powerpc/oprofile/op_model_power4.c mtspr(SPRN_MMCR0, mmcr0); mtspr 184 arch/powerpc/oprofile/op_model_power4.c mtspr(SPRN_MMCR1, mmcr1_val); mtspr 188 arch/powerpc/oprofile/op_model_power4.c mtspr(SPRN_MMCRA, mmcra); mtspr 230 arch/powerpc/oprofile/op_model_power4.c mtspr(SPRN_MMCR0, mmcr0); mtspr 245 arch/powerpc/oprofile/op_model_power4.c mtspr(SPRN_MMCR0, mmcr0); mtspr 421 arch/powerpc/oprofile/op_model_power4.c mtspr(SPRN_MMCRA, mmcra); mtspr 429 arch/powerpc/oprofile/op_model_power4.c mtspr(SPRN_MMCR0, mmcr0); mtspr 94 arch/powerpc/perf/8xx-pmu.c mtspr(SPRN_ICTRL, 0xc0080007); mtspr 172 arch/powerpc/perf/8xx-pmu.c mtspr(SPRN_ICTRL, 7); mtspr 203 arch/powerpc/perf/8xx-pmu.c mtspr(SPRN_ICTRL, 7); mtspr 204 arch/powerpc/perf/8xx-pmu.c mtspr(SPRN_CMPA, 0); mtspr 205 arch/powerpc/perf/8xx-pmu.c mtspr(SPRN_COUNTA, 0xffff); mtspr 621 arch/powerpc/perf/core-book3s.c mtspr(SPRN_SIAR, current->thread.siar); mtspr 622 arch/powerpc/perf/core-book3s.c mtspr(SPRN_SIER, current->thread.sier); mtspr 623 arch/powerpc/perf/core-book3s.c mtspr(SPRN_SDAR, current->thread.sdar); mtspr 632 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); mtspr 703 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR2, 0); mtspr 706 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC6, 0x7FFFFFFE); mtspr 709 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); mtspr 712 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); mtspr 714 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC1, pmcs[0]); mtspr 715 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC2, pmcs[1]); mtspr 716 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC3, pmcs[2]); mtspr 717 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC4, pmcs[3]); mtspr 718 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC5, pmcs[4]); mtspr 719 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC6, pmcs[5]); mtspr 774 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC1, val); mtspr 777 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC2, val); mtspr 780 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC3, val); mtspr 783 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC4, val); mtspr 786 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC5, val); mtspr 789 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC6, val); mtspr 793 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC7, val); mtspr 796 arch/powerpc/perf/core-book3s.c mtspr(SPRN_PMC8, val); mtspr 1167 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR0, mmcr0); mtspr 1194 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR0, mmcr0); mtspr 1241 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCRA, mtspr 1260 arch/powerpc/perf/core-book3s.c mtspr(SPRN_SDAR, 0); mtspr 1261 arch/powerpc/perf/core-book3s.c mtspr(SPRN_SIAR, 0); mtspr 1316 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); mtspr 1317 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR1, cpuhw->mmcr[1]); mtspr 1354 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); mtspr 1355 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR1, cpuhw->mmcr[1]); mtspr 1356 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR0, (cpuhw->mmcr[0] & ~(MMCR0_PMC1CE | MMCR0_PMCjCE)) mtspr 1359 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCR2, cpuhw->mmcr[3]); mtspr 1428 arch/powerpc/perf/core-book3s.c mtspr(SPRN_MMCRA, cpuhw->mmcr[2]); mtspr 869 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, 0); mtspr 880 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, 0); mtspr 1033 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, ldbar_value); mtspr 1066 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, 0); mtspr 1125 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, 0); mtspr 1136 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, 0); mtspr 1238 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, ldbar_value); mtspr 1245 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, 0); mtspr 1286 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, 0); mtspr 1435 arch/powerpc/perf/imc-pmu.c mtspr(SPRN_LDBAR, 0); mtspr 246 arch/powerpc/perf/power8-pmu.c mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); mtspr 303 arch/powerpc/perf/power9-pmu.c mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); mtspr 18 arch/powerpc/platforms/44x/machine_check.c mtspr(SPRN_ESR, reason & ~ESR_IMCP); mtspr 42 arch/powerpc/platforms/44x/machine_check.c mtspr(SPRN_MCSR, mcsr); mtspr 56 arch/powerpc/platforms/44x/machine_check.c mtspr(SPRN_ESR, reason & ~ESR_IMCP); mtspr 82 arch/powerpc/platforms/44x/machine_check.c mtspr(SPRN_MCSR, mcsr); mtspr 206 arch/powerpc/platforms/4xx/cpm.c mtspr(SPRN_TCR, tcr_save & ~TCR_DIE); mtspr 212 arch/powerpc/platforms/4xx/cpm.c mtspr(SPRN_TCR, tcr_save); mtspr 17 arch/powerpc/platforms/4xx/machine_check.c mtspr(SPRN_ESR, reason & ~ESR_IMCP); mtspr 213 arch/powerpc/platforms/4xx/soc.c mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | reset_type); mtspr 130 arch/powerpc/platforms/52xx/mpc52xx_pm.c mtspr(SPRN_DEC, 0x7fffffff); mtspr 152 arch/powerpc/platforms/52xx/mpc52xx_pm.c mtspr(SPRN_HID0, (hid0 & ~(HID0_DOZE | HID0_NAP | HID0_DPM)) | HID0_SLEEP); mtspr 168 arch/powerpc/platforms/52xx/mpc52xx_pm.c mtspr(SPRN_HID0, hid0); mtspr 35 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c mtspr(SPRN_HID0, tmp); mtspr 126 arch/powerpc/platforms/85xx/smp.c mtspr(SPRN_TCR, 0); mtspr 127 arch/powerpc/platforms/85xx/smp.c mtspr(SPRN_TSR, mfspr(SPRN_TSR)); mtspr 425 arch/powerpc/platforms/85xx/smp.c mtspr(SPRN_TENC, disable_threadbit); mtspr 31 arch/powerpc/platforms/86xx/common.c mtspr(SPRN_TBWL, 0); mtspr 32 arch/powerpc/platforms/86xx/common.c mtspr(SPRN_TBWU, 0); mtspr 36 arch/powerpc/platforms/86xx/common.c mtspr(SPRN_HID0, temp); mtspr 130 arch/powerpc/platforms/amigaone/setup.c mtspr(SPRN_SRR0, 0xfff00100); mtspr 131 arch/powerpc/platforms/amigaone/setup.c mtspr(SPRN_SRR1, MSR_IP); mtspr 55 arch/powerpc/platforms/cell/pervasive.c mtspr(SPRN_TSC_CELL, thread_switch_control); mtspr 69 arch/powerpc/platforms/cell/pervasive.c mtspr(SPRN_CTRLT, ctrl); mtspr 337 arch/powerpc/platforms/cell/ras.c mtspr(SPRN_HID0, hid0); mtspr 215 arch/powerpc/platforms/cell/setup.c mtspr(SPRN_DABRX, DABRX_KERNEL | DABRX_USER); mtspr 109 arch/powerpc/platforms/cell/smp.c mtspr(SPRN_DABRX, DABRX_KERNEL | DABRX_USER); mtspr 222 arch/powerpc/platforms/embedded6xx/holly.c mtspr(SPRN_SRR0, 0xfff00100); mtspr 223 arch/powerpc/platforms/embedded6xx/holly.c mtspr(SPRN_SRR1, MSR_IP); mtspr 109 arch/powerpc/platforms/pasemi/setup.c mtspr(SPRN_TBCTL, TBCTL_FREEZE); mtspr 116 arch/powerpc/platforms/pasemi/setup.c mtspr(SPRN_TBCTL, TBCTL_RESTART); mtspr 397 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_AMR, sprs.amr); mtspr 398 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_IAMR, sprs.iamr); mtspr 399 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_AMOR, sprs.amor); mtspr 400 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_UAMOR, sprs.uamor); mtspr 443 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_TSCR, sprs.tscr); mtspr 444 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_WORC, sprs.worc); mtspr 465 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_SDR1, sprs.sdr1); mtspr 466 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_RPR, sprs.rpr); mtspr 482 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_LPCR, sprs.lpcr); mtspr 484 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_HFSCR, sprs.hfscr); mtspr 485 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_FSCR, sprs.fscr); mtspr 487 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_PURR, sprs.purr); mtspr 488 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_SPURR, sprs.spurr); mtspr 489 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_DSCR, sprs.dscr); mtspr 490 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_WORT, sprs.wort); mtspr 492 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_SPRG3, local_paca->sprg_vdso); mtspr 709 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_AMR, sprs.amr); mtspr 710 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_IAMR, sprs.iamr); mtspr 711 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_AMOR, sprs.amor); mtspr 712 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_UAMOR, sprs.uamor); mtspr 721 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_MMCR0, mmcr0); mtspr 730 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_MMCRA, mmcra); mtspr 732 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_MMCRA, mmcra); mtspr 759 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_PTCR, sprs.ptcr); mtspr 760 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_RPR, sprs.rpr); mtspr 761 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_TSCR, sprs.tscr); mtspr 780 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_LPCR, sprs.lpcr); mtspr 781 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_HFSCR, sprs.hfscr); mtspr 782 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_FSCR, sprs.fscr); mtspr 783 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_PID, sprs.pid); mtspr 784 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_PURR, sprs.purr); mtspr 785 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_SPURR, sprs.spurr); mtspr 786 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_DSCR, sprs.dscr); mtspr 787 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_WORT, sprs.wort); mtspr 789 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_MMCRA, sprs.mmcra); mtspr 790 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_MMCR0, sprs.mmcr0); mtspr 791 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_MMCR1, sprs.mmcr1); mtspr 792 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_MMCR2, sprs.mmcr2); mtspr 794 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_LDBAR, sprs.ldbar); mtspr 796 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_SPRG3, local_paca->sprg_vdso); mtspr 953 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_LPCR, lpcr_val); mtspr 56 arch/powerpc/platforms/powernv/smp.c mtspr(SPRN_HMEER, mfspr(SPRN_HMEER) | PPC_BIT(17)); mtspr 358 arch/powerpc/xmon/xmon.c mtspr(SPRN_CIABR, ciabr); mtspr 1160 arch/powerpc/xmon/xmon.c mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); mtspr 3731 arch/powerpc/xmon/xmon.c mtspr(SPRN_MAS0, mas0); mtspr 3732 arch/powerpc/xmon/xmon.c mtspr(SPRN_MAS1, mas1); mtspr 3733 arch/powerpc/xmon/xmon.c mtspr(SPRN_MAS2, mas2); mtspr 124 drivers/cpufreq/pmac32-cpufreq.c mtspr(SPRN_HID2, hid2); mtspr 135 drivers/cpufreq/pmac32-cpufreq.c mtspr(SPRN_HID2, hid2); mtspr 454 drivers/cpufreq/powernv-cpufreq.c mtspr(SPRN_PMCR, val); mtspr 458 drivers/cpufreq/powernv-cpufreq.c mtspr(SPRN_PMICR, val); mtspr 133 drivers/cpuidle/cpuidle-powernv.c mtspr(SPRN_LPCR, new_lpcr); mtspr 137 drivers/cpuidle/cpuidle-powernv.c mtspr(SPRN_LPCR, old_lpcr); mtspr 28 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); mtspr 33 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, mfspr(SPR_PICMR) | (1UL << data->hwirq)); mtspr 38 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICSR, (1UL << data->hwirq)); mtspr 43 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); mtspr 44 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICSR, (1UL << data->hwirq)); mtspr 55 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq)); mtspr 60 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); mtspr 61 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq)); mtspr 146 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, (0UL)); mtspr 2086 drivers/macintosh/via-pmu.c mtspr(SPRN_HID0, hid0); mtspr 174 drivers/ps3/ps3-lpm.c mtspr(SPRN_BKMK, bookmark); mtspr 111 drivers/watchdog/booke_wdt.c mtspr(SPRN_TCR, val); mtspr 121 drivers/watchdog/booke_wdt.c mtspr(SPRN_TSR, TSR_ENW|TSR_WIS); mtspr 142 drivers/watchdog/booke_wdt.c mtspr(SPRN_TCR, val); mtspr 159 drivers/watchdog/booke_wdt.c mtspr(SPRN_TCR, val); mtspr 84 tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 35 tools/testing/selftests/powerpc/pmu/ebb/close_clears_pmcc_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 35 tools/testing/selftests/powerpc/pmu/ebb/cycles_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 74 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 84 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); mtspr 90 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); mtspr 46 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 58 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test.c mtspr(SPRN_MMCR2, expected[i % 2]); mtspr 40 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_MMCR0, (val & ~mmcr0_clear_mask) | MMCR0_PMAE); mtspr 43 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_BESCRR, BESCR_PMEO); mtspr 46 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_BESCRS, BESCR_PME); mtspr 153 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_EBBHR, entry); mtspr 296 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); mtspr 303 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); mtspr 310 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_BESCR, 0x8000000100000000ull); mtspr 317 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_BESCRR, BESCR_PME); mtspr 381 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 439 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_PMC1, 0); mtspr 445 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 1: mtspr(SPRN_PMC1, value); break; mtspr 446 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 2: mtspr(SPRN_PMC2, value); break; mtspr 447 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 3: mtspr(SPRN_PMC3, value); break; mtspr 448 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 4: mtspr(SPRN_PMC4, value); break; mtspr 449 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 5: mtspr(SPRN_PMC5, value); break; mtspr 450 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 6: mtspr(SPRN_PMC6, value); break; mtspr 59 tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c mtspr(SPRN_MMCR0, MMCR0_FC); mtspr 60 tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 35 tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); mtspr 41 tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); mtspr 128 tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); mtspr 51 tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); mtspr 79 tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c mtspr(SPRN_PMC4, 0xdead); mtspr 58 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 59 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); mtspr 60 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); mtspr 61 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); mtspr 62 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c mtspr(SPRN_PMC5, pmc_sample_period(sample_period)); mtspr 63 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); mtspr 54 tools/testing/selftests/powerpc/pmu/ebb/multi_ebb_procs_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 39 tools/testing/selftests/powerpc/pmu/ebb/no_handler_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 77 tools/testing/selftests/powerpc/pmu/ebb/pmae_handling_test.c mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); mtspr 69 tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); mtspr 70 tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c mtspr(SPRN_PMC5, 0); mtspr 71 tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c mtspr(SPRN_PMC6, 0); mtspr 23 tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c mtspr(SPRN_BESCR, expected); mtspr 29 tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c mtspr(SPRN_EBBHR, expected); mtspr 831 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h mtspr SPRN_BUCSR,reg; \ mtspr 153 tools/testing/selftests/powerpc/ptrace/core-pkey.c mtspr(SPRN_AMR, info->amr); mtspr 129 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c mtspr(SPRN_AMR, info->amr1); mtspr 24 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c mtspr(SPRN_TAR, TAR_1); mtspr 25 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c mtspr(SPRN_PPR, PPR_1); mtspr 26 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c mtspr(SPRN_DSCR, DSCR_1); mtspr 53 tools/testing/selftests/powerpc/tm/tm-tmspr.c mtspr(SPRN_TFIAR, tfiar); mtspr 59 tools/testing/selftests/powerpc/tm/tm-tmspr.c mtspr(SPRN_TFHAR, tfhar);