/linux-4.4.14/arch/powerpc/boot/ |
D | wii-head.S | 49 mtspr 0x210, 8 /* IBAT0U */ 50 mtspr 0x212, 8 /* IBAT1U */ 51 mtspr 0x214, 8 /* IBAT2U */ 52 mtspr 0x216, 8 /* IBAT3U */ 53 mtspr 0x218, 8 /* DBAT0U */ 54 mtspr 0x21a, 8 /* DBAT1U */ 55 mtspr 0x21c, 8 /* DBAT2U */ 56 mtspr 0x21e, 8 /* DBAT3U */ 58 mtspr 0x230, 8 /* IBAT4U */ 59 mtspr 0x232, 8 /* IBAT5U */ [all …]
|
D | gamecube-head.S | 48 mtspr 0x210, 8 /* IBAT0U */ 49 mtspr 0x212, 8 /* IBAT1U */ 50 mtspr 0x214, 8 /* IBAT2U */ 51 mtspr 0x216, 8 /* IBAT3U */ 52 mtspr 0x218, 8 /* DBAT0U */ 53 mtspr 0x21a, 8 /* DBAT1U */ 54 mtspr 0x21c, 8 /* DBAT2U */ 55 mtspr 0x21e, 8 /* DBAT3U */ 59 mtspr 0x211, 9 /* IBAT0L */ 60 mtspr 0x210, 8 /* IBAT0U */ [all …]
|
D | reg.h | 25 #define mtspr(rn, v) asm volatile("mtspr " __stringify(rn) ",%0" : : "r" (v)) macro
|
D | 4xx.c | 471 mtspr(SPRN_CCR1, ccr1); in __ibm440eplike_fixup_clocks()
|
/linux-4.4.14/arch/powerpc/platforms/83xx/ |
D | suspend-asm.S | 232 mtspr SPRN_DBAT0L, r4 235 mtspr SPRN_DBAT0U, r4 242 mtspr SPRN_DBAT1L, r4 245 mtspr SPRN_DBAT1U, r4 254 mtspr SPRN_DBAT2L, r4 257 mtspr SPRN_DBAT2U, r4 272 mtspr SPRN_HID0, r3 340 mtspr SPRN_HID0, r5 390 mtspr SPRN_HID0, r5 391 mtspr SPRN_HID1, r6 [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | fsl_booke_entry_mapping.S | 10 mtspr SPRN_MAS6,r7 24 mtspr SPRN_MAS6,r7 32 mtspr SPRN_MAS6,r7 41 mtspr SPRN_MAS1,r7 50 mtspr SPRN_MAS0,r7 56 mtspr SPRN_MAS1,r7 77 mtspr SPRN_MAS0,r7 104 mtspr SPRN_MAS0,r7 109 mtspr SPRN_MAS1,r6 113 mtspr SPRN_MAS2,r7 [all …]
|
D | head_32.S | 42 mtspr SPRN_IBAT##n##U,RA; \ 43 mtspr SPRN_DBAT##n##U,RA; \ 46 mtspr SPRN_IBAT##n##U,RA; \ 47 mtspr SPRN_IBAT##n##L,RB; \ 51 mtspr SPRN_DBAT##n##U,RA; \ 52 mtspr SPRN_DBAT##n##L,RB; \ 207 mtspr SPRN_SRR1,r0 210 mtspr SPRN_SRR0,r0 250 mtspr SPRN_SPRG_SCRATCH0,r10; \ 251 mtspr SPRN_SPRG_SCRATCH1,r11; \ [all …]
|
D | cpu_setup_power.S | 29 mtspr SPRN_LPID,r0 42 mtspr SPRN_LPID,r0 57 mtspr SPRN_LPID,r0 76 mtspr SPRN_LPID,r0 120 mtspr SPRN_LPCR,r3 127 mtspr SPRN_FSCR,r3 134 mtspr SPRN_HFSCR,r3 165 mtspr SPRN_MMCRC,r5 166 mtspr SPRN_MMCRH,r5 171 mtspr SPRN_MMCRS,r5 [all …]
|
D | head_8xx.S | 45 mtspr spr, reg 48 mtspr spr, reg 117 mtspr SPRN_SRR1,r0 120 mtspr SPRN_SRR0,r0 137 mtspr SPRN_SPRG_SCRATCH0,r10; \ 138 mtspr SPRN_SPRG_SCRATCH1,r11 238 mtspr SPRN_DAR,r5 /* Tag DAR, to be used in DTLB Error */ 266 mtspr SPRN_DAR,r5 /* Tag DAR, to be used in DTLB Error */ 325 mtspr SPRN_SPRG_SCRATCH2, r3 389 mtspr SPRN_SPRG_SCRATCH2, r3 [all …]
|
D | head_40x.S | 74 mtspr SPRN_SRR1,r0 77 mtspr SPRN_SRR0,r0 108 mtspr SPRN_SPRG_SCRATCH0,r10; /* save two registers to work with */\ 109 mtspr SPRN_SPRG_SCRATCH1,r11; \ 110 mtspr SPRN_SPRG_SCRATCH2,r1; \ 263 mtspr SPRN_SPRG_SCRATCH0, r10 /* Save some working registers */ 264 mtspr SPRN_SPRG_SCRATCH1, r11 273 mtspr SPRN_SPRG_SCRATCH3, r12 274 mtspr SPRN_SPRG_SCRATCH4, r9 277 mtspr SPRN_SPRG_SCRATCH6, r11 [all …]
|
D | cpu_setup_ppc970.S | 34 mtspr SPRN_HID4,r3 40 mtspr SPRN_HID5,r3 49 mtspr SPRN_HID1,r0 50 mtspr SPRN_HID1,r0 56 mtspr SPRN_HIOR,0 /* Clear interrupt prefix */ 102 mtspr SPRN_HID0,r0 117 mtspr SPRN_HID4,r0 161 mtspr SPRN_HID4,r3 168 mtspr SPRN_HIOR,0 175 mtspr SPRN_HID0,r3 [all …]
|
D | l2cr_6xx.S | 130 mtspr SPRN_HID0,r4 /* Disable DPM */ 168 mtspr SPRN_MSSCR0,r4 208 mtspr SPRN_L2CR,r3 221 mtspr SPRN_L2CR,r3 241 mtspr SPRN_L2CR,r3 250 mtspr SPRN_L2CR,r3 258 mtspr SPRN_MSSCR0,r3 266 mtspr 1008,r8 339 mtspr SPRN_L3CR,r3 343 mtspr SPRN_L3CR,r3 [all …]
|
D | head_fsl_booke.S | 186 mtspr SPRN_IVPR,r4 193 mtspr SPRN_MAS4, r2 199 mtspr SPRN_HID0, r2 208 mtspr SPRN_DBCR0,r2 212 mtspr SPRN_DBSR,r2 236 mtspr SPRN_SPRG_THREAD,r4 295 mtspr SPRN_SRR0,r4 296 mtspr SPRN_SRR1,r3 441 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */ 467 mtspr SPRN_MAS1,r12 [all …]
|
D | head_44x.S | 108 mtspr SPRN_SPRG_THREAD,r4 221 mtspr SPRN_MCSR,r0 228 mtspr SPRN_SRR0,r4 229 mtspr SPRN_SRR1,r3 308 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */ 309 mtspr SPRN_SPRG_WSCRATCH1, r11 310 mtspr SPRN_SPRG_WSCRATCH2, r12 311 mtspr SPRN_SPRG_WSCRATCH3, r13 313 mtspr SPRN_SPRG_WSCRATCH4, r11 341 mtspr SPRN_MMUCR,r12 [all …]
|
D | swsusp_booke.S | 153 mtspr SPRN_SPRG0,r4 155 mtspr SPRN_SPRG1,r4 157 mtspr SPRN_SPRG2,r4 159 mtspr SPRN_SPRG3,r4 161 mtspr SPRN_SPRG4,r4 163 mtspr SPRN_SPRG5,r4 165 mtspr SPRN_SPRG6,r4 167 mtspr SPRN_SPRG7,r4 175 mtspr SPRN_TBWL,r3 178 mtspr SPRN_TBWU,r3 [all …]
|
D | exceptions-64e.S | 98 mtspr SPRN_SPRG_TLB_EXFRAME,r10 132 mtspr SPRN_MAS5,r10 133 mtspr SPRN_MAS8,r10 162 mtspr SPRN_SPRG_TLB_EXFRAME,r10 183 mtspr SPRN_SRR0,r10 185 mtspr SPRN_SRR1,r10 187 mtspr SPRN_SPRG_GEN_SCRATCH,r10 189 mtspr SPRN_SPRG_TLB_SCRATCH,r10 191 mtspr SPRN_MAS0,r10 193 mtspr SPRN_MAS1,r10 [all …]
|
D | cpu_setup_6xx.S | 24 mtspr SPRN_SPRG_603_LRU,r10 /* init SW LRU tracking */ 76 mtspr SPRN_L2CR2,r3 95 mtspr SPRN_HID0,r8 /* enable and invalidate caches */ 97 mtspr SPRN_HID0,r11 /* enable caches */ 110 mtspr SPRN_HID0,r8 /* flush branch target address cache */ 112 mtspr SPRN_HID0,r11 153 mtspr SPRN_MSSSR0,r11 177 mtspr SPRN_ICTC,r3 /* Instruction Cache Throttling off */ 179 mtspr SPRN_HID0,r11 258 mtspr SPRN_ICTC,r3 /* Instruction Cache Throttling off */ [all …]
|
D | swsusp_32.S | 284 mtspr SPRN_DBAT4U,r4 285 mtspr SPRN_DBAT4L,r4 286 mtspr SPRN_DBAT5U,r4 287 mtspr SPRN_DBAT5L,r4 288 mtspr SPRN_DBAT6U,r4 289 mtspr SPRN_DBAT6L,r4 290 mtspr SPRN_DBAT7U,r4 291 mtspr SPRN_DBAT7L,r4 292 mtspr SPRN_IBAT4U,r4 293 mtspr SPRN_IBAT4L,r4 [all …]
|
D | idle_power7.S | 147 mtspr SPRN_SRR0, r7 148 mtspr SPRN_SRR1, r5 357 mtspr SPRN_SDR1,r4 359 mtspr SPRN_RPR,r4 361 mtspr SPRN_AMOR,r4 400 mtspr SPRN_TSCR,r4 402 mtspr SPRN_WORC,r4 438 mtspr SPRN_SPURR,r4 440 mtspr SPRN_PURR,r4 442 mtspr SPRN_DSCR,r4 [all …]
|
D | entry_32.S | 162 mtspr SPRN_DBSR,r12 173 mtspr SPRN_DBCR0,r12 204 mtspr SPRN_SRR0,r12 205 mtspr SPRN_SRR1,r10 250 mtspr SPRN_SRR0,r11 251 mtspr SPRN_SRR1,r10 289 mtspr SPRN_SRR0,r9 290 mtspr SPRN_SRR1,r10 409 mtspr SPRN_SRR0,r7 410 mtspr SPRN_SRR1,r8 [all …]
|
D | cpu_setup_fsl_booke.S | 28 mtspr SPRN_L1CSR1, r0 /* Enable I-Cache */ 39 mtspr SPRN_L1CSR0, r0 /* Disable */ 43 mtspr SPRN_L1CSR0, r0 /* Invalidate */ 52 mtspr SPRN_L1CSR0, r0 /* Enable */ 71 mtspr SPRN_PWRMGTCR0, r3 90 mtspr SPRN_PWRMGTCR0, r3 119 mtspr SPRN_HID0,r3 135 mtspr SPRN_HID1,r3
|
D | misc_64.S | 266 mtspr SPRN_HID4,r5 281 mtspr SPRN_HID4,r5 307 mtspr SPRN_HID4,r5 313 mtspr SPRN_HID4,r6 338 mtspr SPRN_HID4,r5 344 mtspr SPRN_HID4,r6 416 mtspr SPRN_SCOMC,r3 448 mtspr SPRN_SCOMD,r4 /* write data */ 450 mtspr SPRN_SCOMC,r3 /* write command */ 529 mtspr SPRN_MAS0,r9 [all …]
|
D | idle_6xx.S | 36 mtspr SPRN_HID0, r4 100 mtspr SPRN_MSSCR0,r4 118 mtspr SPRN_HID1,r4 133 mtspr SPRN_HID0,r4 176 mtspr SPRN_MSSCR0, r9 184 mtspr SPRN_HID1, r9
|
D | head_booke.h | 14 mtspr SPRN_IVOR##vector_number,r26; \ 35 mtspr SPRN_SPRG_WSCRATCH0, r10; /* save one register */ \ 121 mtspr SPRN_SPRG_WSCRATCH_##exc_level,r8; \ 186 mtspr SPRN_SPRG_WSCRATCH0, r10; /* save one register */ \ 297 mtspr SPRN_DBSR,r10; \ 303 mtspr SPRN_DSRR0,r12; \ 304 mtspr SPRN_DSRR1,r9; \ 307 mtspr SPRN_SPRG_WSCRATCH_DBG,r8; \ 350 mtspr SPRN_DBSR,r10; \ 356 mtspr SPRN_CSRR0,r12; \ [all …]
|
D | tau_6xx.c | 59 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TIE | THRM1_TID); in set_thresholds() 64 mtspr (SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | THRM1_TIE); in set_thresholds() 67 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TID); in set_thresholds() 68 mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V); in set_thresholds() 185 mtspr(SPRN_THRM3, THRM3_SITV(500*60) | THRM3_E); in tau_timeout()
|
D | misc_32.S | 187 mtspr SPRN_HID0,r5 197 mtspr SPRN_HID1,r4 212 mtspr SPRN_HID0,r5 231 mtspr SPRN_HID1,r4 303 mtspr SPRN_IC_CST, r5 321 mtspr SPRN_L1CSR0,r3 327 mtspr SPRN_L1CSR1,r3 336 mtspr SPRN_HID0,r3 773 mtspr SPRN_PID, r3 779 mtspr SPRN_MMUCR,r3 [all …]
|
D | tm.S | 69 mtspr SPRN_TFHAR, r0 71 mtspr SPRN_TEXASR, r0 73 mtspr SPRN_TFIAR, r0 297 mtspr SPRN_DSCR, r0 367 mtspr SPRN_VRSAVE, r5 394 mtspr SPRN_TAR, r4 415 mtspr SPRN_DSCR, r5 416 mtspr SPRN_PPR, r6 477 mtspr SPRN_DSCR, r0
|
D | entry_64.S | 232 mtspr SPRN_SRR0,r7 233 mtspr SPRN_SRR1,r8 354 mtspr SPRN_SRR0, r11 355 mtspr SPRN_SRR1, r12 583 mtspr SPRN_BESCR, r0 585 mtspr SPRN_EBBHR, r0 587 mtspr SPRN_EBBRR, r0 590 mtspr SPRN_TAR,r0 597 mtspr SPRN_VRSAVE,r0 /* if G4, restore VRSAVE reg */ 611 mtspr SPRN_FSCR, r8 [all …]
|
D | exceptions-64s.S | 46 mtspr SPRN_SRR0,r10 ; \ 48 mtspr SPRN_SRR1,r10 ; \ 56 mtspr SPRN_SRR1,r12 ; \ 120 mtspr SPRN_HSPRG0,r13 417 mtspr SPRN_SPRG_HSCRATCH0,r13 508 1: mtspr SPRN_SRR0,r12 509 mtspr SPRN_SRR1,r11 592 mtspr SPRN_HSRR0,r11 598 mtspr SPRN_CFAR,r10 654 mtspr SPRN_DEC,r10; \ [all …]
|
D | cpu_setup_pa6t.S | 38 mtspr SPRN_HID5,r0 42 mtspr SPRN_LPCR,r0
|
D | head_64.S | 190 mtspr SPRN_BUCSR,r3 217 mtspr SPRN_PIR, r3 294 mtspr SPRN_SPRG_TLB_EXFRAME,r12 346 mtspr SPRN_SRR0,r4 347 mtspr SPRN_SRR1,r3 610 mtspr SPRN_HID4,r3 702 mtspr SPRN_SRR0,r3 703 mtspr SPRN_SRR1,r4 842 mtspr SPRN_SRR0,r3 843 mtspr SPRN_SRR1,r4
|
D | process.c | 391 mtspr(SPRN_IAC1, debug->iac1); in prime_debug_regs() 392 mtspr(SPRN_IAC2, debug->iac2); in prime_debug_regs() 394 mtspr(SPRN_IAC3, debug->iac3); in prime_debug_regs() 395 mtspr(SPRN_IAC4, debug->iac4); in prime_debug_regs() 397 mtspr(SPRN_DAC1, debug->dac1); in prime_debug_regs() 398 mtspr(SPRN_DAC2, debug->dac2); in prime_debug_regs() 400 mtspr(SPRN_DVC1, debug->dvc1); in prime_debug_regs() 401 mtspr(SPRN_DVC2, debug->dvc2); in prime_debug_regs() 403 mtspr(SPRN_DBCR0, debug->dbcr0); in prime_debug_regs() 404 mtspr(SPRN_DBCR1, debug->dbcr1); in prime_debug_regs() [all …]
|
D | pmc.c | 34 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); in dummy_perf() 36 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_PMXE); in dummy_perf()
|
D | paca.c | 190 mtspr(SPRN_SPRG_TLB_EXFRAME, local_paca->extlb); in setup_paca() 197 mtspr(SPRN_SPRG_HPACA, local_paca); in setup_paca() 199 mtspr(SPRN_SPRG_PACA, local_paca); in setup_paca()
|
D | traps.c | 408 mtspr(SPRN_ESR, reason & ~ESR_IMCP); in machine_check_4xx() 423 mtspr(SPRN_ESR, reason & ~ESR_IMCP); in machine_check_440A() 447 mtspr(SPRN_MCSR, mcsr); in machine_check_440A() 461 mtspr(SPRN_ESR, reason & ~ESR_IMCP); in machine_check_47x() 487 mtspr(SPRN_MCSR, mcsr); in machine_check_47x() 516 mtspr(SPRN_L1CSR1, mfspr(SPRN_L1CSR1) | L1CSR1_ICFI); in machine_check_e500mc() 587 mtspr(SPRN_MCSR, mcsr); in machine_check_e500mc() 1093 mtspr(SPRN_DSCR, current->thread.dscr); in emulate_instruction() 1421 mtspr(SPRN_FSCR, value | FSCR_DSCR); in facility_unavailable_exception() 1639 mtspr(SPRN_DBCR0, current->thread.debug.dbcr0); in handle_debug() [all …]
|
D | sysfs.c | 140 mtspr(SPRN_PWRMGTCR0, pw20_state); in do_store_pw20_state() 207 mtspr(SPRN_PWRMGTCR0, pw20_idle); in set_pw20_wait_entry_bit() 262 mtspr(SPRN_PWRMGTCR0, altivec_idle); in do_store_altivec_idle() 329 mtspr(SPRN_PWRMGTCR0, altivec_idle); in set_altivec_idle_wait_entry_bit() 415 mtspr(ADDRESS, *(unsigned long *)val); \ 532 mtspr(SPRN_DSCR, *(unsigned long *)val); in write_dscr()
|
D | cpu_setup_44x.S | 55 mtspr SPRN_CCR0,r3
|
D | swsusp_asm64.S | 61 mtspr SPRN_##register, r0 249 mtspr SPRN_TSR, r0
|
D | idle_e500.S | 67 mtspr SPRN_HID0,r4
|
D | time.c | 690 mtspr(SPRN_TSR, TSR_ENW | TSR_WIS | TSR_DIS | TSR_FIS); in start_cpu_decrementer() 693 mtspr(SPRN_TCR, TCR_DIE); in start_cpu_decrementer()
|
D | kgdb.c | 429 mtspr(SPRN_DBCR0, in kgdb_arch_handle_exception()
|
D | signal_64.c | 386 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_sigcontext() 520 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_tm_sigcontexts()
|
D | setup_64.c | 221 mtspr(SPRN_LPCR, lpcr | LPCR_AIL_3); in cpu_ready_for_interrupts()
|
D | vector.S | 129 mtspr SPRN_VRSAVE,r4
|
D | signal_32.c | 718 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_user_regs() 834 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_tm_user_regs()
|
D | vdso.c | 706 mtspr(SPRN_SPRG_VDSO_WRITE, val); in vdso_getcpu_init()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | subcore-asm.S | 40 mtspr SPRN_SRR0,r4 41 mtspr SPRN_SRR1,r5 75 mtspr SPRN_LPID, r4 76 mtspr SPRN_PCR, r4 77 mtspr SPRN_HDEC, r4 80 mtspr SPRN_LDBAR, r6 81 mtspr SPRN_PMMAR, r7 82 mtspr SPRN_PMCR, r8 83 mtspr SPRN_RPR, r9 84 mtspr SPRN_SDR1, r10 [all …]
|
D | opal-wrappers.S | 78 mtspr SPRN_HSRR1,r12; \ 82 mtspr SPRN_HSRR0,r12; \ 97 mtspr SPRN_SRR0,r5; 98 mtspr SPRN_SRR1,r6; 141 mtspr SPRN_HSRR1,r12 145 mtspr SPRN_HSRR0,r12 182 mtspr SPRN_HSRR1,r12 186 mtspr SPRN_HSRR0,r12
|
D | smp.c | 173 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1); in pnv_smp_cpu_kill_self() 234 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_PECE1); in pnv_smp_cpu_kill_self()
|
/linux-4.4.14/arch/powerpc/platforms/powermac/ |
D | cache.S | 63 mtspr SPRN_HID0,r4 /* Disable DPM */ 91 mtspr SPRN_HID0,r3 97 mtspr SPRN_HID0,r3 99 mtspr SPRN_HID0,r3 109 1: mtspr SPRN_L2CR,r3 143 1: mtspr SPRN_L2CR,r5 155 mtspr SPRN_L2CR,r4 167 mtspr SPRN_L2CR,r4 173 mtspr SPRN_HID0,r0 181 mtspr SPRN_HID0,r0 [all …]
|
D | sleep.S | 193 mtspr SPRN_HID0,r2 225 mtspr SPRN_HID0,r3 329 mtspr SPRN_DBAT4U,r4 330 mtspr SPRN_DBAT4L,r4 331 mtspr SPRN_DBAT5U,r4 332 mtspr SPRN_DBAT5L,r4 333 mtspr SPRN_DBAT6U,r4 334 mtspr SPRN_DBAT6L,r4 335 mtspr SPRN_DBAT7U,r4 336 mtspr SPRN_DBAT7L,r4 [all …]
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_hv_rmhandlers.S | 72 mtspr SPRN_DABR,r5 73 mtspr SPRN_DABRX,r6 78 mtspr SPRN_SPRG_VDSO_WRITE,r3 97 mtspr SPRN_PMC1, r3 98 mtspr SPRN_PMC2, r4 99 mtspr SPRN_PMC3, r5 100 mtspr SPRN_PMC4, r6 101 mtspr SPRN_PMC5, r8 102 mtspr SPRN_PMC6, r9 108 mtspr SPRN_MMCR1, r4 [all …]
|
D | e500mc.c | 76 mtspr(SPRN_MAS6, val); in kvmppc_e500_tlbil_one() 77 mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); in kvmppc_e500_tlbil_one() 82 mtspr(SPRN_MAS1, val & ~MAS1_VALID); in kvmppc_e500_tlbil_one() 85 mtspr(SPRN_MAS5, 0); in kvmppc_e500_tlbil_one() 87 mtspr(SPRN_MAS8, 0); in kvmppc_e500_tlbil_one() 98 mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); in kvmppc_e500_tlbil_all() 100 mtspr(SPRN_MAS5, 0); in kvmppc_e500_tlbil_all() 122 mtspr(SPRN_LPID, get_lpid(vcpu)); in kvmppc_core_vcpu_load_e500mc() 123 mtspr(SPRN_EPCR, vcpu->arch.shadow_epcr); in kvmppc_core_vcpu_load_e500mc() 124 mtspr(SPRN_GPIR, vcpu->vcpu_id); in kvmppc_core_vcpu_load_e500mc() [all …]
|
D | book3s_32_sr.S | 64 mtspr SPRN_IBAT##n##U,reg; \ 65 mtspr SPRN_IBAT##n##L,reg; \ 66 mtspr SPRN_DBAT##n##U,reg; \ 67 mtspr SPRN_DBAT##n##L,reg; \ 106 mtspr SPRN_IBAT##n##U,RA; \ 107 mtspr SPRN_IBAT##n##L,RB; \ 110 mtspr SPRN_DBAT##n##U,RA; \ 111 mtspr SPRN_DBAT##n##L,RB; \
|
D | e500_mmu_host.c | 78 mtspr(SPRN_MAS0, mas0); in __write_host_tlbe() 79 mtspr(SPRN_MAS1, stlbe->mas1); in __write_host_tlbe() 80 mtspr(SPRN_MAS2, (unsigned long)stlbe->mas2); in __write_host_tlbe() 81 mtspr(SPRN_MAS3, (u32)stlbe->mas7_3); in __write_host_tlbe() 82 mtspr(SPRN_MAS7, (u32)(stlbe->mas7_3 >> 32)); in __write_host_tlbe() 84 mtspr(SPRN_MAS8, MAS8_TGS | get_thread_specific_lpid(lpid)); in __write_host_tlbe() 90 mtspr(SPRN_MAS8, 0); in __write_host_tlbe() 114 mtspr(SPRN_MAS6, 0); in get_host_mas0() 116 mtspr(SPRN_MAS4, mas4 & ~MAS4_TLBSEL_MASK); in get_host_mas0() 119 mtspr(SPRN_MAS4, mas4); in get_host_mas0() [all …]
|
D | booke_interrupts.S | 58 mtspr \scratch , r4 84 mtspr \scratch, r4 95 mtspr SPRN_CSRR1, r4 98 mtspr SPRN_DBSR, r4 235 mtspr SPRN_PID, r3 240 mtspr SPRN_PID1, r3 246 mtspr SPRN_IVPR, r3 297 mtspr SPRN_SPEFSCR, r9 410 mtspr SPRN_SPEFSCR, r3 419 mtspr SPRN_PID, r3 [all …]
|
D | bookehv_interrupts.S | 85 mtspr SPRN_PID, r8 401 mtspr SPRN_SPRG_VDSO_WRITE, r3 425 mtspr SPRN_MAS4, r6 427 mtspr SPRN_MAS6, r8 431 mtspr SPRN_EPCR, r3 597 mtspr SPRN_PID, r3 603 mtspr SPRN_EPCR, r3 615 mtspr SPRN_MAS0, r3 616 mtspr SPRN_MAS1, r5 617 mtspr SPRN_MAS2, r6 [all …]
|
D | book3s_hv_interrupts.S | 77 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */ 83 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable interrupts */ 87 mtspr SPRN_MMCRA, r5 126 mtspr SPRN_HDEC,r8
|
D | book3s_segment.S | 99 mtspr SPRN_FSCR, r9 116 mtspr SPRN_HID5,r0 323 mtspr SPRN_HID5,r5 336 mtspr SPRN_FSCR, r8 373 mtspr SPRN_HSRR1, r6 374 mtspr SPRN_HSRR0, r8
|
D | book3s_rmhandlers.S | 54 mtspr SPRN_SPRG_SCRATCH0, r13 /* Save r13 */ 65 mtspr SPRN_SPRG_SCRATCH1, r12 /* Save r12 */
|
D | booke_emulate.c | 311 mtspr(SPRN_GIVPR, spr_val); in kvmppc_booke_emulate_mtspr() 323 mtspr(SPRN_GIVOR2, spr_val); in kvmppc_booke_emulate_mtspr() 344 mtspr(SPRN_GIVOR8, spr_val); in kvmppc_booke_emulate_mtspr() 375 mtspr(SPRN_EPCR, vcpu->arch.shadow_epcr); in kvmppc_booke_emulate_mtspr()
|
D | book3s_interrupts.S | 132 mtspr SPRN_SPRG3, r3 180 mtspr SPRN_SPRG_VDSO_WRITE, r3
|
D | booke.h | 127 mtspr(SPRN_DBSR, mfspr(SPRN_DBSR)); in kvmppc_clear_dbsr()
|
D | book3s_hv_rm_xics.c | 65 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_MER); in icp_rm_set_vcpu_irq() 86 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_MER); in icp_rm_clr_vcpu_irq()
|
D | e500.c | 278 mtspr(SPRN_MAS6, val); in kvmppc_e500_tlbil_one() 282 mtspr(SPRN_MAS1, val & ~MAS1_VALID); in kvmppc_e500_tlbil_one()
|
D | book3s_pr.c | 107 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_AIL); in kvmppc_core_vcpu_load_pr() 139 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_AIL_3); in kvmppc_core_vcpu_put_pr() 475 mtspr(SPRN_HID2_GEKKO, mfspr(SPRN_HID2_GEKKO) | (1 << 29)); in kvmppc_set_pvr_pr() 702 mtspr(SPRN_TAR, current->thread.tar); in kvmppc_giveup_fac() 860 mtspr(SPRN_TAR, vcpu->arch.tar); in kvmppc_handle_fac()
|
D | powerpc.c | 707 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvm_arch_vcpu_load()
|
D | book3s_hv.c | 2371 mtspr(SPRN_HID0, hid0); in kvmppc_run_core() 2458 mtspr(SPRN_HID0, hid0); in kvmppc_run_core()
|
D | booke.c | 1412 mtspr(SPRN_DBSR, DBSR_MRR); in kvmppc_subarch_vcpu_init()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | tlb_nohash_low.S | 50 mtspr SPRN_PID,r4 52 mtspr SPRN_PID,r6 94 mtspr SPRN_MMUCR,r5 203 mtspr SPRN_MMUCR,r5 256 mtspr SPRN_MMUCSR0, r3 274 mtspr SPRN_MAS6,r3 276 mtspr SPRN_MAS6,r4 /* restore MAS6 */ 280 mtspr SPRN_MMUCSR0, r3 299 mtspr SPRN_MAS6,r4 /* assume AS=0 for now */ 306 mtspr SPRN_MAS1,r4 [all …]
|
D | tlb_low_64e.S | 51 mtspr SPRN_SPRG_GEN_SCRATCH,r12 201 mtspr SPRN_MAS2,r11 210 mtspr SPRN_MAS7_MAS3,r15 226 mtspr SPRN_MAS1,r10 350 mtspr SPRN_MAS0,r10 360 mtspr SPRN_MAS5,r10 367 mtspr SPRN_MAS6,r15 374 mtspr SPRN_MAS6,r10 379 mtspr SPRN_MAS8,r10 380 mtspr SPRN_MAS5,r10 [all …]
|
D | hugetlbpage-book3e.c | 58 mtspr(SPRN_MAS6, pid << 16); in book3e_tlb_exists() 120 mtspr(SPRN_MAS0, MAS0_ESEL(index) | MAS0_TLBSEL(1)); in book3e_hugetlb_preload() 131 mtspr(SPRN_MAS1, mas1); in book3e_hugetlb_preload() 132 mtspr(SPRN_MAS2, mas2); in book3e_hugetlb_preload() 135 mtspr(SPRN_MAS7_MAS3, mas7_3); in book3e_hugetlb_preload() 138 mtspr(SPRN_MAS7, upper_32_bits(mas7_3)); in book3e_hugetlb_preload() 139 mtspr(SPRN_MAS3, lower_32_bits(mas7_3)); in book3e_hugetlb_preload()
|
D | 40x_mmu.c | 73 mtspr(SPRN_ZPR, 0x10000000); in MMU_init_hw() 82 mtspr(SPRN_DCWR, 0x00000000); /* All caching is write-back */ in MMU_init_hw() 89 mtspr(SPRN_DCCR, 0xFFFF0000); /* 2GByte of data space at 0x0. */ in MMU_init_hw() 90 mtspr(SPRN_ICCR, 0xFFFF0000); /* 2GByte of instr. space at 0x0. */ in MMU_init_hw()
|
D | icswx.c | 71 mtspr(SPRN_PID, next->context.cop_pid); in switch_cop() 73 mtspr(SPRN_ACOP, next->context.acop); in switch_cop()
|
D | 44x_mmu.c | 73 mtspr(SPRN_MMUCR, 0); in ppc44x_pin_tlb() 155 mtspr(SPRN_MMUCR, 0); in ppc47x_pin_tlb()
|
D | tlb_nohash.c | 627 mtspr(SPRN_MAS4, mas4); in early_init_this_mmu()
|
D | hash_utils_64.c | 741 mtspr(SPRN_SDR1, _SDR1); in htab_initialize() 842 mtspr(SPRN_SDR1, _SDR1); in early_init_mmu_secondary()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | oprofile_impl.h | 103 mtspr(SPRN_PMC1, val); in classic_ctr_write() 106 mtspr(SPRN_PMC2, val); in classic_ctr_write() 109 mtspr(SPRN_PMC3, val); in classic_ctr_write() 112 mtspr(SPRN_PMC4, val); in classic_ctr_write() 115 mtspr(SPRN_PMC5, val); in classic_ctr_write() 118 mtspr(SPRN_PMC6, val); in classic_ctr_write() 124 mtspr(SPRN_PMC7, val); in classic_ctr_write() 127 mtspr(SPRN_PMC8, val); in classic_ctr_write()
|
D | time.h | 141 mtspr(SPRN_TBWL, 0); in set_tb() 142 mtspr(SPRN_TBWU, upper); in set_tb() 143 mtspr(SPRN_TBWL, lower); in set_tb() 169 mtspr(SPRN_PIT, val); in set_dec() 176 mtspr(SPRN_DEC, val); in set_dec()
|
D | exception-64e.h | 99 mtspr SPRN_SPRG_TLB_SCRATCH,r12; \ 115 mtspr SPRN_SPRG_TLB_EXFRAME,r14; \ 142 mtspr SPRN_SPRG_TLB_EXFRAME,freg; \ 147 mtspr SPRN_SRR0,r15; \ 149 mtspr SPRN_SRR1,r16; \ 210 mtspr SPRN_IVOR##vector_number,r3;
|
D | reg.h | 982 mtspr SPRN_SPRG_PACA,rX; \ 984 mtspr SPRN_SPRG_HPACA,rX; \ 996 mtspr SPRN_SPRG_SCRATCH0,rX; \ 998 mtspr SPRN_SPRG_HSCRATCH0,rX; \ 1003 #define SET_SCRATCH0(rX) mtspr SPRN_SPRG_SCRATCH0,rX 1018 #define SET_PACA(rX) mtspr SPRN_SPRG_PACA,rX 1206 #define mtspr(rn, v) asm volatile("mtspr " __stringify(rn) ",%0" : \ macro
|
D | probes.h | 58 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); in enable_single_step()
|
D | exception-64s.h | 129 mtspr SPRN_PPR,ra; \ 154 mtspr spr,ra; \ 191 mtspr SPRN_##h##SRR0,r12; \ 193 mtspr SPRN_##h##SRR1,r10; \
|
D | kvm_ppc.h | 476 mtspr(SPRN_GEPR, epr); in kvmppc_set_epr() 562 mtspr(bookehv_spr, val); \
|
/linux-4.4.14/arch/powerpc/oprofile/ |
D | op_model_pa6t.c | 66 mtspr(SPRN_PA6T_PMC0, val); in ctr_write() 69 mtspr(SPRN_PA6T_PMC1, val); in ctr_write() 72 mtspr(SPRN_PA6T_PMC2, val); in ctr_write() 75 mtspr(SPRN_PA6T_PMC3, val); in ctr_write() 78 mtspr(SPRN_PA6T_PMC4, val); in ctr_write() 81 mtspr(SPRN_PA6T_PMC5, val); in ctr_write() 149 mtspr(SPRN_PA6T_MMCR0, mmcr0); in pa6t_cpu_setup() 152 mtspr(SPRN_PA6T_MMCR1, mmcr1); in pa6t_cpu_setup() 175 mtspr(SPRN_PA6T_MMCR0, mmcr0); in pa6t_start() 191 mtspr(SPRN_PA6T_MMCR0, mmcr0); in pa6t_stop() [all …]
|
D | op_model_power4.c | 182 mtspr(SPRN_MMCR0, mmcr0); in power4_cpu_setup() 186 mtspr(SPRN_MMCR0, mmcr0); in power4_cpu_setup() 188 mtspr(SPRN_MMCR1, mmcr1_val); in power4_cpu_setup() 192 mtspr(SPRN_MMCRA, mmcra); in power4_cpu_setup() 234 mtspr(SPRN_MMCR0, mmcr0); in power4_start() 249 mtspr(SPRN_MMCR0, mmcr0); in power4_stop() 425 mtspr(SPRN_MMCRA, mmcra); in power4_handle_interrupt() 433 mtspr(SPRN_MMCR0, mmcr0); in power4_handle_interrupt()
|
D | op_model_7450.c | 66 mtspr(SPRN_MMCR0, mmcr0); in pmc_start_ctrs() 77 mtspr(SPRN_MMCR0, mmcr0); in pmc_stop_ctrs() 87 mtspr(SPRN_MMCR0, mmcr0_val); in fsl7450_cpu_setup() 88 mtspr(SPRN_MMCR1, mmcr1_val); in fsl7450_cpu_setup() 90 mtspr(SPRN_MMCR2, mmcr2_val); in fsl7450_cpu_setup()
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb.c | 42 mtspr(SPRN_MMCR0, (val & ~mmcr0_clear_mask) | MMCR0_PMAE); in reset_ebb_with_clear_mask() 45 mtspr(SPRN_BESCRR, BESCR_PMEO); in reset_ebb_with_clear_mask() 48 mtspr(SPRN_BESCRS, BESCR_PME); in reset_ebb_with_clear_mask() 155 mtspr(SPRN_EBBHR, entry); in setup_ebb_handler() 298 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in ebb_freeze_pmcs() 305 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in ebb_unfreeze_pmcs() 312 mtspr(SPRN_BESCR, 0x8000000100000000ull); in ebb_global_enable() 319 mtspr(SPRN_BESCRR, BESCR_PME); in ebb_global_disable() 383 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in ebb_child() 441 mtspr(SPRN_PMC1, 0); in write_pmc1() [all …]
|
D | multi_counter_test.c | 58 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in multi_counter() 59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter() 60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter() 61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter() 62 mtspr(SPRN_PMC5, pmc_sample_period(sample_period)); in multi_counter() 63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
|
D | pmc56_overflow_test.c | 69 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in pmc56_overflow() 70 mtspr(SPRN_PMC5, 0); in pmc56_overflow() 71 mtspr(SPRN_PMC6, 0); in pmc56_overflow()
|
D | cycles_with_freeze_test.c | 74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_freeze() 84 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in cycles_with_freeze() 90 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in cycles_with_freeze()
|
D | reg_access_test.c | 24 mtspr(SPRN_BESCR, expected); in reg_access() 30 mtspr(SPRN_EBBHR, expected); in reg_access()
|
D | fork_cleanup_test.c | 60 mtspr(SPRN_MMCR0, MMCR0_FC); in fork_cleanup() 61 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in fork_cleanup()
|
D | instruction_count_test.c | 35 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in do_count_loop() 41 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in do_count_loop() 128 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in instruction_count()
|
D | lost_exception_test.c | 51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body() 79 mtspr(SPRN_PMC4, 0xdead); in test_body()
|
D | cycles_with_mmcr2_test.c | 46 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_mmcr2() 58 mtspr(SPRN_MMCR2, expected[i % 2]); in cycles_with_mmcr2()
|
D | close_clears_pmcc_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in close_clears_pmcc()
|
D | reg.h | 15 #define mtspr(rn, v) asm volatile("mtspr " __stringify(rn) ",%0" : \ macro
|
D | no_handler_test.c | 39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in no_handler_test()
|
D | cycles_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles()
|
D | pmae_handling_test.c | 77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in test_body()
|
D | multi_ebb_procs_test.c | 54 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_child()
|
D | back_to_back_ebbs_test.c | 84 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in back_to_back_ebbs()
|
/linux-4.4.14/drivers/irqchip/ |
D | irq-or1k-pic.c | 32 mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); in or1k_pic_mask() 37 mtspr(SPR_PICMR, mfspr(SPR_PICMR) | (1UL << data->hwirq)); in or1k_pic_unmask() 42 mtspr(SPR_PICSR, (1UL << data->hwirq)); in or1k_pic_ack() 47 mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); in or1k_pic_mask_ack() 48 mtspr(SPR_PICSR, (1UL << data->hwirq)); in or1k_pic_mask_ack() 59 mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq)); in or1k_pic_or1200_ack() 64 mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq)); in or1k_pic_or1200_mask_ack() 65 mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq)); in or1k_pic_or1200_mask_ack() 150 mtspr(SPR_PICMR, (0UL)); in or1k_pic_init()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | irqflags.h | 225 mtspr SPR_INTERRUPT_MASK_SET_K, tmp0 230 mtspr SPR_INTERRUPT_MASK_SET_K, tmp 237 mtspr SPR_INTERRUPT_MASK_RESET_K, tmp0 268 mtspr SPR_INTERRUPT_MASK_SET_K_0, tmp0; \ 271 mtspr SPR_INTERRUPT_MASK_SET_K_1, tmp1 276 mtspr SPR_INTERRUPT_MASK_SET_K_0, tmp; \ 277 mtspr SPR_INTERRUPT_MASK_SET_K_1, tmp 288 mtspr SPR_INTERRUPT_MASK_RESET_K_0, tmp0; \ 289 mtspr SPR_INTERRUPT_MASK_RESET_K_1, tmp1
|
/linux-4.4.14/arch/powerpc/perf/ |
D | core-book3s.c | 589 mtspr(SPRN_SIAR, current->thread.siar); in ebb_switch_in() 590 mtspr(SPRN_SIER, current->thread.sier); in ebb_switch_in() 591 mtspr(SPRN_SDAR, current->thread.sdar); in ebb_switch_in() 600 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in() 671 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround() 674 mtspr(SPRN_PMC6, 0x7FFFFFFE); in pmao_restore_workaround() 677 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround() 680 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); in pmao_restore_workaround() 682 mtspr(SPRN_PMC1, pmcs[0]); in pmao_restore_workaround() 683 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround() [all …]
|
D | power8-pmu.c | 694 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power8_config_bhrb()
|
/linux-4.4.14/arch/powerpc/platforms/86xx/ |
D | sbc8641d.c | 84 mtspr(SPRN_TBWL, 0); in mpc86xx_time_init() 85 mtspr(SPRN_TBWU, 0); in mpc86xx_time_init() 89 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
|
D | mpc86xx_hpcn.c | 119 mtspr(SPRN_TBWL, 0); in mpc86xx_time_init() 120 mtspr(SPRN_TBWU, 0); in mpc86xx_time_init() 124 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
|
D | gef_sbc310.c | 192 mtspr(SPRN_TBWL, 0); in mpc86xx_time_init() 193 mtspr(SPRN_TBWU, 0); in mpc86xx_time_init() 197 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
|
D | gef_sbc610.c | 182 mtspr(SPRN_TBWL, 0); in mpc86xx_time_init() 183 mtspr(SPRN_TBWU, 0); in mpc86xx_time_init() 187 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
|
D | gef_ppc9a.c | 205 mtspr(SPRN_TBWL, 0); in mpc86xx_time_init() 206 mtspr(SPRN_TBWU, 0); in mpc86xx_time_init() 210 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
|
D | mpc8610_hpcd.c | 335 mtspr(SPRN_TBWL, 0); in mpc86xx_time_init() 336 mtspr(SPRN_TBWU, 0); in mpc86xx_time_init() 340 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | dma.c | 47 mtspr(SPR_DCBFR, cl); in page_set_nocache() 150 mtspr(SPR_DCBFR, cl); in or1k_map_page() 156 mtspr(SPR_DCBIR, cl); in or1k_map_page() 217 mtspr(SPR_DCBIR, cl); in or1k_sync_single_for_cpu() 230 mtspr(SPR_DCBFR, cl); in or1k_sync_single_for_device()
|
D | time.c | 46 mtspr(SPR_TTMR, SPR_TTMR_CR | SPR_TTMR_IE | c); in openrisc_timer_set_next_event() 71 mtspr(SPR_TTMR, SPR_TTMR_CR); in timer_ack() 139 mtspr(SPR_TTMR, SPR_TTMR_CR); in openrisc_timer_init()
|
D | head.S | 200 l.mtspr r0,r30,SPR_ESR_BASE ;\ 203 l.mtspr r0,r30,SPR_EPCR_BASE ;\ 282 l.mtspr r0,r31,SPR_ESR_BASE ;\ 285 l.mtspr r0,r31,SPR_EPCR_BASE ;\ 453 l.mtspr r0,r3,SPR_SR 530 l.mtspr r5,r0,0x0 531 l.mtspr r6,r0,0x0 551 l.mtspr r0,r30,SPR_SR 650 l.mtspr r0,r5,SPR_SR 679 l.mtspr r0,r6,SPR_ICBIR [all …]
|
D | irq.c | 35 mtspr(SPR_SR, ((mfspr(SPR_SR) & ~(SPR_SR_IEE|SPR_SR_TEE)) | flags)); in arch_local_irq_restore()
|
D | entry.S | 36 l.mtspr r0,t2,SPR_SR 41 l.mtspr r0,t1,SPR_SR 55 l.mtspr r0,r3,SPR_EPCR_BASE ;\ 57 l.mtspr r0,r3,SPR_ESR_BASE ;\ 721 l.mtspr r0,r13,SPR_EPCR_BASE 722 l.mtspr r0,r15,SPR_ESR_BASE
|
/linux-4.4.14/arch/tile/lib/ |
D | atomic_asm_32.S | 127 mtspr INTERRUPT_CRITICAL_SECTION, zero 131 mtspr INTERRUPT_CRITICAL_SECTION, r24 144 5: mtspr INTERRUPT_CRITICAL_SECTION, zero 151 mtspr INTERRUPT_CRITICAL_SECTION, r24
|
/linux-4.4.14/arch/powerpc/platforms/52xx/ |
D | mpc52xx_sleep.S | 40 mtspr SPRN_HID0, r10 57 mtspr SPRN_HID0, r10 125 mtspr SPRN_SPRG0, r7 126 mtspr SPRN_SPRG1, r8
|
D | lite5200_sleep.S | 28 mtspr SPRN_##reg, r10; \ 97 mtspr SPRN_HID0, r3 209 mtspr SPRN_SRR1, r10 212 mtspr SPRN_SRR0, r10 228 mtspr SPRN_HID0, r5 /* invalidate caches */ 230 mtspr SPRN_HID0, r10 235 mtspr SPRN_HID0, r10 /* restore (enable caches, DPM) */
|
D | mpc52xx_pm.c | 126 mtspr(SPRN_DEC, 0x7fffffff); in mpc52xx_pm_enter() 148 mtspr(SPRN_HID0, (hid0 & ~(HID0_DOZE | HID0_NAP | HID0_DPM)) | HID0_SLEEP); in mpc52xx_pm_enter() 164 mtspr(SPRN_HID0, hid0); in mpc52xx_pm_enter()
|
/linux-4.4.14/drivers/watchdog/ |
D | booke_wdt.c | 115 mtspr(SPRN_TCR, val); in __booke_wdt_set() 125 mtspr(SPRN_TSR, TSR_ENW|TSR_WIS); in __booke_wdt_ping() 146 mtspr(SPRN_TCR, val); in __booke_wdt_enable() 163 mtspr(SPRN_TCR, val); in __booke_wdt_disable()
|
/linux-4.4.14/arch/tile/kernel/ |
D | entry.S | 56 mtspr INTERRUPT_CRITICAL_SECTION, r1 58 mtspr INTERRUPT_CRITICAL_SECTION, zero
|
D | intvec_64.S | 133 mtspr SPR_SYSTEM_SAVE_K_1, r3 237 mtspr SPR_EX_CONTEXT_0_1, zero 257 mtspr SPR_EX_CONTEXT_K_0, r2 271 mtspr SPR_EX_CONTEXT_0_0, r0 275 mtspr SPR_EX_CONTEXT_K_1, r1 312 mtspr SPR_SYSTEM_SAVE_K_1, r0 695 mtspr INTERRUPT_CRITICAL_SECTION, zero 967 mtspr INTERRUPT_CRITICAL_SECTION, r0 973 mtspr INTERRUPT_CRITICAL_SECTION, r0 986 mtspr SPR_INTERRUPT_MASK_RESET_K, r0 [all …]
|
D | intvec_32.S | 121 mtspr SPR_SYSTEM_SAVE_K_1, r0 552 mtspr INTERRUPT_CRITICAL_SECTION, zero 939 mtspr INTERRUPT_CRITICAL_SECTION, r0 944 mtspr INTERRUPT_CRITICAL_SECTION, r0 955 mtspr SPR_INTERRUPT_MASK_RESET_K_1, r0 998 mtspr SPR_EX_CONTEXT_K_0, r21 1002 mtspr SPR_EX_CONTEXT_K_1, lr 1678 mtspr SPR_EX_CONTEXT_K_0, r28 1696 mtspr SPR_EX_CONTEXT_K_0, r28 1813 mtspr SPR_EX_CONTEXT_K_0, r28
|
D | head_64.S | 141 mtspr SPR_INTERRUPT_VECTOR_BASE_K, r0 207 mtspr SPR_SYSTEM_SAVE_K_0, r4 /* save ksp0 + cpu */
|
D | head_32.S | 128 mtspr SPR_SYSTEM_SAVE_K_0, r4 /* save ksp0 + cpu */
|
D | regs_32.S | 88 mtspr SPR_SYSTEM_SAVE_K_0, r2
|
D | regs_64.S | 88 mtspr SPR_SYSTEM_SAVE_K_0, r2
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | 6xx-suspend.S | 25 mtspr SPRN_HID0, r5 49 mtspr SPRN_HID0, r5
|
D | ppc4xx_cpm.c | 220 mtspr(SPRN_TCR, tcr_save & ~TCR_DIE); in cpm_suspend_standby() 226 mtspr(SPRN_TCR, tcr_save); in cpm_suspend_standby()
|
D | ppc4xx_soc.c | 218 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | reset_type); in ppc4xx_reset_system()
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
D | pervasive.c | 67 mtspr(SPRN_TSC_CELL, thread_switch_control); in cbe_power_save() 81 mtspr(SPRN_CTRLT, ctrl); in cbe_power_save()
|
D | smp.c | 113 mtspr(SPRN_DABRX, DABRX_KERNEL | DABRX_USER); in smp_cell_setup_cpu()
|
D | setup.c | 221 mtspr(SPRN_DABRX, DABRX_KERNEL | DABRX_USER); in cell_set_dabrx()
|
D | ras.c | 341 mtspr(SPRN_HID0, hid0); in cbe_ras_init()
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
D | smp.c | 140 mtspr(SPRN_TCR, 0); in smp_85xx_mach_cpu_die() 144 mtspr(SPRN_HID0, tmp); in smp_85xx_mach_cpu_die() 186 mtspr(SPRN_TENS, TEN_THREAD(0)); in wake_hw_thread() 190 mtspr(SPRN_TENS, TEN_THREAD(1)); in wake_hw_thread() 422 mtspr(SPRN_TENC, disable_threadbit); in mpc85xx_smp_kexec_cpu_down()
|
/linux-4.4.14/arch/openrisc/mm/ |
D | tlb.c | 81 #define flush_dtlb_page_eir(addr) mtspr(SPR_DTLBEIR, addr) 85 #define flush_itlb_page_eir(addr) mtspr(SPR_ITLBEIR, addr)
|
D | init.c | 192 mtspr(SPR_ICBIR, 0x900); in paging_init() 193 mtspr(SPR_ICBIR, 0xa00); in paging_init()
|
/linux-4.4.14/arch/powerpc/platforms/amigaone/ |
D | setup.c | 134 mtspr(SPRN_SRR0, 0xfff00100); in amigaone_restart() 135 mtspr(SPRN_SRR1, MSR_IP); in amigaone_restart()
|
/linux-4.4.14/Documentation/powerpc/ |
D | dscr.txt | 61 inside the kernel. Both mfspr and mtspr instructions are emulated. 66 where as the first mtspr instruction based write attempts will enable 78 (1) mtspr instruction (SPR number 0x03) 79 (2) mtspr instruction (SPR number 0x11)
|
D | pmu-ebb.txt | 33 events, however unless the target process enables EBBs (via mtspr(BESCR)) no
|
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/ |
D | holly.c | 224 mtspr(SPRN_SRR0, 0xfff00100); in holly_restart() 225 mtspr(SPRN_SRR1, MSR_IP); in holly_restart()
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | spr.h | 20 #define mtspr(_spr, _val) __asm__ __volatile__ ( \ macro
|
/linux-4.4.14/drivers/cpuidle/ |
D | cpuidle-powernv.c | 88 mtspr(SPRN_LPCR, new_lpcr); in fastsleep_loop() 91 mtspr(SPRN_LPCR, old_lpcr); in fastsleep_loop()
|
/linux-4.4.14/arch/powerpc/platforms/pasemi/ |
D | setup.c | 86 mtspr(SPRN_TBCTL, TBCTL_FREEZE); in pas_give_timebase() 93 mtspr(SPRN_TBCTL, TBCTL_RESTART); in pas_give_timebase()
|
/linux-4.4.14/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 126 mtspr(SPRN_HID2, hid2); in cpu_750fx_cpu_speed() 137 mtspr(SPRN_HID2, hid2); in cpu_750fx_cpu_speed()
|
D | powernv-cpufreq.c | 209 mtspr(SPRN_PMCR, val); in set_pmspr() 213 mtspr(SPRN_PMICR, val); in set_pmspr()
|
/linux-4.4.14/arch/powerpc/xmon/ |
D | xmon.c | 287 mtspr(SPRN_CIABR, ciabr); in write_ciabr() 989 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); in do_step() 2967 mtspr(SPRN_MAS0, mas0); in dump_tlb_book3e() 2968 mtspr(SPRN_MAS1, mas1); in dump_tlb_book3e() 2969 mtspr(SPRN_MAS2, mas2); in dump_tlb_book3e()
|
/linux-4.4.14/drivers/edac/ |
D | mpc85xx_edac.c | 1207 mtspr(SPRN_HID1, (orig_hid1[smp_processor_id()] & ~HID1_RFXE)); in mpc85xx_mc_clear_rfxe() 1259 mtspr(SPRN_HID1, orig_hid1[smp_processor_id()]); in mpc85xx_mc_restore_hid1()
|
/linux-4.4.14/drivers/ps3/ |
D | ps3-lpm.c | 186 mtspr(SPRN_BKMK, bookmark); in ps3_set_bookmark()
|
/linux-4.4.14/arch/powerpc/math-emu/ |
D | math_efp.c | 682 mtspr(SPRN_SPEFSCR, __FPU_FPSCR); in do_spe_mathemu()
|
/linux-4.4.14/drivers/macintosh/ |
D | via-pmu.c | 2005 mtspr(SPRN_HID0, hid0); in powerbook_sleep_3400()
|