mfspr 16 arch/openrisc/include/asm/smp.h #define hard_smp_processor_id() mfspr(SPR_COREID) mfspr 24 arch/openrisc/include/asm/timex.h return mfspr(SPR_TTCR); mfspr 24 arch/openrisc/kernel/irq.c return mfspr(SPR_SR) & (SPR_SR_IEE|SPR_SR_TEE); mfspr 31 arch/openrisc/kernel/irq.c mtspr(SPR_SR, ((mfspr(SPR_SR) & ~(SPR_SR_IEE|SPR_SR_TEE)) | flags)); mfspr 84 arch/openrisc/kernel/process.c if (mfspr(SPR_UPR) & SPR_UPR_PMP) mfspr 85 arch/openrisc/kernel/process.c mtspr(SPR_PMR, mfspr(SPR_PMR) | SPR_PMR_DME); mfspr 215 arch/openrisc/kernel/process.c unsigned long sr = mfspr(SPR_SR) & ~SPR_SR_SM; mfspr 94 arch/openrisc/kernel/setup.c unsigned long upr = mfspr(SPR_UPR); mfspr 95 arch/openrisc/kernel/setup.c unsigned long vr = mfspr(SPR_VR); mfspr 129 arch/openrisc/kernel/setup.c 1 << ((mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTS) >> 2), mfspr 130 arch/openrisc/kernel/setup.c 1 + (mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTW)); mfspr 133 arch/openrisc/kernel/setup.c 1 << ((mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTS) >> 2), mfspr 134 arch/openrisc/kernel/setup.c 1 + (mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTW)); mfspr 178 arch/openrisc/kernel/setup.c iccfgr = mfspr(SPR_ICCFGR); mfspr 185 arch/openrisc/kernel/setup.c dccfgr = mfspr(SPR_DCCFGR); mfspr 200 arch/openrisc/kernel/setup.c cpuinfo->coreid = mfspr(SPR_COREID); mfspr 328 arch/openrisc/kernel/setup.c vr = mfspr(SPR_VR); mfspr 329 arch/openrisc/kernel/setup.c cpucfgr = mfspr(SPR_CPUCFGR); mfspr 335 arch/openrisc/kernel/setup.c vr = mfspr(SPR_VR2); mfspr 337 arch/openrisc/kernel/setup.c avr = mfspr(SPR_AVR); mfspr 361 arch/openrisc/kernel/setup.c 1 << ((mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTS) >> 2), mfspr 362 arch/openrisc/kernel/setup.c 1 + (mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_NTW)); mfspr 364 arch/openrisc/kernel/setup.c 1 << ((mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTS) >> 2), mfspr 365 arch/openrisc/kernel/setup.c 1 + (mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTW)); mfspr 182 arch/openrisc/kernel/smp.c if (mfspr(SPR_UPR) & SPR_UPR_PMP) mfspr 183 arch/openrisc/kernel/smp.c mtspr(SPR_PMR, mfspr(SPR_PMR) | SPR_PMR_DME); mfspr 41 arch/openrisc/kernel/time.c c = mfspr(SPR_TTCR); mfspr 138 arch/openrisc/kernel/time.c return (u64) mfspr(SPR_TTCR); mfspr 166 arch/openrisc/kernel/time.c upr = mfspr(SPR_UPR); mfspr 297 arch/openrisc/kernel/traps.c return mfspr(SPR_SR) & SPR_SR_DSX; mfspr 32 arch/openrisc/mm/tlb.c #define NUM_DTLB_SETS (1 << ((mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTS) >> \ mfspr 34 arch/openrisc/mm/tlb.c #define NUM_ITLB_SETS (1 << ((mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_NTS) >> \ mfspr 62 arch/openrisc/mm/tlb.c #define have_dtlbeir (mfspr(SPR_DMMUCFGR) & SPR_DMMUCFGR_TEIRI) mfspr 63 arch/openrisc/mm/tlb.c #define have_itlbeir (mfspr(SPR_IMMUCFGR) & SPR_IMMUCFGR_TEIRI) mfspr 462 arch/powerpc/boot/4xx.c ccr1 = mfspr(SPRN_CCR1); mfspr 83 arch/powerpc/boot/ppc_asm.h #define MFTBL(dest) mfspr dest, SPRN_TBRL mfspr 84 arch/powerpc/boot/ppc_asm.h #define MFTBU(dest) mfspr dest, SPRN_TBRU mfspr 141 arch/powerpc/boot/treeboot-akebono.c pir_reg = mfspr(SPRN_PIR); mfspr 97 arch/powerpc/boot/treeboot-currituck.c pir_reg = mfspr(SPRN_PIR); mfspr 69 arch/powerpc/boot/treeboot-iss4xx.c pir_reg = mfspr(SPRN_PIR); mfspr 26 arch/powerpc/include/asm/book3s/64/kup-radix.h mfspr \gpr1, SPRN_AMR mfspr 41 arch/powerpc/include/asm/book3s/64/kup-radix.h mfspr \gpr1, SPRN_AMR mfspr 106 arch/powerpc/include/asm/cputhreads.h return mfspr(SPRN_TENSR); mfspr 96 arch/powerpc/include/asm/exception-64e.h mfspr r12,SPRN_SPRG_TLB_EXFRAME; \ mfspr 100 arch/powerpc/include/asm/exception-64e.h mfspr r11,SPRN_SPRG_TLB_SCRATCH; \ mfspr 102 arch/powerpc/include/asm/exception-64e.h mfspr r13,SPRN_SPRG_PACA; \ mfspr 106 arch/powerpc/include/asm/exception-64e.h mfspr r15,SPRN_SRR1; \ mfspr 108 arch/powerpc/include/asm/exception-64e.h mfspr r16,SPRN_SRR0; \ mfspr 826 arch/powerpc/include/asm/kvm_ppc.h return mfspr(SPRN_GEPR); mfspr 917 arch/powerpc/include/asm/kvm_ppc.h return mfspr(bookehv_spr); \ mfspr 13 arch/powerpc/include/asm/nohash/32/kup-8xx.h mfspr \gpr1, SPRN_MD_AP mfspr 25 arch/powerpc/include/asm/nohash/32/kup-8xx.h mfspr \gpr, SPRN_MD_AP mfspr 269 arch/powerpc/include/asm/nohash/32/mmu-8xx.h #define PHYS_IMMR_BASE (mfspr(SPRN_IMMR) & 0xfff80000) mfspr 71 arch/powerpc/include/asm/oprofile_impl.h return mfspr(SPRN_PMC1); mfspr 73 arch/powerpc/include/asm/oprofile_impl.h return mfspr(SPRN_PMC2); mfspr 75 arch/powerpc/include/asm/oprofile_impl.h return mfspr(SPRN_PMC3); mfspr 77 arch/powerpc/include/asm/oprofile_impl.h return mfspr(SPRN_PMC4); mfspr 79 arch/powerpc/include/asm/oprofile_impl.h return mfspr(SPRN_PMC5); mfspr 81 arch/powerpc/include/asm/oprofile_impl.h return mfspr(SPRN_PMC6); mfspr 86 arch/powerpc/include/asm/oprofile_impl.h return mfspr(SPRN_PMC7); mfspr 88 arch/powerpc/include/asm/oprofile_impl.h return mfspr(SPRN_PMC8); mfspr 397 arch/powerpc/include/asm/ppc_asm.h 90: mfspr dest, SPRN_TBRL; \ mfspr 410 arch/powerpc/include/asm/ppc_asm.h #define MFTBL(dest) mfspr dest, SPRN_TBRL mfspr 411 arch/powerpc/include/asm/ppc_asm.h #define MFTBU(dest) mfspr dest, SPRN_TBRU mfspr 45 arch/powerpc/include/asm/probes.h mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); mfspr 1125 arch/powerpc/include/asm/reg.h mfspr rX,SPRN_SPRG_PACA; \ mfspr 1127 arch/powerpc/include/asm/reg.h mfspr rX,SPRN_SPRG_HPACA; \ mfspr 1139 arch/powerpc/include/asm/reg.h mfspr rX,SPRN_SPRG_SCRATCH0; \ mfspr 1141 arch/powerpc/include/asm/reg.h mfspr rX,SPRN_SPRG_HSCRATCH0; \ mfspr 1152 arch/powerpc/include/asm/reg.h #define GET_SCRATCH0(rX) mfspr rX,SPRN_SPRG_SCRATCH0 mfspr 1169 arch/powerpc/include/asm/reg.h #define GET_PACA(rX) mfspr rX,SPRN_SPRG_PACA mfspr 1240 arch/powerpc/include/asm/reg.h #define pvr_version_is(pvr) (PVR_VER(mfspr(SPRN_PVR)) == (pvr)) mfspr 99 arch/powerpc/include/asm/time.h return mfspr(SPRN_VTB); mfspr 145 arch/powerpc/include/asm/time.h return (mfspr(SPRN_PIT)); mfspr 147 arch/powerpc/include/asm/time.h return (mfspr(SPRN_DEC)); mfspr 98 arch/powerpc/kernel/btext.c if (PVR_VER(mfspr(SPRN_PVR)) != 1) { mfspr 92 arch/powerpc/kernel/dawr.c if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { mfspr 97 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 137 arch/powerpc/kernel/dt_cpu_ftrs.c cur_cpu_spec->pvr_value = mfspr(SPRN_PVR); mfspr 159 arch/powerpc/kernel/dt_cpu_ftrs.c u64 hfscr = mfspr(SPRN_HFSCR); mfspr 169 arch/powerpc/kernel/dt_cpu_ftrs.c u64 fscr = mfspr(SPRN_FSCR); mfspr 196 arch/powerpc/kernel/dt_cpu_ftrs.c u64 hfscr = mfspr(SPRN_HFSCR); mfspr 204 arch/powerpc/kernel/dt_cpu_ftrs.c u64 fscr = mfspr(SPRN_FSCR); mfspr 241 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 268 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 289 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 302 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 322 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 351 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 361 arch/powerpc/kernel/dt_cpu_ftrs.c u64 hfscr = mfspr(SPRN_HFSCR); mfspr 516 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 539 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); mfspr 724 arch/powerpc/kernel/dt_cpu_ftrs.c unsigned long version = mfspr(SPRN_PVR); mfspr 767 arch/powerpc/kernel/dt_cpu_ftrs.c system_registers.lpcr = mfspr(SPRN_LPCR); mfspr 768 arch/powerpc/kernel/dt_cpu_ftrs.c system_registers.hfscr = mfspr(SPRN_HFSCR); mfspr 769 arch/powerpc/kernel/dt_cpu_ftrs.c system_registers.fscr = mfspr(SPRN_FSCR); mfspr 31 arch/powerpc/kernel/early_32.c identify_cpu(offset, mfspr(SPRN_PVR)); mfspr 23 arch/powerpc/kernel/head_32.h mfspr r11,SPRN_SRR1 /* check whether user or kernel */ mfspr 27 arch/powerpc/kernel/head_32.h mfspr r11,SPRN_SPRG_THREAD mfspr 38 arch/powerpc/kernel/head_32.h mfspr r10,SPRN_SPRG_SCRATCH0 mfspr 40 arch/powerpc/kernel/head_32.h mfspr r12,SPRN_SPRG_SCRATCH1 mfspr 44 arch/powerpc/kernel/head_32.h mfspr r12,SPRN_SRR0 mfspr 45 arch/powerpc/kernel/head_32.h mfspr r9,SPRN_SRR1 mfspr 64 arch/powerpc/kernel/head_32.h mfspr r12,SPRN_SPRG_THREAD mfspr 72 arch/powerpc/kernel/head_32.h mfspr r10,SPRN_SRR0 mfspr 74 arch/powerpc/kernel/head_32.h mfspr r9,SPRN_SRR1 mfspr 49 arch/powerpc/kernel/head_booke.h mfspr r10, SPRN_SPRG_THREAD; \ mfspr 53 arch/powerpc/kernel/head_booke.h mfspr r11, SPRN_SRR1; \ mfspr 66 arch/powerpc/kernel/head_booke.h mfspr r13, SPRN_SPRG_RSCRATCH0; \ mfspr 73 arch/powerpc/kernel/head_booke.h mfspr r12,SPRN_SRR0; \ mfspr 75 arch/powerpc/kernel/head_booke.h mfspr r9,SPRN_SRR1; \ mfspr 87 arch/powerpc/kernel/head_booke.h mfspr r10, SPRN_SPRG_THREAD mfspr 94 arch/powerpc/kernel/head_booke.h mfspr r11, SPRN_SRR1 mfspr 114 arch/powerpc/kernel/head_booke.h mfspr r12,SPRN_SRR0 mfspr 116 arch/powerpc/kernel/head_booke.h mfspr r9,SPRN_SRR1 mfspr 209 arch/powerpc/kernel/head_booke.h mfspr r8,SPRN_PIR; \ mfspr 237 arch/powerpc/kernel/head_booke.h mfspr r11,exc_level_srr1; /* check whether user or kernel */\ mfspr 241 arch/powerpc/kernel/head_booke.h mfspr r11,SPRN_SPRG_THREAD; /* if from user, start at top of */\ mfspr 256 arch/powerpc/kernel/head_booke.h 2: mfspr r8,SPRN_SPRG_RSCRATCH_##exc_level; \ mfspr 260 arch/powerpc/kernel/head_booke.h mfspr r12,SPRN_DEAR; /* save DEAR and ESR in the frame */\ mfspr 262 arch/powerpc/kernel/head_booke.h mfspr r9,SPRN_ESR; /* in them at the point where the */\ mfspr 264 arch/powerpc/kernel/head_booke.h mfspr r12,exc_level_srr0; \ mfspr 266 arch/powerpc/kernel/head_booke.h mfspr r9,exc_level_srr1; \ mfspr 291 arch/powerpc/kernel/head_booke.h mfspr r10, SPRN_SPRG_THREAD; \ mfspr 293 arch/powerpc/kernel/head_booke.h mfspr r11, SPRN_SRR1; \ mfspr 322 arch/powerpc/kernel/head_booke.h mfspr r5,SPRN_ESR; \ mfspr 370 arch/powerpc/kernel/head_booke.h mfspr r10,SPRN_DBSR; /* check single-step/branch taken */ \ mfspr 401 arch/powerpc/kernel/head_booke.h mfspr r8,SPRN_SPRG_RSCRATCH_DBG; \ mfspr 407 arch/powerpc/kernel/head_booke.h 2: mfspr r4,SPRN_DBSR; \ mfspr 423 arch/powerpc/kernel/head_booke.h mfspr r10,SPRN_DBSR; /* check single-step/branch taken */ \ mfspr 454 arch/powerpc/kernel/head_booke.h mfspr r8,SPRN_SPRG_RSCRATCH_CRIT; \ mfspr 460 arch/powerpc/kernel/head_booke.h 2: mfspr r4,SPRN_DBSR; \ mfspr 467 arch/powerpc/kernel/head_booke.h mfspr r5,SPRN_ESR; /* Grab the ESR and save it */ \ mfspr 469 arch/powerpc/kernel/head_booke.h mfspr r4,SPRN_DEAR; /* Grab the DEAR */ \ mfspr 475 arch/powerpc/kernel/head_booke.h mfspr r5,SPRN_ESR; /* Grab the ESR and save it */ \ mfspr 484 arch/powerpc/kernel/head_booke.h mfspr r4,SPRN_DEAR; /* Grab the DEAR and save it */ \ mfspr 492 arch/powerpc/kernel/head_booke.h mfspr r4,SPRN_ESR; /* Grab the ESR and save it */ \ mfspr 403 arch/powerpc/kernel/kgdb.c mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); mfspr 607 arch/powerpc/kernel/mce.c pvr = mfspr(SPRN_PVR); mfspr 642 arch/powerpc/kernel/mce.c unsigned long hmer = mfspr(SPRN_HMER); mfspr 673 arch/powerpc/kernel/mce.c if (hmer & mfspr(SPRN_HMEER)) mfspr 30 arch/powerpc/kernel/pmc.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); mfspr 32 arch/powerpc/kernel/pmc.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_PMXE); mfspr 82 arch/powerpc/kernel/pmc.c hid0 = mfspr(SPRN_HID0); mfspr 447 arch/powerpc/kernel/process.c tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); mfspr 591 arch/powerpc/kernel/process.c tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); mfspr 1055 arch/powerpc/kernel/process.c t->vrsave = mfspr(SPRN_VRSAVE); mfspr 1059 arch/powerpc/kernel/process.c t->dscr = mfspr(SPRN_DSCR); mfspr 1062 arch/powerpc/kernel/process.c t->bescr = mfspr(SPRN_BESCR); mfspr 1063 arch/powerpc/kernel/process.c t->ebbhr = mfspr(SPRN_EBBHR); mfspr 1064 arch/powerpc/kernel/process.c t->ebbrr = mfspr(SPRN_EBBRR); mfspr 1066 arch/powerpc/kernel/process.c t->fscr = mfspr(SPRN_FSCR); mfspr 1074 arch/powerpc/kernel/process.c t->tar = mfspr(SPRN_TAR); mfspr 1674 arch/powerpc/kernel/process.c p->thread.dscr = mfspr(SPRN_DSCR); mfspr 1844 arch/powerpc/kernel/process.c tsk->thread.spefscr_last = mfspr(SPRN_SPEFSCR); mfspr 1889 arch/powerpc/kernel/process.c tsk->thread.spefscr_last = mfspr(SPRN_SPEFSCR); mfspr 2118 arch/powerpc/kernel/process.c ctrl = mfspr(SPRN_CTRLF); mfspr 2138 arch/powerpc/kernel/process.c ctrl = mfspr(SPRN_CTRLF); mfspr 237 arch/powerpc/kernel/setup-common.c pvr = mfspr(SPRN_PVR); mfspr 237 arch/powerpc/kernel/setup_64.c unsigned long lpcr = mfspr(SPRN_LPCR); mfspr 251 arch/powerpc/kernel/setup_64.c mtspr(SPRN_HFSCR, mfspr(SPRN_HFSCR) | HFSCR_TM); mfspr 253 arch/powerpc/kernel/setup_64.c mtspr(SPRN_HFSCR, mfspr(SPRN_HFSCR) & ~HFSCR_TM); mfspr 265 arch/powerpc/kernel/setup_64.c spr_default_dscr = mfspr(SPRN_DSCR); mfspr 321 arch/powerpc/kernel/setup_64.c identify_cpu(0, mfspr(SPRN_PVR)); mfspr 582 arch/powerpc/kernel/setup_64.c pvr = PVR_VER(mfspr(SPRN_PVR)); mfspr 416 arch/powerpc/kernel/signal_32.c current->thread.vrsave = mfspr(SPRN_VRSAVE); mfspr 541 arch/powerpc/kernel/signal_32.c current->thread.ckvrsave = mfspr(SPRN_VRSAVE); mfspr 134 arch/powerpc/kernel/signal_64.c vrsave = mfspr(SPRN_VRSAVE); mfspr 255 arch/powerpc/kernel/signal_64.c tsk->thread.ckvrsave = mfspr(SPRN_VRSAVE); mfspr 634 arch/powerpc/kernel/smp.c per_cpu(cpu_pvr, id) = mfspr(SPRN_PVR); mfspr 637 arch/powerpc/kernel/smp.c = (mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY) - 1; mfspr 115 arch/powerpc/kernel/sysfs.c *value = mfspr(SPRN_PWRMGTCR0); mfspr 136 arch/powerpc/kernel/sysfs.c pw20_state = mfspr(SPRN_PWRMGTCR0); mfspr 201 arch/powerpc/kernel/sysfs.c pw20_idle = mfspr(SPRN_PWRMGTCR0); mfspr 258 arch/powerpc/kernel/sysfs.c altivec_idle = mfspr(SPRN_PWRMGTCR0); mfspr 323 arch/powerpc/kernel/sysfs.c altivec_idle = mfspr(SPRN_PWRMGTCR0); mfspr 413 arch/powerpc/kernel/sysfs.c *(unsigned long *)val = mfspr(ADDRESS); \ mfspr 86 arch/powerpc/kernel/tau_6xx.c if((thrm = mfspr(SPRN_THRM1)) & THRM1_TIV){ /* is valid? */ mfspr 98 arch/powerpc/kernel/tau_6xx.c if((thrm = mfspr(SPRN_THRM2)) & THRM1_TIV){ /* is valid? */ mfspr 178 arch/powerpc/kernel/time.c return mfspr(SPRN_SPURR); mfspr 180 arch/powerpc/kernel/time.c return mfspr(SPRN_PURR); mfspr 773 arch/powerpc/kernel/time.c tcr = mfspr(SPRN_TCR); mfspr 1023 arch/powerpc/kernel/time.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); mfspr 464 arch/powerpc/kernel/traps.c hsrr0 = mfspr(SPRN_HSRR0); mfspr 465 arch/powerpc/kernel/traps.c hsrr1 = mfspr(SPRN_HSRR1); mfspr 609 arch/powerpc/kernel/traps.c unsigned long mcsr = mfspr(SPRN_MCSR); mfspr 610 arch/powerpc/kernel/traps.c unsigned long pvr = mfspr(SPRN_PVR); mfspr 632 arch/powerpc/kernel/traps.c mtspr(SPRN_L1CSR1, mfspr(SPRN_L1CSR1) | L1CSR1_ICFI); mfspr 633 arch/powerpc/kernel/traps.c while (mfspr(SPRN_L1CSR1) & L1CSR1_ICFI) mfspr 658 arch/powerpc/kernel/traps.c if (!(mfspr(SPRN_L1CSR2) & L1CSR2_DCWS)) mfspr 702 arch/powerpc/kernel/traps.c addr = mfspr(SPRN_MCAR); mfspr 703 arch/powerpc/kernel/traps.c addr |= (u64)mfspr(SPRN_MCARU) << 32; mfspr 711 arch/powerpc/kernel/traps.c return mfspr(SPRN_MCSR) == 0 && recoverable; mfspr 716 arch/powerpc/kernel/traps.c unsigned long reason = mfspr(SPRN_MCSR); mfspr 763 arch/powerpc/kernel/traps.c unsigned long reason = mfspr(SPRN_MCSR); mfspr 1345 arch/powerpc/kernel/traps.c regs->gpr[rd] = mfspr(SPRN_PVR); mfspr 1403 arch/powerpc/kernel/traps.c regs->gpr[rd] = mfspr(SPRN_DSCR); mfspr 1723 arch/powerpc/kernel/traps.c value = mfspr(SPRN_HFSCR); mfspr 1725 arch/powerpc/kernel/traps.c value = mfspr(SPRN_FSCR); mfspr 1913 arch/powerpc/kernel/traps.c do_send_trap(regs, mfspr(SPRN_DAC1), debug_status, mfspr 1918 arch/powerpc/kernel/traps.c do_send_trap(regs, mfspr(SPRN_DAC2), debug_status, mfspr 1924 arch/powerpc/kernel/traps.c do_send_trap(regs, mfspr(SPRN_IAC1), debug_status, mfspr 1929 arch/powerpc/kernel/traps.c do_send_trap(regs, mfspr(SPRN_IAC2), debug_status, mfspr 1935 arch/powerpc/kernel/traps.c do_send_trap(regs, mfspr(SPRN_IAC3), debug_status, mfspr 1940 arch/powerpc/kernel/traps.c do_send_trap(regs, mfspr(SPRN_IAC4), debug_status, mfspr 1973 arch/powerpc/kernel/traps.c mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) & ~DBCR0_BT); mfspr 1998 arch/powerpc/kernel/traps.c mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) & ~DBCR0_IC); mfspr 2197 arch/powerpc/kernel/traps.c mtspr(SPRN_TCR, mfspr(SPRN_TCR)&(~TCR_WIE)); mfspr 708 arch/powerpc/kernel/vdso.c vdso_data->processor = mfspr(SPRN_PVR); mfspr 266 arch/powerpc/kvm/book3s_64_mmu_hv.c host_lpid = mfspr(SPRN_LPID); mfspr 54 arch/powerpc/kvm/book3s_64_mmu_radix.c old_lpid = mfspr(SPRN_LPID); mfspr 58 arch/powerpc/kvm/book3s_64_mmu_radix.c old_pid = mfspr(SPRN_PID); mfspr 139 arch/powerpc/kvm/book3s_emulate.c texasr = mfspr(SPRN_TEXASR); mfspr 208 arch/powerpc/kvm/book3s_emulate.c org_texasr = mfspr(SPRN_TEXASR); mfspr 216 arch/powerpc/kvm/book3s_emulate.c vcpu->arch.texasr = mfspr(SPRN_TEXASR); mfspr 608 arch/powerpc/kvm/book3s_emulate.c texasr = mfspr(SPRN_TEXASR); mfspr 975 arch/powerpc/kvm/book3s_emulate.c *spr_val = mfspr(SPRN_TFHAR); mfspr 977 arch/powerpc/kvm/book3s_emulate.c *spr_val = mfspr(SPRN_TEXASR); mfspr 979 arch/powerpc/kvm/book3s_emulate.c *spr_val = mfspr(SPRN_TFIAR); mfspr 2292 arch/powerpc/kvm/book3s_hv.c kvmppc_set_pvr_hv(vcpu, mfspr(SPRN_PVR)); mfspr 2308 arch/powerpc/kvm/book3s_hv.c vcpu->arch.hfscr &= mfspr(SPRN_HFSCR); mfspr 3180 arch/powerpc/kvm/book3s_hv.c split_info.rpr = mfspr(SPRN_RPR); mfspr 3181 arch/powerpc/kvm/book3s_hv.c split_info.pmmar = mfspr(SPRN_PMMAR); mfspr 3182 arch/powerpc/kvm/book3s_hv.c split_info.ldbar = mfspr(SPRN_LDBAR); mfspr 3209 arch/powerpc/kvm/book3s_hv.c unsigned long hid0 = mfspr(SPRN_HID0); mfspr 3216 arch/powerpc/kvm/book3s_hv.c hid0 = mfspr(SPRN_HID0); mfspr 3325 arch/powerpc/kvm/book3s_hv.c unsigned long hid0 = mfspr(SPRN_HID0); mfspr 3334 arch/powerpc/kvm/book3s_hv.c hid0 = mfspr(SPRN_HID0); mfspr 3396 arch/powerpc/kvm/book3s_hv.c unsigned long host_hfscr = mfspr(SPRN_HFSCR); mfspr 3397 arch/powerpc/kvm/book3s_hv.c unsigned long host_ciabr = mfspr(SPRN_CIABR); mfspr 3398 arch/powerpc/kvm/book3s_hv.c unsigned long host_dawr = mfspr(SPRN_DAWR); mfspr 3399 arch/powerpc/kvm/book3s_hv.c unsigned long host_dawrx = mfspr(SPRN_DAWRX); mfspr 3400 arch/powerpc/kvm/book3s_hv.c unsigned long host_psscr = mfspr(SPRN_PSSCR); mfspr 3401 arch/powerpc/kvm/book3s_hv.c unsigned long host_pidr = mfspr(SPRN_PID); mfspr 3422 arch/powerpc/kvm/book3s_hv.c local_paca->kvm_hstate.host_purr = mfspr(SPRN_PURR); mfspr 3423 arch/powerpc/kvm/book3s_hv.c local_paca->kvm_hstate.host_spurr = mfspr(SPRN_SPURR); mfspr 3458 arch/powerpc/kvm/book3s_hv.c purr = mfspr(SPRN_PURR); mfspr 3459 arch/powerpc/kvm/book3s_hv.c spurr = mfspr(SPRN_SPURR); mfspr 3467 arch/powerpc/kvm/book3s_hv.c vcpu->arch.ic = mfspr(SPRN_IC); mfspr 3468 arch/powerpc/kvm/book3s_hv.c vcpu->arch.pid = mfspr(SPRN_PID); mfspr 3469 arch/powerpc/kvm/book3s_hv.c vcpu->arch.psscr = mfspr(SPRN_PSSCR) & PSSCR_GUEST_VIS; mfspr 3471 arch/powerpc/kvm/book3s_hv.c vcpu->arch.shregs.sprg0 = mfspr(SPRN_SPRG0); mfspr 3472 arch/powerpc/kvm/book3s_hv.c vcpu->arch.shregs.sprg1 = mfspr(SPRN_SPRG1); mfspr 3473 arch/powerpc/kvm/book3s_hv.c vcpu->arch.shregs.sprg2 = mfspr(SPRN_SPRG2); mfspr 3474 arch/powerpc/kvm/book3s_hv.c vcpu->arch.shregs.sprg3 = mfspr(SPRN_SPRG3); mfspr 3494 arch/powerpc/kvm/book3s_hv.c vc->dpdes = mfspr(SPRN_DPDES); mfspr 3495 arch/powerpc/kvm/book3s_hv.c vc->vtb = mfspr(SPRN_VTB); mfspr 3523 arch/powerpc/kvm/book3s_hv.c unsigned long host_dscr = mfspr(SPRN_DSCR); mfspr 3524 arch/powerpc/kvm/book3s_hv.c unsigned long host_tidr = mfspr(SPRN_TIDR); mfspr 3525 arch/powerpc/kvm/book3s_hv.c unsigned long host_iamr = mfspr(SPRN_IAMR); mfspr 3526 arch/powerpc/kvm/book3s_hv.c unsigned long host_amr = mfspr(SPRN_AMR); mfspr 3531 arch/powerpc/kvm/book3s_hv.c dec = mfspr(SPRN_DEC); mfspr 3584 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_CTRLT, mfspr(SPRN_CTRLF) & ~1); mfspr 3599 arch/powerpc/kvm/book3s_hv.c host_psscr = mfspr(SPRN_PSSCR_PR); mfspr 3617 arch/powerpc/kvm/book3s_hv.c vcpu->arch.shregs.dar = mfspr(SPRN_DAR); mfspr 3618 arch/powerpc/kvm/book3s_hv.c vcpu->arch.shregs.dsisr = mfspr(SPRN_DSISR); mfspr 3619 arch/powerpc/kvm/book3s_hv.c vcpu->arch.psscr = mfspr(SPRN_PSSCR_PR); mfspr 3634 arch/powerpc/kvm/book3s_hv.c dec = mfspr(SPRN_DEC); mfspr 3641 arch/powerpc/kvm/book3s_hv.c vcpu->arch.ctrl = mfspr(SPRN_CTRLF); mfspr 3643 arch/powerpc/kvm/book3s_hv.c vcpu->arch.iamr = mfspr(SPRN_IAMR); mfspr 3644 arch/powerpc/kvm/book3s_hv.c vcpu->arch.pspb = mfspr(SPRN_PSPB); mfspr 3645 arch/powerpc/kvm/book3s_hv.c vcpu->arch.fscr = mfspr(SPRN_FSCR); mfspr 3646 arch/powerpc/kvm/book3s_hv.c vcpu->arch.tar = mfspr(SPRN_TAR); mfspr 3647 arch/powerpc/kvm/book3s_hv.c vcpu->arch.ebbhr = mfspr(SPRN_EBBHR); mfspr 3648 arch/powerpc/kvm/book3s_hv.c vcpu->arch.ebbrr = mfspr(SPRN_EBBRR); mfspr 3649 arch/powerpc/kvm/book3s_hv.c vcpu->arch.bescr = mfspr(SPRN_BESCR); mfspr 3650 arch/powerpc/kvm/book3s_hv.c vcpu->arch.wort = mfspr(SPRN_WORT); mfspr 3651 arch/powerpc/kvm/book3s_hv.c vcpu->arch.tid = mfspr(SPRN_TIDR); mfspr 3652 arch/powerpc/kvm/book3s_hv.c vcpu->arch.amr = mfspr(SPRN_AMR); mfspr 3653 arch/powerpc/kvm/book3s_hv.c vcpu->arch.uamor = mfspr(SPRN_UAMOR); mfspr 3654 arch/powerpc/kvm/book3s_hv.c vcpu->arch.dscr = mfspr(SPRN_DSCR); mfspr 3672 arch/powerpc/kvm/book3s_hv.c vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); mfspr 4245 arch/powerpc/kvm/book3s_hv.c current->thread.tm_tfhar = mfspr(SPRN_TFHAR); mfspr 4246 arch/powerpc/kvm/book3s_hv.c current->thread.tm_tfiar = mfspr(SPRN_TFIAR); mfspr 4247 arch/powerpc/kvm/book3s_hv.c current->thread.tm_texasr = mfspr(SPRN_TEXASR); mfspr 4278 arch/powerpc/kvm/book3s_hv.c ebb_regs[0] = mfspr(SPRN_EBBHR); mfspr 4279 arch/powerpc/kvm/book3s_hv.c ebb_regs[1] = mfspr(SPRN_EBBRR); mfspr 4280 arch/powerpc/kvm/book3s_hv.c ebb_regs[2] = mfspr(SPRN_BESCR); mfspr 4281 arch/powerpc/kvm/book3s_hv.c user_tar = mfspr(SPRN_TAR); mfspr 4283 arch/powerpc/kvm/book3s_hv.c user_vrsave = mfspr(SPRN_VRSAVE); mfspr 4818 arch/powerpc/kvm/book3s_hv.c kvm->arch.host_sdr1 = mfspr(SPRN_SDR1); mfspr 4822 arch/powerpc/kvm/book3s_hv.c kvm->arch.host_lpid = mfspr(SPRN_LPID); mfspr 4823 arch/powerpc/kvm/book3s_hv.c kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); mfspr 5543 arch/powerpc/kvm/book3s_hv.c unsigned int pvr = mfspr(SPRN_PVR); mfspr 770 arch/powerpc/kvm/book3s_hv_builtin.c lpcr = mfspr(SPRN_LPCR); mfspr 779 arch/powerpc/kvm/book3s_hv_builtin.c long int dec = mfspr(SPRN_DEC); mfspr 140 arch/powerpc/kvm/book3s_hv_rm_xics.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_MER); mfspr 178 arch/powerpc/kvm/book3s_hv_rm_xics.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_MER); mfspr 46 arch/powerpc/kvm/book3s_hv_tm_builtin.c ((msr & MSR_PR) && !(mfspr(SPRN_FSCR) & FSCR_EBB))) mfspr 48 arch/powerpc/kvm/book3s_hv_tm_builtin.c bescr = mfspr(SPRN_BESCR); mfspr 59 arch/powerpc/kvm/book3s_hv_tm_builtin.c vcpu->arch.regs.nip = mfspr(SPRN_EBBRR); mfspr 108 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_AIL); mfspr 143 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_AIL_3); mfspr 182 arch/powerpc/kvm/book3s_pr.c vcpu->arch.entry_ic = mfspr(SPRN_IC); mfspr 268 arch/powerpc/kvm/book3s_pr.c vcpu->arch.ic += mfspr(SPRN_IC) - vcpu->arch.entry_ic; mfspr 303 arch/powerpc/kvm/book3s_pr.c vcpu->arch.tfhar = mfspr(SPRN_TFHAR); mfspr 304 arch/powerpc/kvm/book3s_pr.c vcpu->arch.texasr = mfspr(SPRN_TEXASR); mfspr 305 arch/powerpc/kvm/book3s_pr.c vcpu->arch.tfiar = mfspr(SPRN_TFIAR); mfspr 612 arch/powerpc/kvm/book3s_pr.c mtspr(SPRN_HID2_GEKKO, mfspr(SPRN_HID2_GEKKO) | (1 << 29)); mfspr 837 arch/powerpc/kvm/book3s_pr.c vcpu->arch.tar = mfspr(SPRN_TAR); mfspr 999 arch/powerpc/kvm/book3s_pr.c current->thread.tar = mfspr(SPRN_TAR); mfspr 1759 arch/powerpc/kvm/book3s_pr.c vcpu->arch.pvr = mfspr(SPRN_PVR); mfspr 951 arch/powerpc/kvm/booke.c vcpu->arch.dbsr = mfspr(SPRN_DBSR); mfspr 1033 arch/powerpc/kvm/booke.c printk("MACHINE CHECK: %lx\n", mfspr(SPRN_MCSR)); mfspr 1037 arch/powerpc/kvm/booke.c run->hw.hardware_exit_reason |= mfspr(SPRN_MCSR); mfspr 2162 arch/powerpc/kvm/booke.c ivor[0] = mfspr(SPRN_IVOR0); mfspr 2163 arch/powerpc/kvm/booke.c ivor[1] = mfspr(SPRN_IVOR1); mfspr 2164 arch/powerpc/kvm/booke.c ivor[2] = mfspr(SPRN_IVOR2); mfspr 2165 arch/powerpc/kvm/booke.c ivor[3] = mfspr(SPRN_IVOR3); mfspr 2166 arch/powerpc/kvm/booke.c ivor[4] = mfspr(SPRN_IVOR4); mfspr 2167 arch/powerpc/kvm/booke.c ivor[5] = mfspr(SPRN_IVOR5); mfspr 2168 arch/powerpc/kvm/booke.c ivor[6] = mfspr(SPRN_IVOR6); mfspr 2169 arch/powerpc/kvm/booke.c ivor[7] = mfspr(SPRN_IVOR7); mfspr 2170 arch/powerpc/kvm/booke.c ivor[8] = mfspr(SPRN_IVOR8); mfspr 2171 arch/powerpc/kvm/booke.c ivor[9] = mfspr(SPRN_IVOR9); mfspr 2172 arch/powerpc/kvm/booke.c ivor[10] = mfspr(SPRN_IVOR10); mfspr 2173 arch/powerpc/kvm/booke.c ivor[11] = mfspr(SPRN_IVOR11); mfspr 2174 arch/powerpc/kvm/booke.c ivor[12] = mfspr(SPRN_IVOR12); mfspr 2175 arch/powerpc/kvm/booke.c ivor[13] = mfspr(SPRN_IVOR13); mfspr 2176 arch/powerpc/kvm/booke.c ivor[14] = mfspr(SPRN_IVOR14); mfspr 2177 arch/powerpc/kvm/booke.c ivor[15] = mfspr(SPRN_IVOR15); mfspr 116 arch/powerpc/kvm/booke.h mtspr(SPRN_DBSR, mfspr(SPRN_DBSR)); mfspr 276 arch/powerpc/kvm/e500.c val = mfspr(SPRN_MAS1); mfspr 353 arch/powerpc/kvm/e500.c vcpu->arch.pvr = mfspr(SPRN_PVR); mfspr 354 arch/powerpc/kvm/e500.c vcpu_e500->svr = mfspr(SPRN_SVR); mfspr 541 arch/powerpc/kvm/e500.c ivor[0] = mfspr(SPRN_IVOR32); mfspr 542 arch/powerpc/kvm/e500.c ivor[1] = mfspr(SPRN_IVOR33); mfspr 543 arch/powerpc/kvm/e500.c ivor[2] = mfspr(SPRN_IVOR34); mfspr 874 arch/powerpc/kvm/e500_mmu.c vcpu->arch.mmucfg = mfspr(SPRN_MMUCFG) & ~MMUCFG_LPIDSIZE; mfspr 877 arch/powerpc/kvm/e500_mmu.c vcpu->arch.tlbcfg[0] = mfspr(SPRN_TLB0CFG) & mfspr 882 arch/powerpc/kvm/e500_mmu.c vcpu->arch.tlbcfg[1] = mfspr(SPRN_TLB1CFG) & mfspr 888 arch/powerpc/kvm/e500_mmu.c vcpu->arch.tlbps[0] = mfspr(SPRN_TLB0PS); mfspr 889 arch/powerpc/kvm/e500_mmu.c vcpu->arch.tlbps[1] = mfspr(SPRN_TLB1PS); mfspr 113 arch/powerpc/kvm/e500_mmu_host.c mas4 = mfspr(SPRN_MAS4); mfspr 116 arch/powerpc/kvm/e500_mmu_host.c mas0 = mfspr(SPRN_MAS0); mfspr 651 arch/powerpc/kvm/e500_mmu_host.c mas1 = mfspr(SPRN_MAS1); mfspr 652 arch/powerpc/kvm/e500_mmu_host.c mas2 = mfspr(SPRN_MAS2); mfspr 653 arch/powerpc/kvm/e500_mmu_host.c mas3 = mfspr(SPRN_MAS3); mfspr 655 arch/powerpc/kvm/e500_mmu_host.c mas7_mas3 = mfspr(SPRN_MAS7_MAS3); mfspr 657 arch/powerpc/kvm/e500_mmu_host.c mas7_mas3 = ((u64)mfspr(SPRN_MAS7) << 32) | mas3; mfspr 768 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].entries = mfspr(SPRN_TLB0CFG) & TLBnCFG_N_ENTRY; mfspr 769 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[1].entries = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; mfspr 782 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].ways = (mfspr(SPRN_TLB0CFG) & TLBnCFG_ASSOC) >> mfspr 76 arch/powerpc/kvm/e500mc.c val = mfspr(SPRN_MAS1); mfspr 142 arch/powerpc/kvm/e500mc.c if (vcpu->arch.oldpir != mfspr(SPRN_PIR) || mfspr 151 arch/powerpc/kvm/e500mc.c vcpu->arch.eplc = mfspr(SPRN_EPLC); mfspr 152 arch/powerpc/kvm/e500mc.c vcpu->arch.epsc = mfspr(SPRN_EPSC); mfspr 154 arch/powerpc/kvm/e500mc.c vcpu->arch.shared->sprg0 = mfspr(SPRN_GSPRG0); mfspr 155 arch/powerpc/kvm/e500mc.c vcpu->arch.shared->sprg1 = mfspr(SPRN_GSPRG1); mfspr 156 arch/powerpc/kvm/e500mc.c vcpu->arch.shared->sprg2 = mfspr(SPRN_GSPRG2); mfspr 157 arch/powerpc/kvm/e500mc.c vcpu->arch.shared->sprg3 = mfspr(SPRN_GSPRG3); mfspr 159 arch/powerpc/kvm/e500mc.c vcpu->arch.shared->srr0 = mfspr(SPRN_GSRR0); mfspr 160 arch/powerpc/kvm/e500mc.c vcpu->arch.shared->srr1 = mfspr(SPRN_GSRR1); mfspr 162 arch/powerpc/kvm/e500mc.c vcpu->arch.epr = mfspr(SPRN_GEPR); mfspr 163 arch/powerpc/kvm/e500mc.c vcpu->arch.shared->dar = mfspr(SPRN_GDEAR); mfspr 164 arch/powerpc/kvm/e500mc.c vcpu->arch.shared->esr = mfspr(SPRN_GESR); mfspr 166 arch/powerpc/kvm/e500mc.c vcpu->arch.oldpir = mfspr(SPRN_PIR); mfspr 206 arch/powerpc/kvm/e500mc.c vcpu->arch.pvr = mfspr(SPRN_PVR); mfspr 207 arch/powerpc/kvm/e500mc.c vcpu_e500->svr = mfspr(SPRN_SVR); mfspr 819 arch/powerpc/kvm/powerpc.c vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); mfspr 206 arch/powerpc/math-emu/math_efp.c __FPU_FPSCR = mfspr(SPRN_SPEFSCR); mfspr 739 arch/powerpc/math-emu/math_efp.c __FPU_FPSCR = mfspr(SPRN_SPEFSCR); mfspr 893 arch/powerpc/math-emu/math_efp.c pvr = mfspr(SPRN_PVR); mfspr 175 arch/powerpc/mm/book3s64/pkeys.c return mfspr(SPRN_AMR); mfspr 188 arch/powerpc/mm/book3s64/pkeys.c return mfspr(SPRN_IAMR); mfspr 201 arch/powerpc/mm/book3s64/pkeys.c return mfspr(SPRN_UAMOR); mfspr 598 arch/powerpc/mm/book3s64/radix_pgtable.c lpcr = mfspr(SPRN_LPCR); mfspr 620 arch/powerpc/mm/book3s64/radix_pgtable.c lpcr = mfspr(SPRN_LPCR); mfspr 638 arch/powerpc/mm/book3s64/radix_pgtable.c lpcr = mfspr(SPRN_LPCR); mfspr 320 arch/powerpc/mm/mem.c (mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY) - 1; mfspr 78 arch/powerpc/mm/nohash/44x.c unsigned int mmube0 = mfspr(SPRN_MMUBE0); mfspr 79 arch/powerpc/mm/nohash/44x.c unsigned int mmube1 = mfspr(SPRN_MMUBE1); mfspr 98 arch/powerpc/mm/nohash/44x.c unsigned int mmube0 = mfspr(SPRN_MMUBE0); mfspr 99 arch/powerpc/mm/nohash/44x.c unsigned int mmube1 = mfspr(SPRN_MMUBE1); mfspr 65 arch/powerpc/mm/nohash/8xx.c unsigned long ctr = mfspr(SPRN_MD_CTR) & 0xfe000000; mfspr 79 arch/powerpc/mm/nohash/book3e_hugetlbpage.c ncams = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; mfspr 150 arch/powerpc/mm/nohash/fsl_booke.c if ((mfspr(SPRN_MMUCFG) & MMUCFG_MAVN) == MMUCFG_MAVN_V1) { mfspr 152 arch/powerpc/mm/nohash/fsl_booke.c max_cam = ((mfspr(SPRN_TLB1CFG) >> 16) & 0xf) * 2 + 10; mfspr 157 arch/powerpc/mm/nohash/fsl_booke.c max_cam = __ilog2(mfspr(SPRN_TLB1PS)) + 10; mfspr 198 arch/powerpc/mm/nohash/fsl_booke.c get_paca()->tcd.esel_max = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; mfspr 445 arch/powerpc/mm/nohash/tlb.c unsigned int mmucfg = mfspr(SPRN_MMUCFG); mfspr 449 arch/powerpc/mm/nohash/tlb.c unsigned int tlb1cfg = mfspr(SPRN_TLB1CFG); mfspr 478 arch/powerpc/mm/nohash/tlb.c tlb0cfg = mfspr(SPRN_TLB0CFG); mfspr 479 arch/powerpc/mm/nohash/tlb.c tlb1cfg = mfspr(SPRN_TLB1CFG); mfspr 480 arch/powerpc/mm/nohash/tlb.c tlb1ps = mfspr(SPRN_TLB1PS); mfspr 481 arch/powerpc/mm/nohash/tlb.c eptcfg = mfspr(SPRN_EPTCFG); mfspr 512 arch/powerpc/mm/nohash/tlb.c tlb0cfg = mfspr(SPRN_TLB0CFG); mfspr 513 arch/powerpc/mm/nohash/tlb.c tlb0ps = mfspr(SPRN_TLB0PS); mfspr 514 arch/powerpc/mm/nohash/tlb.c eptcfg = mfspr(SPRN_EPTCFG); mfspr 636 arch/powerpc/mm/nohash/tlb.c num_cams = (mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY) / 4; mfspr 767 arch/powerpc/mm/nohash/tlb.c num_cams = (mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY) / 4; mfspr 57 arch/powerpc/mm/ptdump/bats.c #define BAT_SHOW_601(_m, _n, _l, _u) bat_show_601(_m, _n, mfspr(_l), mfspr(_u)) mfspr 117 arch/powerpc/mm/ptdump/bats.c #define BAT_SHOW_603(_m, _n, _l, _u, _d) bat_show_603(_m, _n, mfspr(_l), mfspr(_u), _d) mfspr 57 arch/powerpc/oprofile/op_model_7450.c u32 mmcr0 = mfspr(SPRN_MMCR0); mfspr 68 arch/powerpc/oprofile/op_model_7450.c u32 mmcr0 = mfspr(SPRN_MMCR0); mfspr 179 arch/powerpc/oprofile/op_model_7450.c pc = mfspr(SPRN_SIAR); mfspr 33 arch/powerpc/oprofile/op_model_pa6t.c return mfspr(SPRN_PA6T_PMC0); mfspr 35 arch/powerpc/oprofile/op_model_pa6t.c return mfspr(SPRN_PA6T_PMC1); mfspr 37 arch/powerpc/oprofile/op_model_pa6t.c return mfspr(SPRN_PA6T_PMC2); mfspr 39 arch/powerpc/oprofile/op_model_pa6t.c return mfspr(SPRN_PA6T_PMC3); mfspr 41 arch/powerpc/oprofile/op_model_pa6t.c return mfspr(SPRN_PA6T_PMC4); mfspr 43 arch/powerpc/oprofile/op_model_pa6t.c return mfspr(SPRN_PA6T_PMC5); mfspr 143 arch/powerpc/oprofile/op_model_pa6t.c mfspr(SPRN_PA6T_MMCR0)); mfspr 145 arch/powerpc/oprofile/op_model_pa6t.c mfspr(SPRN_PA6T_MMCR1)); mfspr 177 arch/powerpc/oprofile/op_model_pa6t.c mmcr0 = mfspr(SPRN_PA6T_MMCR0); mfspr 190 arch/powerpc/oprofile/op_model_pa6t.c unsigned long pc = mfspr(SPRN_PA6T_SIAR); mfspr 197 arch/powerpc/oprofile/op_model_pa6t.c mmcr0 = mfspr(SPRN_PA6T_MMCR0); mfspr 191 arch/powerpc/oprofile/op_model_power4.c mfspr(SPRN_MMCR0)); mfspr 193 arch/powerpc/oprofile/op_model_power4.c mfspr(SPRN_MMCR1)); mfspr 195 arch/powerpc/oprofile/op_model_power4.c mfspr(SPRN_MMCRA)); mfspr 216 arch/powerpc/oprofile/op_model_power4.c mmcr0 = mfspr(SPRN_MMCR0); mfspr 243 arch/powerpc/oprofile/op_model_power4.c mmcr0 = mfspr(SPRN_MMCR0); mfspr 279 arch/powerpc/oprofile/op_model_power4.c unsigned long pc = mfspr(SPRN_SIAR); mfspr 287 arch/powerpc/oprofile/op_model_power4.c mmcra = mfspr(SPRN_MMCRA); mfspr 370 arch/powerpc/oprofile/op_model_power4.c mmcra = mfspr(SPRN_MMCRA); mfspr 408 arch/powerpc/oprofile/op_model_power4.c mmcr0 = mfspr(SPRN_MMCR0); mfspr 42 arch/powerpc/perf/8xx-pmu.c counta = mfspr(SPRN_COUNTA); mfspr 205 arch/powerpc/perf/core-book3s.c *addrp = mfspr(SPRN_SDAR); mfspr 208 arch/powerpc/perf/core-book3s.c is_kernel_addr(mfspr(SPRN_SDAR))) mfspr 261 arch/powerpc/perf/core-book3s.c unsigned long siar = mfspr(SPRN_SIAR); mfspr 286 arch/powerpc/perf/core-book3s.c unsigned long mmcra = mfspr(SPRN_MMCRA); mfspr 293 arch/powerpc/perf/core-book3s.c regs->dar = mfspr(SPRN_SIER); mfspr 589 arch/powerpc/perf/core-book3s.c current->thread.siar = mfspr(SPRN_SIAR); mfspr 590 arch/powerpc/perf/core-book3s.c current->thread.sier = mfspr(SPRN_SIER); mfspr 591 arch/powerpc/perf/core-book3s.c current->thread.sdar = mfspr(SPRN_SDAR); mfspr 593 arch/powerpc/perf/core-book3s.c current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; mfspr 695 arch/powerpc/perf/core-book3s.c pmcs[0] = mfspr(SPRN_PMC1); mfspr 696 arch/powerpc/perf/core-book3s.c pmcs[1] = mfspr(SPRN_PMC2); mfspr 697 arch/powerpc/perf/core-book3s.c pmcs[2] = mfspr(SPRN_PMC3); mfspr 698 arch/powerpc/perf/core-book3s.c pmcs[3] = mfspr(SPRN_PMC4); mfspr 699 arch/powerpc/perf/core-book3s.c pmcs[4] = mfspr(SPRN_PMC5); mfspr 700 arch/powerpc/perf/core-book3s.c pmcs[5] = mfspr(SPRN_PMC6); mfspr 735 arch/powerpc/perf/core-book3s.c val = mfspr(SPRN_PMC1); mfspr 738 arch/powerpc/perf/core-book3s.c val = mfspr(SPRN_PMC2); mfspr 741 arch/powerpc/perf/core-book3s.c val = mfspr(SPRN_PMC3); mfspr 744 arch/powerpc/perf/core-book3s.c val = mfspr(SPRN_PMC4); mfspr 747 arch/powerpc/perf/core-book3s.c val = mfspr(SPRN_PMC5); mfspr 750 arch/powerpc/perf/core-book3s.c val = mfspr(SPRN_PMC6); mfspr 754 arch/powerpc/perf/core-book3s.c val = mfspr(SPRN_PMC7); mfspr 757 arch/powerpc/perf/core-book3s.c val = mfspr(SPRN_PMC8); mfspr 838 arch/powerpc/perf/core-book3s.c mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCRA)); mfspr 842 arch/powerpc/perf/core-book3s.c sdar = mfspr(SPRN_SDAR); mfspr 845 arch/powerpc/perf/core-book3s.c sier = mfspr(SPRN_SIER); mfspr 849 arch/powerpc/perf/core-book3s.c mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); mfspr 851 arch/powerpc/perf/core-book3s.c mfspr(SPRN_EBBRR), mfspr(SPRN_BESCR)); mfspr 855 arch/powerpc/perf/core-book3s.c mfspr(SPRN_SIAR), sdar, sier); mfspr 1223 arch/powerpc/perf/core-book3s.c val = mmcr0 = mfspr(SPRN_MMCR0); mfspr 2135 arch/powerpc/perf/core-book3s.c return mfspr(SPRN_SIAR) + perf_ip_adjust(regs); mfspr 2182 arch/powerpc/perf/core-book3s.c freeze_limited_counters(cpuhw, mfspr(SPRN_PMC5), mfspr 2183 arch/powerpc/perf/core-book3s.c mfspr(SPRN_PMC6)); mfspr 217 arch/powerpc/perf/isa207-common.c sier = mfspr(SPRN_SIER); mfspr 230 arch/powerpc/perf/isa207-common.c u64 mmcra = mfspr(SPRN_MMCRA); mfspr 233 arch/powerpc/perf/isa207-common.c u64 sier = mfspr(SPRN_SIER); mfspr 246 arch/powerpc/perf/power8-pmu.c mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); mfspr 303 arch/powerpc/perf/power9-pmu.c mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); mfspr 442 arch/powerpc/perf/power9-pmu.c unsigned int pvr = mfspr(SPRN_PVR); mfspr 21 arch/powerpc/platforms/44x/machine_check.c u32 mcsr = mfspr(SPRN_MCSR); mfspr 59 arch/powerpc/platforms/44x/machine_check.c mcsr = mfspr(SPRN_MCSR); mfspr 205 arch/powerpc/platforms/4xx/cpm.c tcr_save = mfspr(SPRN_TCR); mfspr 50 arch/powerpc/platforms/4xx/pci.c if ((mfspr(SPRN_PVR) & 0xffefffff) == 0x53421890) mfspr 213 arch/powerpc/platforms/4xx/soc.c mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | reset_type); mfspr 82 arch/powerpc/platforms/52xx/mpc52xx_common.c if ((mfspr(SPRN_SVR) & MPC5200_SVR_MASK) == MPC5200_SVR) mfspr 151 arch/powerpc/platforms/52xx/mpc52xx_pm.c hid0 = mfspr(SPRN_HID0); mfspr 49 arch/powerpc/platforms/83xx/km83xx.c uint svid = mfspr(SPRN_SVR); mfspr 107 arch/powerpc/platforms/83xx/mpc836x_mds.c svid = mfspr(SPRN_SVR); mfspr 150 arch/powerpc/platforms/85xx/ksi8560.c pvid = mfspr(SPRN_PVR); mfspr 151 arch/powerpc/platforms/85xx/ksi8560.c svid = mfspr(SPRN_SVR); mfspr 168 arch/powerpc/platforms/85xx/ksi8560.c phid1 = mfspr(SPRN_HID1); mfspr 140 arch/powerpc/platforms/85xx/mpc85xx_ads.c pvid = mfspr(SPRN_PVR); mfspr 141 arch/powerpc/platforms/85xx/mpc85xx_ads.c svid = mfspr(SPRN_SVR); mfspr 148 arch/powerpc/platforms/85xx/mpc85xx_ads.c phid1 = mfspr(SPRN_HID1); mfspr 360 arch/powerpc/platforms/85xx/mpc85xx_cds.c pvid = mfspr(SPRN_PVR); mfspr 361 arch/powerpc/platforms/85xx/mpc85xx_cds.c svid = mfspr(SPRN_SVR); mfspr 370 arch/powerpc/platforms/85xx/mpc85xx_cds.c phid1 = mfspr(SPRN_HID1); mfspr 34 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c tmp = (mfspr(SPRN_HID0) & ~(HID0_DOZE|HID0_SLEEP)) | HID0_NAP; mfspr 48 arch/powerpc/platforms/85xx/ppa8548.c svid = mfspr(SPRN_SVR); mfspr 54 arch/powerpc/platforms/85xx/ppa8548.c phid1 = mfspr(SPRN_HID1); mfspr 98 arch/powerpc/platforms/85xx/sbc8548.c pvid = mfspr(SPRN_PVR); mfspr 99 arch/powerpc/platforms/85xx/sbc8548.c svid = mfspr(SPRN_SVR); mfspr 107 arch/powerpc/platforms/85xx/sbc8548.c phid1 = mfspr(SPRN_HID1); mfspr 127 arch/powerpc/platforms/85xx/smp.c mtspr(SPRN_TSR, mfspr(SPRN_TSR)); mfspr 426 arch/powerpc/platforms/85xx/smp.c while (mfspr(SPRN_TENSR) & disable_threadbit) mfspr 73 arch/powerpc/platforms/85xx/stx_gp3.c pvid = mfspr(SPRN_PVR); mfspr 74 arch/powerpc/platforms/85xx/stx_gp3.c svid = mfspr(SPRN_SVR); mfspr 81 arch/powerpc/platforms/85xx/stx_gp3.c phid1 = mfspr(SPRN_HID1); mfspr 72 arch/powerpc/platforms/85xx/tqm85xx.c pvid = mfspr(SPRN_PVR); mfspr 73 arch/powerpc/platforms/85xx/tqm85xx.c svid = mfspr(SPRN_SVR); mfspr 80 arch/powerpc/platforms/85xx/tqm85xx.c phid1 = mfspr(SPRN_HID1); mfspr 34 arch/powerpc/platforms/86xx/common.c temp = mfspr(SPRN_HID0); mfspr 142 arch/powerpc/platforms/86xx/gef_ppc9a.c uint svid = mfspr(SPRN_SVR); mfspr 132 arch/powerpc/platforms/86xx/gef_sbc310.c uint svid = mfspr(SPRN_SVR); mfspr 124 arch/powerpc/platforms/86xx/gef_sbc610.c uint svid = mfspr(SPRN_SVR); mfspr 82 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c uint svid = mfspr(SPRN_SVR); mfspr 53 arch/powerpc/platforms/86xx/sbc8641d.c uint svid = mfspr(SPRN_SVR); mfspr 232 arch/powerpc/platforms/8xx/cpm1.c if ((mfspr(SPRN_IMMR) & 0xffff) == 0x0900) /* MPC885 */ mfspr 37 arch/powerpc/platforms/cell/pervasive.c ctrl = mfspr(SPRN_CTRLF); mfspr 40 arch/powerpc/platforms/cell/pervasive.c thread_switch_control = mfspr(SPRN_TSC_CELL); mfspr 334 arch/powerpc/platforms/cell/ras.c hid0 = mfspr(SPRN_HID0); mfspr 98 arch/powerpc/platforms/cell/spu_priv1_mmio.c out_be64(&spu->priv1->mfc_sdr_RW, mfspr(SPRN_SDR1)); mfspr 334 arch/powerpc/platforms/pasemi/setup.c dsisr = mfspr(SPRN_DSISR); mfspr 338 arch/powerpc/platforms/pasemi/setup.c pr_err("BER 0x%016lx MER 0x%016lx\n", mfspr(SPRN_PA6T_BER), mfspr 339 arch/powerpc/platforms/pasemi/setup.c mfspr(SPRN_PA6T_MER)); mfspr 340 arch/powerpc/platforms/pasemi/setup.c pr_err("IER 0x%016lx DER 0x%016lx\n", mfspr(SPRN_PA6T_IER), mfspr 341 arch/powerpc/platforms/pasemi/setup.c mfspr(SPRN_PA6T_DER)); mfspr 272 arch/powerpc/platforms/powermac/setup.c pvr = PVR_VER(mfspr(SPRN_PVR)); mfspr 273 arch/powerpc/platforms/powermac/smp.c if (PVR_VER(mfspr(SPRN_PVR)) == 1) mfspr 74 arch/powerpc/platforms/powernv/idle.c uint64_t lpcr_val = mfspr(SPRN_LPCR); mfspr 75 arch/powerpc/platforms/powernv/idle.c uint64_t hid0_val = mfspr(SPRN_HID0); mfspr 76 arch/powerpc/platforms/powernv/idle.c uint64_t hid1_val = mfspr(SPRN_HID1); mfspr 77 arch/powerpc/platforms/powernv/idle.c uint64_t hid4_val = mfspr(SPRN_HID4); mfspr 78 arch/powerpc/platforms/powernv/idle.c uint64_t hid5_val = mfspr(SPRN_HID5); mfspr 79 arch/powerpc/platforms/powernv/idle.c uint64_t hmeer_val = mfspr(SPRN_HMEER); mfspr 341 arch/powerpc/platforms/powernv/idle.c sprs.tscr = mfspr(SPRN_TSCR); mfspr 342 arch/powerpc/platforms/powernv/idle.c sprs.worc = mfspr(SPRN_WORC); mfspr 344 arch/powerpc/platforms/powernv/idle.c sprs.sdr1 = mfspr(SPRN_SDR1); mfspr 345 arch/powerpc/platforms/powernv/idle.c sprs.rpr = mfspr(SPRN_RPR); mfspr 347 arch/powerpc/platforms/powernv/idle.c sprs.lpcr = mfspr(SPRN_LPCR); mfspr 349 arch/powerpc/platforms/powernv/idle.c sprs.hfscr = mfspr(SPRN_HFSCR); mfspr 350 arch/powerpc/platforms/powernv/idle.c sprs.fscr = mfspr(SPRN_FSCR); mfspr 352 arch/powerpc/platforms/powernv/idle.c sprs.purr = mfspr(SPRN_PURR); mfspr 353 arch/powerpc/platforms/powernv/idle.c sprs.spurr = mfspr(SPRN_SPURR); mfspr 354 arch/powerpc/platforms/powernv/idle.c sprs.dscr = mfspr(SPRN_DSCR); mfspr 355 arch/powerpc/platforms/powernv/idle.c sprs.wort = mfspr(SPRN_WORT); mfspr 378 arch/powerpc/platforms/powernv/idle.c sprs.amr = mfspr(SPRN_AMR); mfspr 379 arch/powerpc/platforms/powernv/idle.c sprs.iamr = mfspr(SPRN_IAMR); mfspr 380 arch/powerpc/platforms/powernv/idle.c sprs.amor = mfspr(SPRN_AMOR); mfspr 381 arch/powerpc/platforms/powernv/idle.c sprs.uamor = mfspr(SPRN_UAMOR); mfspr 658 arch/powerpc/platforms/powernv/idle.c mmcr0 = mfspr(SPRN_MMCR0); mfspr 661 arch/powerpc/platforms/powernv/idle.c sprs.lpcr = mfspr(SPRN_LPCR); mfspr 662 arch/powerpc/platforms/powernv/idle.c sprs.hfscr = mfspr(SPRN_HFSCR); mfspr 663 arch/powerpc/platforms/powernv/idle.c sprs.fscr = mfspr(SPRN_FSCR); mfspr 664 arch/powerpc/platforms/powernv/idle.c sprs.pid = mfspr(SPRN_PID); mfspr 665 arch/powerpc/platforms/powernv/idle.c sprs.purr = mfspr(SPRN_PURR); mfspr 666 arch/powerpc/platforms/powernv/idle.c sprs.spurr = mfspr(SPRN_SPURR); mfspr 667 arch/powerpc/platforms/powernv/idle.c sprs.dscr = mfspr(SPRN_DSCR); mfspr 668 arch/powerpc/platforms/powernv/idle.c sprs.wort = mfspr(SPRN_WORT); mfspr 670 arch/powerpc/platforms/powernv/idle.c sprs.mmcra = mfspr(SPRN_MMCRA); mfspr 671 arch/powerpc/platforms/powernv/idle.c sprs.mmcr0 = mfspr(SPRN_MMCR0); mfspr 672 arch/powerpc/platforms/powernv/idle.c sprs.mmcr1 = mfspr(SPRN_MMCR1); mfspr 673 arch/powerpc/platforms/powernv/idle.c sprs.mmcr2 = mfspr(SPRN_MMCR2); mfspr 675 arch/powerpc/platforms/powernv/idle.c sprs.ptcr = mfspr(SPRN_PTCR); mfspr 676 arch/powerpc/platforms/powernv/idle.c sprs.rpr = mfspr(SPRN_RPR); mfspr 677 arch/powerpc/platforms/powernv/idle.c sprs.tscr = mfspr(SPRN_TSCR); mfspr 679 arch/powerpc/platforms/powernv/idle.c sprs.ldbar = mfspr(SPRN_LDBAR); mfspr 686 arch/powerpc/platforms/powernv/idle.c sprs.amr = mfspr(SPRN_AMR); mfspr 687 arch/powerpc/platforms/powernv/idle.c sprs.iamr = mfspr(SPRN_IAMR); mfspr 688 arch/powerpc/platforms/powernv/idle.c sprs.amor = mfspr(SPRN_AMOR); mfspr 689 arch/powerpc/platforms/powernv/idle.c sprs.uamor = mfspr(SPRN_UAMOR); mfspr 697 arch/powerpc/platforms/powernv/idle.c psscr = mfspr(SPRN_PSSCR); mfspr 728 arch/powerpc/platforms/powernv/idle.c mmcra = mfspr(SPRN_MMCRA); mfspr 855 arch/powerpc/platforms/powernv/idle.c psscr = mfspr(SPRN_PSSCR); mfspr 977 arch/powerpc/platforms/powernv/idle.c psscr = mfspr(SPRN_PSSCR); mfspr 599 arch/powerpc/platforms/powernv/opal-fadump.c fdh->crashing_cpu = (u32)mfspr(SPRN_PIR); mfspr 56 arch/powerpc/platforms/powernv/smp.c mtspr(SPRN_HMEER, mfspr(SPRN_HMEER) | PPC_BIT(17)); mfspr 211 arch/powerpc/platforms/powernv/smp.c lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; mfspr 288 arch/powerpc/platforms/powernv/smp.c lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1; mfspr 181 arch/powerpc/platforms/powernv/subcore.c while (mfspr(SPRN_HID0) & mask) mfspr 188 arch/powerpc/platforms/powernv/subcore.c hid0 = mfspr(SPRN_HID0); mfspr 193 arch/powerpc/platforms/powernv/subcore.c while (mfspr(SPRN_HID0) & mask) mfspr 225 arch/powerpc/platforms/powernv/subcore.c hid0 = mfspr(SPRN_HID0); mfspr 231 arch/powerpc/platforms/powernv/subcore.c while (!(mfspr(SPRN_HID0) & split_parms[i].mask)) mfspr 410 arch/powerpc/platforms/powernv/subcore.c pvr_ver = PVR_VER(mfspr(SPRN_PVR)); mfspr 288 arch/powerpc/platforms/powernv/vas-window.c lpcr = mfspr(SPRN_LPCR); mfspr 318 arch/powerpc/platforms/powernv/vas-window.c val = SET_FIELD(VAS_AMR, val, mfspr(SPRN_AMR)); mfspr 112 arch/powerpc/platforms/pseries/hvCall_inst.c h->purr_start = mfspr(SPRN_PURR); mfspr 126 arch/powerpc/platforms/pseries/hvCall_inst.c h->purr_total += mfspr(SPRN_PURR) - h->purr_start; mfspr 57 arch/powerpc/platforms/pseries/lparcfg.c atomic64_add(mfspr(SPRN_PURR), sum); mfspr 166 arch/powerpc/sysdev/ehv_pic.c irq = mfspr(SPRN_EPR); /* if core int mode */ mfspr 526 arch/powerpc/sysdev/fsl_pci.c u32 svr = mfspr(SPRN_SVR); mfspr 1062 arch/powerpc/sysdev/fsl_pci.c addr = mfspr(SPRN_MCARU); mfspr 1065 arch/powerpc/sysdev/fsl_pci.c addr += mfspr(SPRN_MCAR); mfspr 1814 arch/powerpc/sysdev/mpic.c src = mfspr(SPRN_EPR); mfspr 1160 arch/powerpc/xmon/xmon.c mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); mfspr 1869 arch/powerpc/xmon/xmon.c mfspr(SPRN_SRR0), mfspr(SPRN_SRR1), mfspr(SPRN_DSISR)); mfspr 1871 arch/powerpc/xmon/xmon.c mfspr(SPRN_DSCR), mfspr(SPRN_PPR), mfspr(SPRN_PIR)); mfspr 1873 arch/powerpc/xmon/xmon.c mfspr(SPRN_AMR), mfspr(SPRN_UAMOR)); mfspr 1879 arch/powerpc/xmon/xmon.c mfspr(SPRN_SDR1), mfspr(SPRN_HDAR), mfspr(SPRN_HDSISR)); mfspr 1881 arch/powerpc/xmon/xmon.c mfspr(SPRN_HSRR0), mfspr(SPRN_HSRR1), mfspr(SPRN_HDEC)); mfspr 1883 arch/powerpc/xmon/xmon.c mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); mfspr 1885 arch/powerpc/xmon/xmon.c mfspr(SPRN_HSPRG0), mfspr(SPRN_HSPRG1), mfspr(SPRN_AMOR)); mfspr 1887 arch/powerpc/xmon/xmon.c mfspr(SPRN_DABR), mfspr(SPRN_DABRX)); mfspr 1900 arch/powerpc/xmon/xmon.c mfspr(SPRN_DPDES), mfspr(SPRN_TIR), mfspr(SPRN_CIR)); mfspr 1903 arch/powerpc/xmon/xmon.c mfspr(SPRN_FSCR), mfspr(SPRN_TAR), mfspr(SPRN_PSPB)); mfspr 1909 arch/powerpc/xmon/xmon.c mfspr(SPRN_TFHAR), mfspr(SPRN_TFIAR), mfspr 1910 arch/powerpc/xmon/xmon.c mfspr(SPRN_TEXASR)); mfspr 1914 arch/powerpc/xmon/xmon.c mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); mfspr 1916 arch/powerpc/xmon/xmon.c mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr 1917 arch/powerpc/xmon/xmon.c mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); mfspr 1919 arch/powerpc/xmon/xmon.c mfspr(SPRN_MMCRA), mfspr(SPRN_SIAR), mfspr(SPRN_PMC5)); mfspr 1921 arch/powerpc/xmon/xmon.c mfspr(SPRN_SDAR), mfspr(SPRN_SIER), mfspr(SPRN_PMC6)); mfspr 1923 arch/powerpc/xmon/xmon.c mfspr(SPRN_EBBHR), mfspr(SPRN_EBBRR), mfspr(SPRN_BESCR)); mfspr 1924 arch/powerpc/xmon/xmon.c printf("iamr = %.16lx\n", mfspr(SPRN_IAMR)); mfspr 1930 arch/powerpc/xmon/xmon.c mfspr(SPRN_HFSCR), mfspr(SPRN_DHDES), mfspr(SPRN_RPR)); mfspr 1932 arch/powerpc/xmon/xmon.c mfspr(SPRN_DAWR), mfspr(SPRN_DAWRX), mfspr(SPRN_CIABR)); mfspr 1945 arch/powerpc/xmon/xmon.c mfspr(SPRN_PID), mfspr(SPRN_TIDR)); mfspr 1947 arch/powerpc/xmon/xmon.c hv ? mfspr(SPRN_PSSCR) : mfspr(SPRN_PSSCR_PR)); mfspr 1953 arch/powerpc/xmon/xmon.c mfspr(SPRN_PTCR), mfspr(SPRN_ASDR)); mfspr 2000 arch/powerpc/xmon/xmon.c mfmsr(), mfspr(SPRN_SPRG0)); mfspr 2002 arch/powerpc/xmon/xmon.c mfspr(SPRN_PVR), mfspr(SPRN_SPRG1)); mfspr 2004 arch/powerpc/xmon/xmon.c mfspr(SPRN_DEC), mfspr(SPRN_SPRG2)); mfspr 2005 arch/powerpc/xmon/xmon.c printf("sp = "REG" sprg3 = "REG"\n", sp, mfspr(SPRN_SPRG3)); mfspr 2006 arch/powerpc/xmon/xmon.c printf("toc = "REG" dar = "REG"\n", toc, mfspr(SPRN_DAR)); mfspr 3680 arch/powerpc/xmon/xmon.c mmucfg = mfspr(SPRN_MMUCFG); mfspr 3700 arch/powerpc/xmon/xmon.c tlbcfg = mfspr(SPRN_TLB0CFG); mfspr 3703 arch/powerpc/xmon/xmon.c tlbcfg = mfspr(SPRN_TLB1CFG); mfspr 3706 arch/powerpc/xmon/xmon.c tlbcfg = mfspr(SPRN_TLB2CFG); mfspr 3709 arch/powerpc/xmon/xmon.c tlbcfg = mfspr(SPRN_TLB3CFG); mfspr 3735 arch/powerpc/xmon/xmon.c mas1 = mfspr(SPRN_MAS1); mfspr 3736 arch/powerpc/xmon/xmon.c mas2 = mfspr(SPRN_MAS2); mfspr 3737 arch/powerpc/xmon/xmon.c mas7_mas3 = mfspr(SPRN_MAS7_MAS3); mfspr 1402 drivers/clk/clk-qoriq.c u32 svr = mfspr(SPRN_SVR); mfspr 183 drivers/cpufreq/maple-cpufreq.c pvr_hi = PVR_VER(mfspr(SPRN_PVR)); mfspr 122 drivers/cpufreq/pmac32-cpufreq.c hid2 = mfspr(SPRN_HID2); mfspr 133 drivers/cpufreq/pmac32-cpufreq.c hid2 = mfspr(SPRN_HID2); mfspr 148 drivers/cpufreq/pmac32-cpufreq.c if (mfspr(SPRN_HID1) & HID1_PS) mfspr 181 drivers/cpufreq/pmac32-cpufreq.c if (mfspr(SPRN_HID1) & HID1_DFS) mfspr 243 drivers/cpufreq/pmac32-cpufreq.c printk(KERN_DEBUG "HID1, before: %x\n", mfspr(SPRN_HID1)); mfspr 302 drivers/cpufreq/pmac32-cpufreq.c printk(KERN_DEBUG "HID1, after: %x\n", mfspr(SPRN_HID1)); mfspr 590 drivers/cpufreq/pmac32-cpufreq.c pvr = mfspr(SPRN_PVR); mfspr 633 drivers/cpufreq/pmac32-cpufreq.c PVR_VER(mfspr(SPRN_PVR)) == 0x8003) { mfspr 671 drivers/cpufreq/pmac32-cpufreq.c else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) mfspr 439 drivers/cpufreq/powernv-cpufreq.c return mfspr(SPRN_PMCR); mfspr 442 drivers/cpufreq/powernv-cpufreq.c return mfspr(SPRN_PMICR); mfspr 445 drivers/cpufreq/powernv-cpufreq.c return mfspr(SPRN_PMSR); mfspr 121 drivers/cpuidle/cpuidle-powernv.c unsigned long old_lpcr = mfspr(SPRN_LPCR); mfspr 37 drivers/cpuidle/cpuidle-pseries.c *in_purr = mfspr(SPRN_PURR); mfspr 50 drivers/cpuidle/cpuidle-pseries.c wait_cycles += mfspr(SPRN_PURR) - in_purr; mfspr 1425 drivers/crypto/amcc/crypto4xx_core.c pvr = mfspr(SPRN_PVR); mfspr 333 drivers/dma/bestcomm/bestcomm.c if ((mfspr(SPRN_SVR) & MPC5200_SVR_MASK) == MPC5200_SVR) mfspr 205 drivers/i2c/busses/i2c-mpc.c unsigned int pvr = mfspr(SPRN_PVR); mfspr 367 drivers/i2c/busses/i2c-mpc.c unsigned int svr = mfspr(SPRN_SVR); mfspr 1110 drivers/iommu/fsl_pamu.c if (port_id_map[i].svr == (mfspr(SPRN_SVR) & ~SVR_SECURITY)) { mfspr 28 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); mfspr 33 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, mfspr(SPR_PICMR) | (1UL << data->hwirq)); mfspr 43 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); mfspr 55 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq)); mfspr 60 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); mfspr 61 drivers/irqchip/irq-or1k-pic.c mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq)); mfspr 105 drivers/irqchip/irq-or1k-pic.c hwirq = ffs(mfspr(SPR_PICSR) >> first); mfspr 2084 drivers/macintosh/via-pmu.c hid0 = mfspr(SPRN_HID0); mfspr 183 drivers/misc/cxl/cxllib.c attr->lpid = mfspr(SPRN_LPID); mfspr 190 drivers/misc/cxl/file.c amr = work.amr & mfspr(SPRN_UAMOR); mfspr 602 drivers/misc/cxl/native.c if (mfspr(SPRN_LPCR) & LPCR_TC) mfspr 670 drivers/misc/cxl/native.c ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); mfspr 744 drivers/misc/cxl/native.c ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); mfspr 746 drivers/misc/cxl/native.c ctx->elem->u.sdr = cpu_to_be64(mfspr(SPRN_SDR1)); mfspr 864 drivers/misc/cxl/native.c cxl_p1n_write(afu, CXL_PSL_LPID_An, mfspr(SPRN_LPID)); mfspr 866 drivers/misc/cxl/native.c cxl_p1n_write(afu, CXL_PSL_SDR_An, mfspr(SPRN_SDR1)); mfspr 88 drivers/misc/ocxl/file.c amr = arg.amr & mfspr(SPRN_UAMOR); mfspr 477 drivers/misc/ocxl/link.c if (mfspr(SPRN_LPCR) & LPCR_TC) mfspr 531 drivers/misc/ocxl/link.c pe->lpid = cpu_to_be32(mfspr(SPRN_LPID)); mfspr 624 drivers/mtd/nand/raw/mpc5121_nfc.c rev = (mfspr(SPRN_SVR) >> 4) & 0xF; mfspr 49 drivers/net/can/mscan/mpc5xxx_can.c pvr = mfspr(SPRN_PVR); mfspr 918 drivers/net/ethernet/freescale/gianfar.c unsigned int pvr = mfspr(SPRN_PVR); mfspr 919 drivers/net/ethernet/freescale/gianfar.c unsigned int svr = mfspr(SPRN_SVR); mfspr 940 drivers/net/ethernet/freescale/gianfar.c unsigned int svr = mfspr(SPRN_SVR); mfspr 1149 drivers/tty/serial/ucc_uart.c svr = mfspr(SPRN_SVR); mfspr 107 drivers/watchdog/booke_wdt.c val = mfspr(SPRN_TCR); mfspr 138 drivers/watchdog/booke_wdt.c val = mfspr(SPRN_TCR); mfspr 157 drivers/watchdog/booke_wdt.c val = mfspr(SPRN_TCR); mfspr 25 tools/perf/arch/powerpc/util/header.c pvr = mfspr(SPRN_PVR); mfspr 42 tools/perf/arch/powerpc/util/header.c if (asprintf(&bufp, "%.8lx", mfspr(SPRN_PVR)) < 0) mfspr 31 tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test.c val = mfspr(SPRN_BESCR); mfspr 52 tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test.c siar = mfspr(SPRN_SIAR); mfspr 55 tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test.c val = mfspr(SPRN_PMC1); mfspr 58 tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test.c val = mfspr(SPRN_MMCR0); mfspr 51 tools/testing/selftests/powerpc/pmu/ebb/close_clears_pmcc_test.c mfspr(SPRN_EBBHR); mfspr 52 tools/testing/selftests/powerpc/pmu/ebb/close_clears_pmcc_test.c mfspr(SPRN_EBBRR); mfspr 53 tools/testing/selftests/powerpc/pmu/ebb/close_clears_pmcc_test.c mfspr(SPRN_BESCR); mfspr 30 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c val = mfspr(SPRN_BESCR); mfspr 39 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c val = mfspr(SPRN_MMCR0); mfspr 84 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); mfspr 90 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); mfspr 92 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c val = mfspr(SPRN_MMCR0); mfspr 62 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test.c val = mfspr(SPRN_MMCR2); mfspr 39 tools/testing/selftests/powerpc/pmu/ebb/ebb.c val = mfspr(SPRN_MMCR0); mfspr 61 tools/testing/selftests/powerpc/pmu/ebb/ebb.c val = mfspr(SPRN_MMCR0); mfspr 104 tools/testing/selftests/powerpc/pmu/ebb/ebb.c val = mfspr(SPRN_BESCR); mfspr 113 tools/testing/selftests/powerpc/pmu/ebb/ebb.c val = mfspr(SPRN_MMCR0); mfspr 221 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mmcr0 = mfspr(SPRN_MMCR0); mfspr 222 tools/testing/selftests/powerpc/pmu/ebb/ebb.c bescr = mfspr(SPRN_BESCR); mfspr 236 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mmcr0, decode_mmcr0(mmcr0), mfspr(SPRN_MMCR2), mfspr 237 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mfspr(SPRN_EBBHR), bescr, decode_bescr(bescr), mfspr 238 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), mfspr 239 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), mfspr 240 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mfspr(SPRN_SIAR)); mfspr 296 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); mfspr 303 tools/testing/selftests/powerpc/pmu/ebb/ebb.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); mfspr 391 tools/testing/selftests/powerpc/pmu/ebb/ebb.c val = mfspr(SPRN_MMCRA); mfspr 392 tools/testing/selftests/powerpc/pmu/ebb/ebb.c val |= mfspr(SPRN_MMCR2); mfspr 393 tools/testing/selftests/powerpc/pmu/ebb/ebb.c val |= mfspr(SPRN_MMCR0); mfspr 457 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 1: return mfspr(SPRN_PMC1); mfspr 458 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 2: return mfspr(SPRN_PMC2); mfspr 459 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 3: return mfspr(SPRN_PMC3); mfspr 460 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 4: return mfspr(SPRN_PMC4); mfspr 461 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 5: return mfspr(SPRN_PMC5); mfspr 462 tools/testing/selftests/powerpc/pmu/ebb/ebb.c case 6: return mfspr(SPRN_PMC6); mfspr 29 tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c FAIL_IF(mfspr(SPRN_BESCR) != 0); mfspr 30 tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c FAIL_IF(mfspr(SPRN_EBBHR) != 0); mfspr 31 tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c FAIL_IF(mfspr(SPRN_EBBRR) != 0); mfspr 35 tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); mfspr 41 tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); mfspr 94 tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c val = mfspr(SPRN_BESCR); mfspr 128 tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); mfspr 34 tools/testing/selftests/powerpc/pmu/ebb/no_handler_test.c val = mfspr(SPRN_EBBHR); mfspr 48 tools/testing/selftests/powerpc/pmu/ebb/no_handler_test.c val = mfspr(SPRN_MMCR0); mfspr 35 tools/testing/selftests/powerpc/pmu/ebb/pmae_handling_test.c val = mfspr(SPRN_BESCR); mfspr 44 tools/testing/selftests/powerpc/pmu/ebb/pmae_handling_test.c before = mfspr(SPRN_MMCR0); mfspr 49 tools/testing/selftests/powerpc/pmu/ebb/pmae_handling_test.c after = mfspr(SPRN_MMCR0); mfspr 23 tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c val = mfspr(SPRN_BESCR); mfspr 32 tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c val = mfspr(SPRN_PMC5); mfspr 38 tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c val = mfspr(SPRN_PMC6); mfspr 24 tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c val = mfspr(SPRN_BESCR); mfspr 30 tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c val = mfspr(SPRN_EBBHR); mfspr 397 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h 90: mfspr dest, SPRN_TBRL; \ mfspr 410 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define MFTBL(dest) mfspr dest, SPRN_TBRL mfspr 411 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define MFTBU(dest) mfspr dest, SPRN_TBRU mfspr 139 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c reg = mfspr(SPRN_AMR); mfspr 155 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c reg = mfspr(SPRN_AMR); mfspr 172 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c reg = mfspr(SPRN_AMR); mfspr 34 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c reg[0] = mfspr(SPRN_TAR); mfspr 35 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c reg[1] = mfspr(SPRN_PPR); mfspr 36 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c reg[2] = mfspr(SPRN_DSCR); mfspr 84 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c regs[0] = mfspr(SPRN_TAR); mfspr 85 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c regs[1] = mfspr(SPRN_PPR); mfspr 86 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c regs[2] = mfspr(SPRN_DSCR); mfspr 73 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c regs[0] = mfspr(SPRN_TAR); mfspr 74 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c regs[1] = mfspr(SPRN_PPR); mfspr 75 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c regs[2] = mfspr(SPRN_DSCR); mfspr 62 tools/testing/selftests/powerpc/tm/tm-tmspr.c tfhar_rd = mfspr(SPRN_TFHAR); mfspr 63 tools/testing/selftests/powerpc/tm/tm-tmspr.c tfiar_rd = mfspr(SPRN_TFIAR); mfspr 89 tools/testing/selftests/powerpc/tm/tm-tmspr.c result = mfspr(SPRN_TEXASR);