/linux/arch/powerpc/kernel/ |
H A D | head_8xx.S | 183 mtspr SPRN_SPRG_SCRATCH2, r10 189 mfspr r10, SPRN_SRR0 /* Get effective address of fault */ 190 INVALIDATE_ADJACENT_PAGES_CPU15(r10, r11) 191 mtspr SPRN_MD_EPN, r10 192 mfspr r10, SPRN_M_TWB /* Get level 1 table */ 193 lwz r11, (swapper_pg_dir-PAGE_OFFSET)@l(r10) /* Get level 1 entry */ 195 mfspr r10, SPRN_MD_TWC 196 lwz r10, 0(r10) /* Get the pte */ 197 rlwimi r11, r10, 0, _PAGE_GUARDED | _PAGE_ACCESSED 198 rlwimi r11, r10, 32 - 9, _PMD_PAGE_512K [all …]
|
H A D | head_booke.h | 49 mtspr SPRN_SPRG_WSCRATCH0, r10; /* save one register */ \ 50 mfspr r10, SPRN_SPRG_THREAD; \ 51 stw r11, THREAD_NORMSAVE(0)(r10); \ 52 stw r13, THREAD_NORMSAVE(2)(r10); \ 63 lwz r11, TASK_STACK - THREAD(r10); \ 71 lwz r12, THREAD_NORMSAVE(0)(r10); \ 73 lwz r13, THREAD_NORMSAVE(2)(r10); /* restore r13 */ \ 74 mflr r10; \ 75 stw r10,_LINK(r11); \ 86 lis r10, STACK_FRAME_REGS_MARKER@ha /* exception frame marker */ [all …]
|
H A D | head_32.h | 20 mtspr SPRN_SPRG_SCRATCH0,r10 22 mfspr r10, SPRN_SPRG_THREAD 25 stw r11, DAR(r10) 27 stw r11, DSISR(r10) 30 stw r11, SRR0(r10) 32 stw r11, SRR1(r10) 33 mfcr r10 72 stw r10,_CCR(r11) /* save registers */ 75 mfspr r10,SPRN_SPRG_SCRATCH0 77 stw r10,GPR10(r11) [all …]
|
H A D | exceptions-64s.S | 220 lbz r10,HSTATE_IN_GUEST(r13) 221 cmpwi r10,0 225 li r10,(IVEC + 0x2) 227 li r10,(IVEC) 230 li r10,(IVEC + 0x2) 232 li r10,(IVEC) 261 LOAD_HANDLER(r10, \name\()_common) 262 mtctr r10 269 LOAD_HANDLER(r10, \name\()_common_virt) 270 mtctr r10 [all …]
|
H A D | exceptions-64e.S | 84 mfspr r10,SPRN_SPRG_TLB_EXFRAME 85 add r10,r10,r12 86 mtspr SPRN_SPRG_TLB_EXFRAME,r10 92 mfspr r10,SPRN_SRR0 93 SPECIAL_EXC_STORE(r10,SRR0) 94 mfspr r10,SPRN_SRR1 95 SPECIAL_EXC_STORE(r10,SRR1) 96 mfspr r10,SPRN_SPRG_GEN_SCRATCH 97 SPECIAL_EXC_STORE(r10,SPRG_GEN) 98 mfspr r10,SPRN_SPRG_TLB_SCRATCH [all …]
|
H A D | head_85xx.S | 314 rlwinm. r10, r11, 32 - _PAGE_PSIZE_SHIFT, 0x1e; /* get tsize*/ \ 319 li r10, 0; /* clear r10 */ \ 373 andis. r10,r5,(ESR_ILK|ESR_DLK)@h 425 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */ 426 mfspr r10, SPRN_SPRG_THREAD 427 stw r11, THREAD_NORMSAVE(0)(r10) 433 stw r12, THREAD_NORMSAVE(1)(r10) 434 stw r13, THREAD_NORMSAVE(2)(r10) 436 stw r13, THREAD_NORMSAVE(3)(r10) 440 andi. r10,r11,MSR_PR [all …]
|
H A D | head_book3s_32.S | 281 mtspr SPRN_SPRG_SCRATCH2,r10 282 mfspr r10, SPRN_SPRG_THREAD 283 stw r11, THR11(r10) 284 mfspr r10, SPRN_DSISR 286 andis. r10, r10, (DSISR_BAD_FAULT_32S | DSISR_DABRMATCH)@h 287 mfspr r10, SPRN_SPRG_THREAD 291 lwz r11, THR11(r10) 292 mfspr r10, SPRN_SPRG_SCRATCH2 313 mtspr SPRN_SPRG_SCRATCH0,r10 315 mfspr r10, SPRN_SPRG_THREAD [all …]
|
H A D | cpu_setup_e500.S | 99 mfspr r10,SPRN_MMUCFG 100 rlwinm. r10,r10,0,MMUCFG_LPIDSIZE 169 mfspr r10,SPRN_MMUCFG 170 rlwinm. r10,r10,0,MMUCFG_LPIDSIZE 192 mfspr r10,SPRN_MMUCFG 193 rlwinm. r10,r10,0,MMUCFG_LPIDSIZE 212 mfspr r10,SPRN_MMUCFG 213 rlwinm. r10,r10,0,MMUCFG_LPIDSIZE 218 ld r10,CPU_SPEC_FEATURES(r4) 220 andc r10,r10,r9 [all …]
|
H A D | head_44x.S | 305 mtspr SPRN_SPRG_WSCRATCH0, r10 /* Save some working registers */ 311 mfspr r10, SPRN_DEAR /* Get faulting address */ 317 cmplw cr7, r10, r11 363 rlwinm r12, r10, PPC44x_PGD_OFF_SHIFT, PPC44x_PGD_OFF_MASK_BIT, 29 369 rlwimi r12, r10, PPC44x_PTE_ADD_SHIFT, PPC44x_PTE_ADD_MASK_BIT, 28 373 lis r10,tlb_44x_index@ha 378 lwz r13,tlb_44x_index@l(r10) 392 stw r13,tlb_44x_index@l(r10) 395 mfspr r10,SPRN_DEAR 409 mfspr r10, SPRN_SPRG_RSCRATCH0 [all …]
|
/linux/arch/powerpc/mm/nohash/ |
H A D | tlb_low_64e.S | 47 std r10,EX_TLB_R10(r12) 50 mfcr r10 63 std r10,EX_TLB_CR(r12) 66 andi. r10,r11,MSR_PR 68 BTB_FLUSH(r10) 77 ld r10,EX_TLB_R10(r12) 116 rldicl. r10,r16,64-PGTABLE_EADDR_SIZE,PGTABLE_EADDR_SIZE+4 119 rlwinm r10,r11,32-19,27,27 120 rlwimi r10,r11,32-16,19,19 122 ori r10,r10,_PAGE_PRESENT [all …]
|
H A D | tlb_low.S | 49 mfmsr r10 83 10: wrtee r10 110 lis r10,tlb_47x_boltmap@h 111 ori r10,r10,tlb_47x_boltmap@l 140 lwz r8,0(r10) /* Load boltmap entry */ 141 addi r10,r10,4 /* Next word */ 157 mfmsr r10 170 wrtee r10 195 wrtee r10 228 mfmsr r10 [all …]
|
/linux/arch/arm/crypto/ |
H A D | sha1-armv4-large.S | 82 ldrb r10,[r1,#2] 87 orr r9,r9,r10,lsl#8 88 eor r10,r5,r6 @ F_xx_xx 95 eor r10,r5,r6 @ F_xx_xx 101 and r10,r4,r10,ror#2 103 eor r10,r10,r6,ror#2 @ F_00_19(B,C,D) 105 add r7,r7,r10 @ E+=F_00_19(B,C,D) 107 ldrb r10,[r1,#2] 112 orr r9,r9,r10,lsl#8 113 eor r10,r4,r5 @ F_xx_xx [all …]
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_64_entry.S | 38 lbz r10,HSTATE_IN_GUEST(r13) 39 cmpwi r10,KVM_GUEST_MODE_HV_P9 42 ld r10,PACA_EXGEN+EX_R13(r13) 43 SET_SCRATCH0(r10) 44 li r10,0xc00 69 std r10,HSTATE_SCRATCH0(r13) 70 lbz r10,HSTATE_IN_GUEST(r13) 71 cmpwi r10,KVM_GUEST_MODE_HV_P9 73 ld r10,HSTATE_SCRATCH0(r13) 76 cmpdi r10,0x200 [all …]
|
/linux/arch/powerpc/boot/ |
H A D | crt0.S | 55 p_base: mflr r10 /* r10 now points to runtime addr of p_base */ 58 addis r11,r10,(_GLOBAL_OFFSET_TABLE_-p_base)@ha 64 addis r12,r10,(__dynamic_start-p_base)@ha 115 3: lwz r9,p_start-p_base(r10) /* note: these are relocated now */ 116 lwz r8,p_etext-p_base(r10) 126 lwz r9,p_bss_start-p_base(r10) 127 lwz r8,p_end-p_base(r10) 135 lwz r8,p_pstack-p_base(r10) 144 std r5,(p_prom-p_base)(r10) 147 ld r2,(p_toc-p_base)(r10) [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | ams-delta-fiq-handler.S | 102 ldr r10, [r12, #IRQ_SIR_FIQ_REG_OFFSET] @ get requested interrupt number 107 cmp r10, #(INT_GPIO_BANK1 - NR_IRQS_LEGACY) @ is it GPIO interrupt? 111 orr r8, r11, r8, lsl r10 @ mask spurious interrupt 133 ands r10, r13, #KEYBRD_CLK_MASK @ extract keyboard status - set? 139 @ r10 now contains KEYBRD_CLK_MASK, use it 140 bic r11, r11, r10 @ unmask it 146 ldr r10, [r9, #BUF_STATE] @ fetch kbd interface state 147 cmp r10, #0 @ are we expecting start bit? 155 @ r10 already contains 0, reuse it 156 str r10, [r9, #BUF_KEY] @ clear keycode [all …]
|
/linux/arch/csky/kernel/ |
H A D | entry.S | 66 bmaski r10, THREAD_SHIFT 67 andn r9, r10 68 ldw r10, (r9, TINFO_FLAGS) 70 and r10, r9 71 cmpnei r10, 0 117 mov a0, r10 124 bmaski r10, THREAD_SHIFT 125 andn r9, r10 126 ldw r10, (r9, TINFO_FLAGS) 128 and r10, r9 [all …]
|
/linux/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_sleep.S | 18 li r10, 0 /* flag that irq handler sets */ 34 cmpi cr0, r10, 1 38 mfspr r10, SPRN_HID0 39 ori r10, r10, 0x2000 41 mtspr SPRN_HID0, r10 54 mfspr r10, SPRN_HID0 55 ori r10, r10, 0x2000 56 xori r10, r10, 0x2000 58 mtspr SPRN_HID0, r10 98 mfmsr r10 [all …]
|
H A D | lite5200_sleep.S | 26 mfspr r10, SPRN_##reg; \ 27 stw r10, ((addr)*4)(r4); 30 lwz r10, ((addr)*4)(r4); \ 31 mtspr SPRN_##reg, r10; \ 67 lwz r10, 0xf0(r3) 68 stw r10, (0x1d*4)(r4) 211 mfmsr r10 212 ori r10, r10, MSR_DR | MSR_IR 215 mtspr SPRN_SRR1, r10 216 lis r10, mmu_on@h [all …]
|
/linux/arch/arm/mach-imx/ |
H A D | ssi-fiq.S | 57 mov r10, #0x10000 58 sub r10, #1 59 and r10, r10, r8 /* r10: current buffer offset */ 61 add r13, r13, r10 75 add r10, #8 77 cmp r10, r11 95 mov r10, #0x10000 96 sub r10, #1 97 and r10, r10, r9 /* r10: current buffer offset */ 99 add r13, r13, r10 [all …]
|
/linux/arch/parisc/kernel/ |
H A D | head.S | 75 ldi 32,%r10 76 mtctl %r10,%cr11 78 mfctl,w %cr11,%r10 80 comib,<>,n 0,%r10,$cpu_ok 85 copy %arg0, %r10 96 stw %r10,-60(%sp) // arg6 = ptr to text 104 or %r10,%r10,%r10 /* qemu idle sleep */ 178 load32 PA(_mcount), %r10 179 std %dp,0x18(%r10) 187 ldw MEM_PDC_HI(%r0),%r10 [all …]
|
/linux/arch/arm/mm/ |
H A D | proc-v7.S | 152 mrc p15, 0, r10, c1, c0, 2 @ Co-processor access control 186 mcr p15, 0, r10, c1, c0, 2 @ Co-processor access control 208 mrc p15, 0, r10, c15, c0, 1 @ Read Diagnostic register 209 teq r4, r10 @ Already restored? 211 mrc p15, 0, r10, c15, c0, 0 @ Read Power register 212 teq r5, r10 @ Already restored? 237 stmfd sp!, {r6 - r10} 242 mrc p15, 0, r10, c9, c14, 0 @ save CP15 - PMC 243 stmia r0!, {r6 - r10} 244 ldmfd sp!, {r6 - r10} [all …]
|
/linux/arch/arm/boot/bootp/ |
H A D | init.S | 37 ldr r10, [r9, #4] @ get first tag 38 teq r10, r5 @ is it ATAG_CORE? 42 movne r10, #0 @ terminator 44 stmiane r9, {r4, r5, r10} @ Size, ATAG_CORE, terminator 51 taglist: ldr r10, [r9, #0] @ tag length 52 teq r10, #0 @ last tag (zero length)? 53 addne r9, r9, r10, lsl #2 57 stmia r9, {r5, r6, r7, r8, r10} 63 move: ldmia r4!, {r7 - r10} @ move 32-bytes at a time 64 stmia r5!, {r7 - r10} [all …]
|
/linux/arch/sh/lib/ |
H A D | copy_page.S | 29 mov.l r10,@-r15 31 mov r4,r10 48 movca.l r0,@r10 50 mov.l r0,@r10 52 add #32,r10 53 mov.l r7,@-r10 54 mov.l r6,@-r10 55 mov.l r5,@-r10 56 mov.l r4,@-r10 57 mov.l r3,@-r10 [all …]
|
/linux/arch/arc/include/asm/ |
H A D | entry-arcv2.h | 89 ; _HARD saves r10 clobbered by _SOFT as scratch hence comes first 96 lr r10, [eret] variable 98 ST2 r10, r11, PT_ret 100 lr r10, [ecr] 102 ST2 r10, r11, PT_event 104 ; OUTPUT: r10 has ECR expected by EV_Trap 109 EXCEPTION_PROLOGUE_KEEP_AE ; return ECR in r10 130 ST2 r10, r11, PT_r10 variable 134 lr r10, [lp_end] 136 ST2 r10, r11, PT_lpe [all …]
|
/linux/arch/powerpc/lib/ |
H A D | copypage_64.S | 27 LOAD_REG_ADDR(r10, ppc64_caches) 31 LOAD_REG_ADDR(r10, ppc64_caches) 33 lwz r11,DCACHEL1LOGBLOCKSIZE(r10) /* log2 of cache block size */ 34 lwz r12,DCACHEL1BLOCKSIZE(r10) /* get cache block size */ 58 ld r10,16(r4) 64 std r10,48(r3) 74 ld r10,80(r4) 80 std r10,112(r3) 92 ld r10,16(r4) 98 std r10,48(r3) [all …]
|