/linux/arch/powerpc/kvm/ |
H A D | book3s_segment.S | 17 mr reg, r13 88 std r8, HSTATE_HOST_FSCR(r13) 90 ld r9, SVCPU_SHADOW_FSCR(r13) 140 PPC_LL r13, SVCPU_R13(r3) 175 ld r9,HSTATE_SCRATCH2(r13) 177 stw r12, HSTATE_SCRATCH1(r13) /* CR is now in the low half */ 194 PPC_STL r0, SVCPU_R0(r13) 195 PPC_STL r1, SVCPU_R1(r13) 196 PPC_STL r2, SVCPU_R2(r13) 197 PPC_STL r3, SVCPU_R3(r13) [all …]
|
H A D | book3s_hv_interrupts.S | 48 std r3, HSTATE_DSCR(r13) 53 std r3, HSTATE_DABR(r13) 65 ld r5, HSTATE_KVM_VCORE(r13) 76 std r8,HSTATE_DECEXP(r13) 129 lbz r5, PACA_PMCINUSE(r13) /* is the host using the PMU? */ 135 std r7, HSTATE_MMCR0(r13) 136 std r5, HSTATE_MMCR1(r13) 137 std r6, HSTATE_MMCRA(r13) 138 std r9, HSTATE_SIAR(r13) 139 std r10, HSTATE_SDAR(r13) [all …]
|
H A D | book3s_rmhandlers.S | 47 mtspr SPRN_SPRG_SCRATCH0, r13 /* Save r13 */ 55 mfspr r13, SPRN_SPRG_THREAD 56 lwz r13, THREAD_KVM_SVCPU(r13) 60 cmpwi r13, 0 64 mfspr r13, SPRN_SPRG_SCRATCH0 /* r13 = original r13 */ 67 1: tophys(r13, r13) 68 stw r12, HSTATE_SCRATCH1(r13) 70 stw r12, HSTATE_SCRATCH0(r13) 71 lbz r12, HSTATE_IN_GUEST(r13) 75 lwz r12, HSTATE_SCRATCH1(r13) [all …]
|
H A D | book3s_64_entry.S | 38 lbz r10,HSTATE_IN_GUEST(r13) 42 ld r10,PACA_EXGEN+EX_R13(r13) 69 std r10,HSTATE_SCRATCH0(r13) 70 lbz r10,HSTATE_IN_GUEST(r13) 73 ld r10,HSTATE_SCRATCH0(r13) 82 add r11,r11,r13 85 std r12,HSTATE_CFAR(r13) 91 std r12,HSTATE_PPR(r13) 94 std r12,HSTATE_SCRATCH0(r13) 110 std r9,HSTATE_SCRATCH2(r13) [all …]
|
H A D | book3s_hv_rmhandlers.S | 76 std r10, HSTATE_HOST_MSR(r13) 88 ld r4, HSTATE_KVM_VCPU(r13) 95 ld r5,HSTATE_DABR(r13) 102 ld r3,PACA_SPRG_VDSO(r13) 112 ld r3, HSTATE_DECEXP(r13) 119 stb r0, HSTATE_HWTHREAD_REQ(r13) 132 ld r7, HSTATE_HOST_MSR(r13) 158 ld r5, HSTATE_KVM_VCORE(r13) 167 ld r5, HSTATE_KVM_VCORE(r13) 168 lbz r7, HSTATE_PTID(r13) [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | exceptions-64s.S | 77 ld reg,PACAKBASE(r13); /* get high part of &label */ \ 81 ld reg,PACAKBASE(r13); \ 89 ld reg,PACAKBASE(r13); \ 220 lbz r10,HSTATE_IN_GUEST(r13) 282 SET_SCRATCH0(r13) /* save r13 */ 283 GET_PACA(r13) 284 std r9,IAREA+EX_R9(r13) /* save r9 */ 289 std r10,IAREA+EX_R10(r13) /* save r10 */ 318 std r9,IAREA+EX_PPR(r13) 322 std r10,IAREA+EX_CFAR(r13) [all …]
|
H A D | interrupt_64.S | 53 ld r1,PACAKSAVE(r13) 110 std r1,PACA_EXIT_SAVE_R1(r13) /* save r1 for restart */ 112 lbz r11,PACAIRQHAPPENED(r13) 116 stb r11,PACAIRQSOFTMASK(r13) 118 stb r11,PACAIRQHAPPENED(r13) # clear out possible HARD_DIS 181 GET_PACA(r13) 182 ld r1,PACA_EXIT_SAVE_R1(r13) 187 stb r11,PACAIRQSOFTMASK(r13) 189 std r1,PACA_EXIT_SAVE_R1(r13) /* save r1 for restart */ 213 ld r10,PACAKMSR(r13) /* get MSR value for kernel */ [all …]
|
H A D | head_85xx.S | 311 rlwinm r12, r13, 14, 18, 28; /* Compute pgdir/pmd offset */ \ 318 rlwimi r12, r13, 23, 20, 28; /* Compute pte address */ \ 324 rlwinm r12, r13, 14, 18, 28; /* Compute pgdir/pmd offset */ \ 329 rlwimi r12, r13, 23, 20, 28; /* Compute pte address */ \ 334 rlwimi r11, r13, 12, 20, 29; /* Create L1 (pgdir/pmd) address */ \ 338 rlwimi r12, r13, 22, 20, 29; /* Compute PTE address */ \ 434 stw r13, THREAD_NORMSAVE(2)(r10) 435 mfcr r13 436 stw r13, THREAD_NORMSAVE(3)(r10) 445 mfspr r13, SPRN_DEAR /* Get faulting address */ [all …]
|
H A D | exceptions-64e.S | 224 std r10,\paca_ex+EX_R10(r13); 225 std r11,\paca_ex+EX_R11(r13); 232 ld r10,\paca_ex+EX_R10(r13) 233 ld r11,\paca_ex+EX_R11(r13) 234 mfspr r13,\scratch 249 mtspr SPRN_SPRG_##type##_SCRATCH,r13; /* get spare registers */ \ 250 mfspr r13,SPRN_SPRG_PACA; /* get PACA */ \ 251 std r10,PACA_EX##type+EX_R10(r13); \ 252 std r11,PACA_EX##type+EX_R11(r13); \ 256 stw r10,PACA_EX##type+EX_CR(r13); /* save old CR in the PACA */ \ [all …]
|
H A D | head_44x.S | 308 mtspr SPRN_SPRG_WSCRATCH3, r13 334 mfspr r13,SPRN_PID /* Get PID */ 335 rlwimi r12,r13,0,24,31 /* Set TID */ 337 cmpwi r13,0 358 li r13,_PAGE_PRESENT|_PAGE_ACCESSED|_PAGE_READ 359 rlwimi r13,r12,10,30,30 375 andc. r13,r13,r12 /* Check permission */ 378 lwz r13,tlb_44x_index@l(r10) 383 addi r13,r13,1 387 0: cmpwi 0,r13,1 /* reserve entries */ [all …]
|
H A D | head_64.S | 333 li r13,0 417 ldx r13,r9,r8 /* r13 = paca_ptrs[cpu id] */ 418 lhz r6,PACAHWCPUID(r13) /* Load HW procid from paca */ 428 2: SET_PACA(r13) 430 addi r12,r13,PACA_EXTLB /* and TLB exc frame in another */ 438 ld r1,PACAEMERGSP(r13) 461 lbz r23,PACAPROCSTART(r13) /* Test if this processor should */ 533 li r13,0 802 ldx r13,r5,r4 /* r13 = paca_ptrs[cpu id] */ 803 SET_PACA(r13) /* Save vaddr of paca in an SPRG*/ [all …]
|
H A D | idle_64e.S | 31 lbz r3,PACAIRQHAPPENED(r13) 45 stb r0,PACAIRQSOFTMASK(r13) 60 ld r11, PACACURRENT(r13) 70 lbz r10,PACAIRQHAPPENED(r13) 72 stb r10,PACAIRQHAPPENED(r13)
|
/linux/arch/openrisc/lib/ |
H A D | memset.S | 27 l.andi r13, r4, 0xff 30 l.sfeqi r13, 0 36 l.slli r15, r13, 16 // r13 = 000c, r15 = 0c00 37 l.or r13, r13, r15 // r13 = 0c0c, r15 = 0c00 38 l.slli r15, r13, 8 // r13 = 0c0c, r15 = c0c0 39 l.or r13, r13, r15 // r13 = cccc, r15 = c0c0 55 l.sb 0(r3), r13 // *src = c 63 l.sb 1(r3), r13 // *(src+1) = c 71 l.sb 2(r3), r13 // *(src+2) = c 76 2: l.sw 0(r19), r13 // *src = cccc [all …]
|
/linux/arch/arm/mach-imx/ |
H A D | ssi-fiq.S | 45 ldr r13, .L_imx_ssi_fiq_tx_buffer 61 add r13, r13, r10 63 ldrh r11, [r13] 66 ldrh r11, [r13, #2] 69 ldrh r11, [r13, #4] 72 ldrh r11, [r13, #6] 93 ldr r13, .L_imx_ssi_fiq_rx_buffer 99 add r13, r13, r10 105 strh r11, [r13] 108 strh r11, [r13, #2] [all …]
|
/linux/arch/s390/boot/ |
H A D | head.S | 65 larl %r13,.L_hdr 66 clc 0(3,%r4),0(%r13) # if it is HDRx 68 larl %r13,.L_eof 69 clc 0(3,%r4),0(%r13) # if it is EOFx 90 larl %r13,.L_hdr # skip HDRx and EOFx 91 clc 0(3,%r2),0(%r13) 93 larl %r13,.L_eof 94 clc 0(3,%r2),0(%r13) 99 larl %r13,.Lcpuid 100 stidp 0(%r13) # store cpuid [all …]
|
H A D | head_kdump.S | 26 basr %r13,0 30 clgr %r2,%r13 # 59 basr %r13,0 # Base 76 lg %r14,.Lstartup_kdump-0b(%r13) 87 basr %r13,0 88 0: lpswe .Lrestart_psw-0b(%r13) # Start new kernel... 95 larl %r13,startup_kdump_crash 96 lpswe 0(%r13)
|
/linux/arch/s390/kernel/ |
H A D | entry.S | 172 GET_LC %r13 173 stg %r3,__LC_CURRENT(%r13) # store task struct of next 174 stg %r15,__LC_KERNEL_STACK(%r13) # store end of kernel stack 177 mvc __LC_CURRENT_PID(4,%r13),0(%r3) # store pid of next 193 GET_LC %r13 194 lg %r14,__LC_CURRENT(%r13) 201 lmg %r0,%r13,0(%r4) # load guest gprs 0-13 238 stmg %r0,%r13,0(%r14) # save guest gprs 0-13 268 GET_LC %r13 269 stpt __LC_SYS_ENTER_TIMER(%r13) [all …]
|
H A D | reipl.S | 26 GET_LC %r13 28 stctg %c0,%c15,__LC_CREGS_SAVE_AREA(%r13) 30 stamy %a0,%a15,__LC_AREGS_SAVE_AREA(%r13) 32 lay %r1,__LC_FPREGS_SAVE_AREA(%r13) 50 lay %r1,__LC_FP_CREG_SAVE_AREA(%r13) 53 lay %r1,__LC_CPU_TIMER_SAVE_AREA(%r13) 56 lay %r1,__LC_PREFIX_SAVE_AREA(%r13) 61 lay %r1,__LC_CLOCK_COMP_SAVE_AREA(%r13) 64 lay %r1,__LC_PSW_SAVE_AREA(%r13)
|
/linux/arch/csky/abiv2/ |
H A D | memset.S | 15 andi r13, r0, 3 18 bnez r13, .L_dest_not_aligned 70 sub r13, r19, r13 71 sub r2, r13 75 PRE_BNEZAD (r13) 77 BNEZAD (r13, .L_dest_not_aligned_loop)
|
H A D | memcpy.S | 14 andi r13, r0, 3 17 bnez r13, .L_dest_not_aligned 88 sub r13, r19, r13 89 sub r2, r13 94 PRE_BNEZAD (r13) 98 BNEZAD (r13, .L_dest_not_aligned_loop)
|
H A D | memcmp.S | 15 andi r13, r0, 3 19 bnez r13, .L_s1_not_aligned 140 sub r13, r19, r13 141 sub r2, r13 147 PRE_BNEZAD (r13) 150 BNEZAD (r13, .L_s1_not_aligned_loop)
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
H A D | kernel.fuc | 50 // $r13 - data (return) 54 imm32($r13, NV_PPWR_MMIO_CTRL_OP_RD | NV_PPWR_MMIO_CTRL_TRIGGER) 55 nv_iowr(NV_PPWR_MMIO_CTRL, $r13) 57 nv_iord($r13, NV_PPWR_MMIO_CTRL) 58 and $r13 NV_PPWR_MMIO_CTRL_STATUS 60 nv_iord($r13, NV_PPWR_MMIO_DATA) 67 // $r13 - data 71 nv_iowr(NV_PPWR_MMIO_DATA, $r13) 72 imm32($r13, NV_PPWR_MMIO_CTRL_OP_WR | NV_PPWR_MMIO_CTRL_MASK_B32_0 | NV_PPWR_MMIO_CTRL_TRIGGER) 75 push $r13 [all …]
|
/linux/arch/s390/purgatory/ |
H A D | head.S | 69 lg %r4,kernel_entry-\base(%r13) 70 lg %r5,load_psw_mask-\base(%r13) 92 basr %r13,0 108 lg %r11,kernel_type-.base_crash(%r13) 133 lmg %r6,%r15,gprregs-.base_crash(%r13) 137 lpswe disabled_wait_psw-.base_crash(%r13) 144 lgr %r8,%r13 151 lg %r9,crash_size-.base_crash(%r13) 155 lg %r10,crash_start-.base_crash(%r13) 177 basr %r13,0 [all …]
|
/linux/arch/csky/abiv1/inc/abi/ |
H A D | entry.h | 31 mtcr r13, ss2 32 mfcr r13, epsr 33 btsti r13, 31 40 stw r13, (sp, 12) 45 movi r13, \epc_inc 46 add lr, r13 66 mfcr r13, ss2 74 stw r13, (sp, 28) 106 ldw r13, (sp, 28)
|
/linux/arch/nios2/kernel/ |
H A D | insnemu.S | 33 ldw r13, PT_R13(sp) 128 stw r13, 52(sp) 280 movi r13, 0 /* remainder = 0 */ 303 slli r13, r13, 1 305 or r13, r13, r7 316 bltu r13, r5, div_skip 318 sub r13, r13, r5 559 ldw r13, 52(sp)
|