Searched refs:r30 (Results 1 - 105 of 105) sorted by relevance

/linux-4.1.27/arch/score/mm/
H A Dtlb-miss.S90 mfcr r30, cr6
91 srli r30, r30, 22 /* PGDIR_SHIFT = 22*/
92 slli r30, r30, 2
93 add r31, r31, r30
96 mfcr r30, cr9
97 andi r30, 0xfff /* equivalent to get PET index and right shift 2 bits */
98 add r31, r31, r30
99 lw r30, [r31, 0] /* load pte entry */
100 mtcr r30, cr12
117 mfcr r30, cr6
118 srli r30, r30, 22 /* PGDIR_SHIFT = 22 */
119 slli r30, r30, 2
120 add r31, r31, r30
123 mfcr r30, cr6 /* get Bad VPN */
124 srli r30, r30, 10
125 andi r30, 0xffc /* PTE VPN mask (bit 11~2) */
127 add r31, r31, r30
128 lw r30, [r31, 0] /* load pte entry */
129 mtcr r30, cr12
147 load_pte r30, r31
148 pte_writable r30, r31, handle_tlb_refill_nopage
149 pte_makewrite r30, r31 /* Access|Modify|Dirty|Valid */
162 load_pte r30, r31
164 pte_writable r30, r31, handle_tlb_invaild_nopage
165 pte_makewrite r30, r31 /* Access|Modify|Dirty|Valid */
178 load_pte r30, r31
180 andi r30, _PAGE_WRITE /* Writable? */
181 cmpz.c r30
183 lw r30, [r31, 0] /* reload into r30 */
186 pte_makewrite r30, r31
/linux-4.1.27/arch/score/kernel/
H A Dhead.S36 la r30, __bss_start /* initialize BSS segment. */
40 1: cmp.c r31, r30
43 sw r8, [r30] /* clean memory. */
44 addi r30, 4
50 la r30, kernelsp
51 sw r0, [r30]
53 xor r30, r30, r30
54 ori r30, 0x02 /* enable MMU. */
55 mtcr r30, cr4
69 la r30, start_kernel /* jump to init_arch */
70 br r30
H A Dentry.S97 la r30, exception_handlers
100 add r30, r30, r31
101 lw r30, [r30]
102 br r30
/linux-4.1.27/arch/parisc/include/asm/
H A Dassembly.h210 /* r30 stack pointer saved in get_stack */
244 /* r30 stack pointer restored in rest_stack */
319 fstd,ma %fr12, 8(%r30)
320 fstd,ma %fr13, 8(%r30)
321 fstd,ma %fr14, 8(%r30)
322 fstd,ma %fr15, 8(%r30)
323 fstd,ma %fr16, 8(%r30)
324 fstd,ma %fr17, 8(%r30)
325 fstd,ma %fr18, 8(%r30)
326 fstd,ma %fr19, 8(%r30)
327 fstd,ma %fr20, 8(%r30)
328 fstd,ma %fr21, 8(%r30)
332 fldd,mb -8(%r30), %fr21
333 fldd,mb -8(%r30), %fr20
334 fldd,mb -8(%r30), %fr19
335 fldd,mb -8(%r30), %fr18
336 fldd,mb -8(%r30), %fr17
337 fldd,mb -8(%r30), %fr16
338 fldd,mb -8(%r30), %fr15
339 fldd,mb -8(%r30), %fr14
340 fldd,mb -8(%r30), %fr13
341 fldd,mb -8(%r30), %fr12
346 std,ma %r3, CALLEE_REG_FRAME_SIZE(%r30)
348 std %r4, -136(%r30)
349 std %r5, -128(%r30)
350 std %r6, -120(%r30)
351 std %r7, -112(%r30)
352 std %r8, -104(%r30)
353 std %r9, -96(%r30)
354 std %r10, -88(%r30)
355 std %r11, -80(%r30)
356 std %r12, -72(%r30)
357 std %r13, -64(%r30)
358 std %r14, -56(%r30)
359 std %r15, -48(%r30)
360 std %r16, -40(%r30)
361 std %r17, -32(%r30)
362 std %r18, -24(%r30)
363 std %r3, -16(%r30)
367 ldd -16(%r30), %r3
368 ldd -24(%r30), %r18
369 ldd -32(%r30), %r17
370 ldd -40(%r30), %r16
371 ldd -48(%r30), %r15
372 ldd -56(%r30), %r14
373 ldd -64(%r30), %r13
374 ldd -72(%r30), %r12
375 ldd -80(%r30), %r11
376 ldd -88(%r30), %r10
377 ldd -96(%r30), %r9
378 ldd -104(%r30), %r8
379 ldd -112(%r30), %r7
380 ldd -120(%r30), %r6
381 ldd -128(%r30), %r5
382 ldd -136(%r30), %r4
384 ldd,mb -CALLEE_REG_FRAME_SIZE(%r30), %r3
390 stw,ma %r3, CALLEE_REG_FRAME_SIZE(%r30)
392 stw %r4, -124(%r30)
393 stw %r5, -120(%r30)
394 stw %r6, -116(%r30)
395 stw %r7, -112(%r30)
396 stw %r8, -108(%r30)
397 stw %r9, -104(%r30)
398 stw %r10, -100(%r30)
399 stw %r11, -96(%r30)
400 stw %r12, -92(%r30)
401 stw %r13, -88(%r30)
402 stw %r14, -84(%r30)
403 stw %r15, -80(%r30)
404 stw %r16, -76(%r30)
405 stw %r17, -72(%r30)
406 stw %r18, -68(%r30)
407 stw %r3, -64(%r30)
411 ldw -64(%r30), %r3
412 ldw -68(%r30), %r18
413 ldw -72(%r30), %r17
414 ldw -76(%r30), %r16
415 ldw -80(%r30), %r15
416 ldw -84(%r30), %r14
417 ldw -88(%r30), %r13
418 ldw -92(%r30), %r12
419 ldw -96(%r30), %r11
420 ldw -100(%r30), %r10
421 ldw -104(%r30), %r9
422 ldw -108(%r30), %r8
423 ldw -112(%r30), %r7
424 ldw -116(%r30), %r6
425 ldw -120(%r30), %r5
426 ldw -124(%r30), %r4
428 ldw,mb -CALLEE_REG_FRAME_SIZE(%r30), %r3
H A Dasmregs.h33 sp: .reg %r30
76 r30: .reg %r30
H A Dprocessor.h288 * is stuffed into the lowest bit of the user sp (%r30), so we fill
/linux-4.1.27/arch/score/include/asm/
H A Dasmmacro.h9 mfcr r30, cr0
13 slli.c r30, r30, 28 variable
18 mv r30, r0 variable
21 sw r30, [r0, PT_R0]
62 mfcehl r30, r31 variable
63 sw r30, [r0, PT_CEH] variable
82 mfcr r30, cr0
83 srli r30, r30, 1 variable
84 slli r30, r30, 1 variable
85 mtcr r30, cr0 variable
94 and r30, r30, r1 variable
99 or r31, r31, r30
107 lw r30, [r0, PT_CONDITION] variable
108 mtcr r30, cr1 variable
115 lw r30, [r0, PT_CEH] variable
117 mtcehl r30, r31 variable
154 lw r30, [r0, PT_EPC] variable
156 mtcr r30, cr5 variable
H A Dchecksum.h66 "xor\t%0, %0, r30\n\t" csum_fold()
/linux-4.1.27/arch/powerpc/kernel/
H A Dkvm_emul.S44 PPC_STL r30, (KVM_MAGIC_PAGE + KVM_MAGIC_SCRATCH2)(0); \
51 lwz r30, (KVM_MAGIC_PAGE + KVM_MAGIC_SCRATCH3)(0); \
52 mtcr r30; \
53 PPC_LL r30, (KVM_MAGIC_PAGE + KVM_MAGIC_SCRATCH2)(0); \
69 lis r30, (~(MSR_EE | MSR_RI))@h
70 ori r30, r30, (~(MSR_EE | MSR_RI))@l
71 and r31, r31, r30
75 ori r30, r0, 0
76 andi. r30, r30, (MSR_EE|MSR_RI)
77 or r31, r31, r30
88 andi. r30, r30, MSR_EE
138 ori r30, r0, 0
139 xor r31, r30, r31
142 LOAD_REG_IMMEDIATE(r30, MSR_CRITICAL_BITS)
143 and. r31, r31, r30
160 /* Get the target register in r30 */
162 ori r30, r0, 0
165 STL64(r30, KVM_MAGIC_PAGE + KVM_MAGIC_MSR, 0)
173 andi. r31, r30, MSR_EE
216 ori r30, r0, 0
217 rlwimi r31, r30, 0, MSR_EE
224 andi. r30, r30, MSR_EE
232 lwz r30, (KVM_MAGIC_PAGE + KVM_MAGIC_INT)(0)
233 cmpwi r30, 0
315 rlwinm r30,r0,6,26,29
318 stw r0, (KVM_MAGIC_PAGE + KVM_MAGIC_SR)(r30)
H A Dswsusp_asm64.S112 SAVE_REGISTER(r30)
229 RESTORE_REGISTER(r30)
H A Dmisc_64.S554 std r30,-16(r1)
565 mr r30,r4 /* start (real) */
586 mr r4,r30 /* start, aka phys mem offset */
632 mr r4,r30 # start, aka phys mem offset
H A Dmisc_32.S742 mr r30, r4
750 mr r4, r30
758 mr r30, r4
1106 mr r4, r30
H A Dhead_fsl_booke.S67 /* Translate device tree address to physical, save in r30/r31 */
69 mr r30,r3
250 mr r3,r30
275 mr r3,r30
H A Dhead_64.S371 mr r30,r4
405 mr r30,r4
425 mr r4,r30
H A Dkgdb.c304 { "r30", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[30]) },
H A Dentry_64.S658 mr r30,r4
660 mr r4,r30
H A Dhead_8xx.S601 add r10, r10, r30 ;b 151f
/linux-4.1.27/arch/microblaze/lib/
H A Ddivsi3.S19 swi r30, r1, 8
31 addik r30, r0, 0 /* clear mod */
45 addc r30, r30, r30 /* move that bit into the mod register */
46 rsub r31, r6, r30 /* try to subtract (r30 a r6) */
49 or r30, r0, r31
67 lwi r30, r1, 8
H A Dmodsi3.S21 swi r30, r1, 8
35 addik r30, r0, 0 /* clear div */
46 rsub r31, r6, r3 /* try to subtract (r30 a r6) */
50 addik r30, r30, 1
54 add r30, r30, r30 /* shift in the '1' into div */
67 lwi r30, r1, 8
H A Dudivsi3.S21 swi r30, r1, 4
26 addik r30, r0, 0 /* clear mod */
59 addc r30, r30, r30 /* move that bit into the mod register */
60 rsub r31, r6, r30 /* try to subtract (r30 a r6) */
63 or r30, r0, r31
78 lwi r30, r1, 4
H A Dumodsi3.S20 swi r30, r1, 4
26 addik r30, r0, 0 /* clear mod */
66 addik r30, r30, 1
70 add r30, r30, r30 /* shift in the '1' into div */
80 lwi r30, r1, 4
/linux-4.1.27/arch/powerpc/mm/
H A Dhash_low_64.S66 * r30 is "new PTE"
74 std r30,STK_REG(R30)(r1)
97 rlwinm r30,r4,32-9+7,31-7,31-7 /* _PAGE_RW -> _PAGE_DIRTY */
98 or r30,r30,r31
99 ori r30,r30,_PAGE_BUSY | _PAGE_ACCESSED | _PAGE_HASHPTE
101 stdcx. r30,0,r6
145 4: andi. r3,r30,0x1fe /* Get basic set of flags */
147 rlwinm r0,r30,32-9+1,30,30 /* _PAGE_RW -> _PAGE_USER (r0) */
148 rlwinm r4,r30,32-7+1,30,30 /* _PAGE_DIRTY -> _PAGE_USER (r4) */
150 andc r0,r30,r0 /* r0 = pte & ~r0 */
161 mr r4,r30
187 andc r30,r30,r0
188 ori r30,r30,_PAGE_HASHPTE
261 rldimi r30,r3,12,63-15
268 std r30,0(r6)
274 ld r30,STK_REG(R30)(r1)
315 andc r30,r30,r0
360 * r30 is "new PTE"
372 std r30,STK_REG(R30)(r1)
394 rlwinm r30,r4,32-9+7,31-7,31-7 /* _PAGE_RW -> _PAGE_DIRTY */
395 or r30,r30,r31
396 ori r30,r30,_PAGE_BUSY | _PAGE_ACCESSED
397 oris r30,r30,_PAGE_COMBO@h
399 stdcx. r30,0,r6
456 andc r10,r30,r10
460 andi. r3,r30,0x1fe /* Get basic set of flags */
461 rlwinm r0,r30,32-9+1,30,30 /* _PAGE_RW -> _PAGE_USER (r0) */
464 rlwinm r4,r30,32-7+1,30,30 /* _PAGE_DIRTY -> _PAGE_USER (r4) */
477 mr r4,r30
603 andc r30,r30,r0
616 andc r30,r30,r0
621 or r30,r30,r0
632 std r30,0(r6)
640 ld r30,STK_REG(R30)(r1)
683 andc r30,r30,r0
685 std r30,0(r6)
723 * r30 is "new PTE"
731 std r30,STK_REG(R30)(r1)
759 rlwinm r30,r4,32-9+7,31-7,31-7 /* _PAGE_RW -> _PAGE_DIRTY */
760 or r30,r30,r31
761 ori r30,r30,_PAGE_BUSY | _PAGE_ACCESSED
763 stdcx. r30,0,r6
806 4: andi. r3,r30,0x1fe /* Get basic set of flags */
808 rlwinm r0,r30,32-9+1,30,30 /* _PAGE_RW -> _PAGE_USER (r0) */
809 rlwinm r4,r30,32-7+1,30,30 /* _PAGE_DIRTY -> _PAGE_USER (r4) */
811 andc r0,r30,r0 /* r0 = pte & ~r0 */
822 mr r4,r30
848 andc r30,r30,r0
850 oris r30,r30,_PAGE_HPTE_SUB0@h
852 ori r30,r30,_PAGE_HASHPTE
925 rldimi r30,r3,12,63-15
932 std r30,0(r6)
938 ld r30,STK_REG(R30)(r1)
979 andc r30,r30,r0
/linux-4.1.27/arch/tile/kernel/
H A Drelocate_kernel_32.S27 move r30, r0 /* page list */
61 * Throughout this code r30 is pointer to the element of page
65 * incrementing r30 by four. The exception is if the element
68 * of r30.
72 * r30 pointing at it. To do that, we push the value passed
73 * to us on the stack and make r30 point to it.
76 sw sp, r30
77 move r30, sp
120 .Lloop: lw r10, r30
135 addi r30, r30, 4
142 move r30, r10
246 addi r30, r30, 4
H A Drelocate_kernel_64.S27 move r30, r0 /* page list */
62 * Throughout this code r30 is pointer to the element of page
66 * incrementing r30 by eight. The exception is if the element
69 * of r30.
73 * r30 pointing at it. To do that, we push the value passed
74 * to us on the stack and make r30 point to it.
77 st sp, r30
78 move r30, sp
123 .Lloop: ld r10, r30
138 addi r30, r30, 8
145 move r30, r10
236 addi r30, r30, 8
H A Dintvec_64.S396 * cache line 4: r30...r37
610 push_reg r30, r52, PTREGS_OFFSET_SYSCALL - PTREGS_OFFSET_REG(30)
615 push_reg r30, r52, PTREGS_OFFSET_REG(29) - PTREGS_OFFSET_REG(30)
716 * routines internally preserve r0..r10 and r30 up.
764 { move r30, r0; move r31, r1 }
769 { move r0, r30; move r1, r31 }
803 movei r30, 0 /* not an NMI */
809 * This routine takes a boolean in r30 indicating if this is an NMI.
814 * places, and we need to make sure r30 is set correctly in those
820 bnez r30, .Lrestore_all /* NMIs don't special-case user-space */
964 beqzt r30, .Lrestore_regs
971 beqzt r30, .Lrestore_regs
1000 * or just r30-r33, and r52 up.
1020 pop_reg r30, sp, PTREGS_OFFSET_REG(52) - PTREGS_OFFSET_REG(30)
1198 movei r30, 1
1233 ld r30, r31
1236 and r30, r30, r32
1238 addi r30, r31, THREAD_INFO_STATUS_OFFSET - THREAD_INFO_FLAGS_OFFSET
1239 beqzt r30, .Lrestore_syscall_regs
1256 ld r30, r30
1274 blbs r30, .Lcompat_syscall
1300 blbct r30, 1f
1310 ld r30, r31
1313 and r0, r30, r32
1315 andi r0, r30, _TIF_SINGLESTEP
1323 andi r0, r30, _TIF_SINGLESTEP
1335 movei r30, 0 /* not an NMI */
1374 movei r30, 0 /* not an NMI */
1393 movei r30, 0 /* not an NMI */
1404 jalr r30
1408 movei r30, 0 /* not an NMI */
H A Dintvec_32.S196 * cache line 2: r30...r45
415 push_reg r30, r52, PTREGS_OFFSET_SYSCALL - PTREGS_OFFSET_REG(30)
420 push_reg r30, r52, PTREGS_OFFSET_REG(29) - PTREGS_OFFSET_REG(30)
498 * routines internally preserve r0..r10 and r30 up.
587 { move r30, r0; move r31, r1 }
592 { move r0, r30; move r1, r31 }
780 movei r30, 0 /* not an NMI */
786 * This routine takes a boolean in r30 indicating if this is an NMI.
791 * places, and we need to make sure r30 is set correctly in those
797 bnz r30, .Lrestore_all /* NMIs don't special-case user-space */
940 bzt r30, .Lrestore_regs
946 bzt r30, .Lrestore_regs
974 * or just r30-r33, and r52 up.
994 pop_reg_zero r30, r2, sp, PTREGS_OFFSET_PC - PTREGS_OFFSET_REG(30)
1158 movei r30, 0 /* not an NMI */
1182 movei r30, 1
1219 lw r30, r31
1220 andi r30, r30, _TIF_SYSCALL_TRACE
1221 bzt r30, .Lrestore_syscall_regs
1273 lw r30, r31
1274 andi r30, r30, _TIF_SYSCALL_TRACE
1275 bzt r30, 1f
1282 movei r30, 0 /* not an NMI */
1294 movei r30, 0 /* not an NMI */
1313 movei r30, 0 /* not an NMI */
1324 jalr r30
1328 movei r30, 0 /* not an NMI */
1446 movei r30, 0 /* not an NMI */
1457 movei r30, 0 /* not an NMI */
H A Dregs_32.S49 f(r30); f(r31); \
111 r24, r25, r26, r27, r28, r29, r30, r31, \
H A Dregs_64.S49 f(r30); f(r31); \
111 r24, r25, r26, r27, r28, r29, r30, r31, \
H A Dkgdb.c59 { "r30", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[30])},
H A Dprocess.c133 callee_regs[0] = sp; /* r30 = function */ copy_thread()
/linux-4.1.27/arch/ia64/kernel/
H A Drelocate_kernel.S132 mov r30=in0 // in0 is page_list
136 ld8 r30=[in0], 8;;
138 tbit.z p0, p6=r30, 0;; // 0x1 dest page
139 (p6) and r17=r30, r16
142 tbit.z p0, p6=r30, 1;; // 0x2 indirect page
143 (p6) and in0=r30, r16
146 tbit.z p0, p6=r30, 2;; // 0x4 end flag
149 tbit.z p6, p0=r30, 3;; // 0x8 source page
152 and r18=r30, r16
317 st8 [in0]=r30, 8 // r30
H A Dminstate.h106 st8 [r17]=r30,16; /* save cr.ifs */ \
190 .mem.offset 0,0; st8.spill [r2]=r30,16; \
248 #define SAVE_MIN_WITH_COVER DO_SAVE_MIN(COVER, mov r30=cr.ifs, , RSE_WORKAROUND)
249 #define SAVE_MIN_WITH_COVER_R19 DO_SAVE_MIN(COVER, mov r30=cr.ifs, mov r15=r19, RSE_WORKAROUND)
250 #define SAVE_MIN DO_SAVE_MIN( , mov r30=r0, , )
H A Dfsys.S147 mov r30 = CLOCK_DIVIDE_BY_1000
152 // r30 = flags determining how time is processed
176 // r30 = time processing flags / memory address
202 mov pr = r30,0xc000 // Set predicates according to function
218 ld8 r30 = [r21] // clocksource->mmio_ptr
226 cmp.eq p8,p9 = 0,r30 // use cpu timer if no mmio_ptr
232 (p9) cmp.eq p13,p0 = 0,r30 // if mmio_ptr, clear p13 jitter control
236 (p9) ld8 r2 = [r30] // MMIO_TIMER. Could also have latency issues..
323 shl r30 = r32,15
486 MOV_FROM_ITC(p0, p6, r30, r23) // M get cycle for accounting
512 // mov.m r30=ar.itc is called in advance
523 st8 [r16]=r30,TI_AC_STIME-TI_AC_STAMP // update stamp
524 sub r18=r30,r19 // elapsed time in user mode
H A Divt.S262 movl r30=1f // load nested fault continuation point
306 movl r30=1f // load nested fault continuation point
438 * continuation point passed in register r30 (or call page_fault if the address is
443 * r30: continuation address
448 * r30: continuation address
504 mov b0=r30
539 movl r30=1f // load continuation point in case of nested fault
594 movl r30=1f // load continuation point in case of nested fault
660 movl r30=1f // load continuation point in case of nested fault
747 movl r30=sys_call_table // X
769 shladd r30=r15,3,r30 // A r30 = sys_call_table + 8*(syscall-1024)
775 (p6) ld8 r30=[r30] // M0|1 load address of syscall entry point
783 (p7) movl r30=sys_ni_syscall // X
789 mov b6=r30 // I0 setup syscall handler branch reg early
805 MOV_FROM_ITC(p0, p14, r30, r18) // M get cycle for accounting
807 mov b6=r30 // I0 setup syscall handler branch reg early
821 // mov.m r30=ar.itc is called in advance, and r13 is current
833 st8 [r16]=r30,TI_AC_STIME-TI_AC_STAMP // M update stamp
834 sub r18=r30,r19 // A elapsed time in user
923 * - r30: ar.itc for accounting (don't touch)
H A Dentry.S394 ld8 r30=[r3] // restore rnat
454 mov ar.rnat=r30 // must restore after bspstore but before rsc!
680 * r30: user-level cfm
760 RSM_PSR_I_IC(r28, r29, r30) // M2 turn off interrupts and interruption collection
768 ld8 r30=[r2],16 // M0|1 load cr.ifs
775 ld8 r30=[r2],16 // M0|1 load cr.ifs
885 adds r30=PT(AR_CCV)+16,r12
889 ld8 r15=[r30] // load ar.ccv
893 ld8 r30=[r3],16 // load ar.csd
910 mov ar.csd=r30
928 ld8.fill r30=[r3],24
966 ld8 r30=[r16],16 // load cr.ifs
1137 MOV_TO_IFS(p9, r30, r25)// M2
H A Dpal.S73 mov r30 = in2
158 mov r30 = in2 // copy arg2
H A Dprocess.c136 printk("r29 : %016lx r30 : %016lx r31 : %016lx\n", regs->r29, regs->r30, regs->r31); show_regs()
H A Dasm-offsets.c119 DEFINE(IA64_PT_REGS_R30_OFFSET, offsetof (struct pt_regs, r30)); foo()
H A Dunaligned.c222 RPT(r28), RPT(r29), RPT(r30), RPT(r31)
H A Dmca.c947 copy_reg(&bank[30-16], ms->pmsa_nat_bits, &regs->r30, nat); finish_pt_regs()
H A Dunwind.c224 offsetof(struct pt_regs, r30),
/linux-4.1.27/arch/microblaze/kernel/
H A Dhead.S246 ori r30, r0, 0x200
249 addik r30, r30, 0x80
252 addik r30, r30, 0x80
255 addik r30, r30, 0x80
259 or r3, r3, r30
276 ori r30, r0, 0x200
279 addik r30, r30, 0x80
282 addik r30, r30, 0x80
285 addik r30, r30, 0x80
292 or r3, r3, r30
H A Dentry-nommu.S98 swi r30, r1, PT_R30
166 lwi r30, r1, PT_R30
252 swi r30, r1, PT_R30
286 addik r30, r0, 1 /* restarts allowed */
343 swi r30, r1, PT_R30
376 addik r30, r0, 1 /* restarts allowed ??? */
417 swi r30, r11, CC_R30
445 lwi r30, r11, CC_R30
501 addk r5, r30, r0
504 addk r30, r0, r0 /* no restarts from now on */
541 lwi r30, r1, PT_R30
576 addk r30, r0, r0 /* no restarts for this one */
H A Dasm-offsets.c60 DEFINE(PT_R30, offsetof(struct pt_regs, r30)); main()
119 DEFINE(CC_R30, offsetof(struct cpu_context, r30)); main()
H A Dmcount.S46 swi r30, r1, 108; \
77 lwi r30, r1, 108; \
H A Dprocess.c41 pr_info(" r29=%08lX, r30=%08lX, r31=%08lX, rPC=%08lX\n", show_regs()
42 regs->r29, regs->r30, regs->r31, regs->pc); show_regs()
H A Dentry.S206 swi r30, r1, PT_R30; \
242 lwi r30, r1, PT_R30; \
358 addi r30, r0, 1 /* restarts allowed */
421 add r6, r30, r0; /* Arg 2: int in_syscall */
422 add r30, r0, r0 /* no more restarts */
470 addik r30, r0, 0 /* no restarts */
902 swi r30, r11, CC_R30
923 lwi r30, r11, CC_R30
H A Dsignal.c74 COPY(r30); COPY(r31); restore_sigcontext()
135 COPY(r30); COPY(r31); setup_sigcontext()
/linux-4.1.27/tools/testing/selftests/powerpc/copyloops/asm/
H A Dppc_asm.h17 #define R30 r30
/linux-4.1.27/arch/openrisc/kernel/
H A Dhead.S99 #define EXCEPTION_T_STORE_GPR30 l.sw 0x78(r0),r30
158 l.mfspr r30,r0,SPR_ESR_BASE ;\
159 l.andi r30,r30,SPR_SR_SM ;\
160 l.sfeqi r30,0 ;\
166 tophys (r30,r1) ;\
168 l.lwz r10,0(r30) ;\
169 tophys (r30,r10) ;\
170 l.lwz r1,(TI_KSP)(r30) ;\
177 /* r1 is KSP, r30 is __pa(KSP) */ ;\
178 tophys (r30,r1) ;\
179 l.sw PT_GPR12(r30),r12 ;\
181 l.sw PT_PC(r30),r12 ;\
183 l.sw PT_SR(r30),r12 ;\
184 /* save r30 */ ;\
186 l.sw PT_GPR30(r30),r12 ;\
189 l.sw PT_GPR10(r30),r12 ;\
192 l.sw PT_SP(r30),r12 ;\
194 l.sw PT_GPR4(r30),r4 ;\
199 l.ori r30,r0,(EXCEPTION_SR) ;\
200 l.mtspr r0,r30,SPR_ESR_BASE ;\
201 /* r30: EA address of handler */ ;\
202 LOAD_SYMBOL_2_GPR(r30,handler) ;\
203 l.mtspr r0,r30,SPR_EPCR_BASE ;\
483 CLEAR_GPR(r30)
505 tophys(r30,r26)
510 l.sfltu r28,r30
547 l.mfspr r30,r0,SPR_SR
550 l.or r30,r30,r28
551 l.mtspr r0,r30,SPR_SR
619 CLEAR_GPR(r30)
626 LOAD_SYMBOL_2_GPR(r30, start_kernel)
627 l.jr r30
660 l.ori r30,r0,16
661 l.sll r14,r30,r28
669 l.ori r30,r0,1
670 l.sll r16,r30,r28
726 l.ori r30,r0,16
727 l.sll r14,r30,r28
735 l.ori r30,r0,1
736 l.sll r16,r30,r28
H A Dentry.S86 l.lwz r30,PT_GPR30(r1) ;\
124 /* r30 already save */ ;\
125 /* l.sw PT_GPR30(r1),r30*/ ;\
128 l.addi r30,r0,-1 ;\
129 l.sw PT_ORIG_GPR11(r1),r30
163 l.sw PT_GPR30(r1),r30 ;\
166 l.addi r30,r0,-1 ;\
167 l.sw PT_ORIG_GPR11(r1),r30 ;\
580 /* r30 is the only register we clobber in the fast path */
581 /* r30 already saved */
582 /* l.sw PT_GPR30(r1),r30 */
586 l.lwz r30,TI_FLAGS(r10)
587 l.andi r30,r30,_TIF_SYSCALL_TRACE
588 l.sfne r30,r0
630 /* r30 is a callee-saved register so this should still hold the
634 l.sfne r30,r0
645 l.lwz r30,TI_FLAGS(r10)
646 l.andi r30,r30,_TIF_WORK_MASK
647 l.sfne r30,r0
710 /* r30 is the only register we clobber in the fast path */
711 l.lwz r30,PT_GPR30(r1)
1006 l.sw PT_GPR30(r1),r30
1049 l.lwz r30,PT_GPR30(r1)
/linux-4.1.27/arch/parisc/kernel/
H A Dsyscall.S123 or,ev %r1,%r30,%r30
137 xor %r1,%r30,%r30 /* ye olde xor trick */
138 xor %r1,%r30,%r1
139 xor %r1,%r30,%r30
141 ldo THREAD_SZ_ALGN+FRAME_SIZE(%r30),%r30 /* set up kernel stack */
143 /* N.B.: It is critical that we don't set sr7 to 0 until r30
150 STREGM %r1,FRAME_SIZE(%r30) /* save r1 (usp) here for now */
163 LDREGM -FRAME_SIZE(%r30), %r2 /* get users sp back */
196 ldo -16(%r30),%r29 /* Reference param save area */
201 stw %r22, -52(%r30) /* 5th argument */
202 stw %r21, -56(%r30) /* 6th argument */
273 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
330 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
339 ldo -16(%r30),%r29 /* Reference param save area */
341 stw %r22, -52(%r30) /* 5th argument */
342 stw %r21, -56(%r30) /* 6th argument */
369 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
372 ldo -16(%r30),%r29 /* Reference param save area */
377 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
391 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
394 ldo -16(%r30),%r29 /* Reference param save area */
429 - %r30 (stack pointer)
465 or,ev %r1,%r30,%r30
498 extrd,u,*<> %r30,63,1,%r1
501 xor %r30,%r1,%r30
H A Dentry.S118 copy %r30, %r17
120 ldo THREAD_SZ_ALGN(%r1), %r30
138 tophys %r30,%r9
139 copy %r30,%r1
140 ldo PT_SZ_ALGN(%r30),%r30
150 LDREG PT_GR30(%r29),%r30
763 LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30), %r1
782 STREG %r2, -RP_OFFSET(%r30)
792 STREG %r30, TASK_PT_KSP(%r26)
793 LDREG TASK_PT_KSP(%r25), %r30
803 LDREG -RP_OFFSET(%r30), %r2
902 ldo -16(%r30),%r29 /* Reference param save area */
927 * It also restores r1 and r30.
956 ldo -16(%r30),%r29 /* Reference param save area */
1023 ldo -16(%r30),%r29 /* Reference param save area */
1100 ldo -16(%r30),%r29 /* Reference param save area */
1659 %r27 - %r30 saved in PT_REGS by gateway page
1712 LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30), %r1
1731 LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30), %r1
1742 LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r26
1745 STREG %r2, -RP_OFFSET(%r30)
1747 ldo FRAME_SIZE(%r30), %r30
1749 ldo -16(%r30),%r29 /* Reference param save area */
1752 ldo FRAME_SIZE(%r30), %r30
1755 ldo -FRAME_SIZE(%r30), %r30
1756 LDREG -RP_OFFSET(%r30), %r2
1759 LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1
1792 LDREG TI_FLAGS-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r19 /* long */
1797 LDREG TI_FLAGS-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r19
1808 LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1
1813 ldo -16(%r30),%r29 /* Reference param save area */
1819 LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1
1826 LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1
1857 copy %r1,%r30 /* Restore user sp */
1875 extrd,u,*<> %r30,63,1,%r1
1878 xor %r30,%r1,%r30
1965 ldo -16(%r30),%r29 /* Reference param save area */
2115 bv %r0(%r25) /* r30 */
2116 copy %r30,%r1
2189 bv %r0(%r25) /* r30 */
2190 copy %r1,%r30
H A Dstacktrace.c24 asm volatile ("copy %%r30, %0" : "=r"(sp)); dump_trace()
H A Dhpmc.S99 * r30 (sp) stack pointer
254 tovirt_r1 %r30 /* make sp virtual */
H A Dftrace.c167 asm volatile ("copy %%r30, %0" : "=r"(sp)); ftrace_function_trampoline()
H A Dunwind.c424 asm volatile ("copy %%r30, %0" : "=r"(sp)); return_address()
H A Dtraps.c202 asm volatile ("copy %%r30, %0" : "=r"(sp)); parisc_show_stack()
/linux-4.1.27/arch/ia64/lib/
H A Dmemcpy_mck.S37 /* r19-r30 are temp for each code section */
58 #define tmp r30
96 sub r30=8,r28 // for .align_dest
101 cmp.le p6,p0 = 1,r30 // for .align_dest
297 and r30=7,src0 // source alignment
338 shl r28=r30, LOOP_SIZE // jmp_table thread
354 (p6) shl r25=r30,3
400 add src0=src1,r30 // forward by src alignment
462 * r30 - distance to 8-byte boundary
467 cmp.le p7,p0 = 2,r30 // for .align_dest
468 cmp.le p8,p0 = 3,r30 // for .align_dest
470 cmp.le p9,p0 = 4,r30 // for .align_dest
471 cmp.le p10,p0 = 5,r30
475 cmp.le p11,p0 = 6,r30
477 cmp.le p12,p0 = 7,r30
489 sub in2=in2,r30
493 add dst0=in0,r30 // setup arguments
494 add src0=in1,r30
H A Dmemset.S28 #define save_lc r30
H A Ddo_csum.S108 #define carry2 r30
H A Dcopy_user.S70 #define endsrc r30
/linux-4.1.27/arch/powerpc/lib/
H A Dmemcmp_64.S22 #define rG r30
90 std r30,-16(r1)
183 ld r30,-16(r1)
229 ld r30,-16(r1)
H A Dcopyuser_64.S468 std r30,-40(1)
508 42: ld r30,136(4)
526 60: std r30,152(3)
574 ld r30,-40(1)
593 ld r30,-40(1)
H A Dcrtsavres.S369 std r30,-16(r1)
426 ld r30,-16(r1)
432 ld r30,-16(r1)
/linux-4.1.27/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp_64.S22 #define rG r30
90 std r30,-16(r1)
183 ld r30,-16(r1)
229 ld r30,-16(r1)
/linux-4.1.27/arch/tile/mm/
H A Dmigrate_32.S68 #define r_context_lo r30
90 sw r_tmp, r30
172 lw r30, r_tmp
H A Dmigrate_64.S62 #define r_context r30
87 st r_tmp, r30
155 ld r30, r_tmp
/linux-4.1.27/arch/arc/include/asm/
H A Dunwind.h47 unsigned long r30; member in struct:arc700_regs
106 PTREGS_INFO(r30), \
/linux-4.1.27/arch/microblaze/include/uapi/asm/
H A Dptrace.h47 microblaze_reg_t r30; member in struct:pt_regs
H A Delf.h114 _r->r28 = _r->r29 = _r->r30 = _r->r31 = \
/linux-4.1.27/arch/powerpc/boot/
H A Dppc_asm.h59 #define r30 30 macro
/linux-4.1.27/arch/powerpc/crypto/
H A Daes-spe-regs.h41 #define rG2 r30
/linux-4.1.27/arch/arm64/include/asm/
H A Dkgdb.h44 * r0-r30: 64 bit
/linux-4.1.27/arch/hexagon/include/uapi/asm/
H A Duser.h43 unsigned long r30; member in struct:user_regs_struct
H A Dregisters.h183 unsigned long r30; member in struct:pt_regs::__anon1468::__anon1469
/linux-4.1.27/arch/hexagon/kernel/
H A Dstacktrace.c26 register unsigned long current_frame_pointer asm("r30");
H A Dtraps.c113 asm("%0 = r30" : "=r" (fp)); do_show_stack()
174 newfp = (unsigned long *) regs->r30; do_show_stack()
221 do_show_stack(current, &regs->r30, pt_elr(regs)); die()
H A Dvm_events.c79 regs->r30, show_regs()
H A Dkgdb.c62 { "r30", GDB_SIZEOF_REG, offsetof(struct pt_regs, r30)},
/linux-4.1.27/tools/testing/selftests/powerpc/switch_endian/
H A Dswitch_endian_test.S56 addi r30, r15, 30
/linux-4.1.27/arch/tile/include/asm/
H A Dswitch_to.h27 #define CALLEE_SAVED_REGS_COUNT 24 /* r30 to r52, plus an empty to align */
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
H A Dptc_deadlock.S29 piowcphy = r30
/linux-4.1.27/tools/testing/selftests/powerpc/copyloops/
H A Dcopyuser_64.S468 std r30,-40(1)
508 42: ld r30,136(4)
526 60: std r30,152(3)
574 ld r30,-40(1)
593 ld r30,-40(1)
/linux-4.1.27/arch/powerpc/kvm/
H A Dbooke_interrupts.S199 stw r30, VCPU_GPR(R30)(r4)
279 lwz r30, VCPU_GPR(R30)(r4)
317 stw r30, VCPU_GPR(R30)(r4)
337 lwz r30, HOST_NV_GPR(R30)(r1)
382 stw r30, HOST_NV_GPR(R30)(r1)
402 lwz r30, VCPU_GPR(R30)(r4)
H A Dbookehv_interrupts.S138 PPC_STL r30, VCPU_GPR(R30)(r4)
470 PPC_LL r30, VCPU_GPR(R30)(r4)
504 PPC_STL r30, VCPU_GPR(R30)(r4)
524 PPC_LL r30, HOST_NV_GPR(R30)(r1)
567 PPC_STL r30, HOST_NV_GPR(R30)(r1)
587 PPC_LL r30, VCPU_GPR(R30)(r4)
H A Dbook3s_interrupts.S58 PPC_LL r30, VCPU_GPR(R30)(vcpu); \
202 PPC_STL r30, VCPU_GPR(R30)(r7)
H A Dbook3s_hv_rmhandlers.S640 ld r30, VCPU_PPR_TM(r4)
656 mtspr SPRN_PPR, r30
748 ld r30, VCPU_GPR(R30)(r4)
1323 std r30, VCPU_GPR(R30)(r9)
1371 std r30, VCPU_GPRS_TM(30)(r9)
1377 mfspr r30, SPRN_DSCR
1406 std r30, VCPU_DSCR_TM(r9)
2136 std r30, VCPU_GPR(R30)(r3)
2247 ld r30, VCPU_GPR(R30)(r4)
2449 * N.B. r30 and r31 are volatile across this function,
2453 mflr r30
2478 mtlr r30
2484 * N.B. r30 and r31 are volatile across this function,
2488 mflr r30
2513 mtlr r30
/linux-4.1.27/arch/sh/kernel/
H A Dhead_64.S178 * Pure PIC code here, please ! Just save state into r30.
180 * r30 = CPU type/Platform Endianness
353 * (r30) CPU type/Platform endianness
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
H A Dswitchto.S82 st.q r0, (30*8), r30
164 ld.q r0, (30*8), r30
H A Dentry.S751 st.q SP, FRAME_R(30), r30
1009 ld.q SP, FRAME_R(30), r30
1774 st.q r0, 0x0f0, r30
1951 addi SP, -24, SP /* Room to save r28/r29/r30 */
1954 st.q SP, 16, r30
1971 or r19, ZERO, r30
1982 sub r21, r30, r30 /* r30 = actual size */
1989 * (r30) actual size
/linux-4.1.27/arch/hexagon/include/asm/
H A Delf.h149 DEST.r30 = REGS->r30; \
/linux-4.1.27/drivers/media/tuners/
H A Dr820t.c970 ext_enable = 0x40; /* r30[6], ext enable; r30[5]:0 ext at lna max */ r820t_set_tv_standard()
982 ext_enable = 0x40; /* r30[6]=1 ext enable; r30[5]:1 ext at lna max-1 */ r820t_set_tv_standard()
994 ext_enable = 0x40; /* r30[6]=1 ext enable; r30[5]:1 ext at lna max-1 */ r820t_set_tv_standard()
1007 ext_enable = 0x60; /* r30[6]=1 ext enable; r30[5]:1 ext at lna max-1 */ r820t_set_tv_standard()
1027 ext_enable = 0x60; /* r30[6]=1 ext enable; r30[5]:1 ext at lna max-1 */ r820t_set_tv_standard()
1040 ext_enable = 0x60; /* r30[6]=1 ext enable; r30[5]:1 ext at lna max-1 */ r820t_set_tv_standard()
1052 ext_enable = 0x60; /* r30[6]=1 ext enable; r30[5]:1 ext at lna max-1 */ r820t_set_tv_standard()
/linux-4.1.27/arch/microblaze/include/asm/
H A Dthread_info.h53 __u32 r30; member in struct:cpu_context
/linux-4.1.27/arch/unicore32/kernel/
H A Dsetup.c131 : "r30", "cc"); cpu_init()
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dptrace.h135 unsigned long r30; /* scratch */ member in struct:pt_regs
/linux-4.1.27/include/linux/
H A Dcompiler-gcc.h45 * RELOC_HIDE could trash r30. The bug can be worked around by changing
/linux-4.1.27/arch/powerpc/include/asm/
H A Dppc_asm.h599 #define r30 %r30 macro
/linux-4.1.27/drivers/crypto/vmx/
H A Daesp8-ppc.pl688 $PUSH r30,`$FRAME+21*16+4*$SIZE_T`($sp)
1217 $POP r30,`$FRAME+21*16+4*$SIZE_T`($sp)
1392 $PUSH r30,`$FRAME+21*16+4*$SIZE_T`($sp)
1867 $POP r30,`$FRAME+21*16+4*$SIZE_T`($sp)
/linux-4.1.27/drivers/video/fbdev/sis/
H A Dinit301.c4319 unsigned char r30=0, r31=0, r32=0, r33=0, cr36=0; SiS_EnableBridge() local
4473 r30 = SiS_Pr->EMI_30; r31 = SiS_Pr->EMI_31; SiS_EnableBridge()
4476 r30 = 0; SiS_EnableBridge()
4489 r30 |= 0x40; SiS_EnableBridge()
4490 if(SiS_Pr->SiS_CustomT == CUT_CLEVO1024) r30 &= ~0x40; SiS_EnableBridge()
4499 if(SiS_Pr->SiS_CustomT == CUT_COMPAQ1280) r30 |= 0x40; SiS_EnableBridge()
4508 r30 |= 0x40; SiS_EnableBridge()
4517 r30 |= 0x40; SiS_EnableBridge()
4529 r30 = 0x60; r31 = 0x05; r32 = 0x60; r33 = 0x00; SiS_EnableBridge()
4536 r30 = 0x20; r31 = 0x12; r32 = 0xd0; r33 = 0x6b; SiS_EnableBridge()
4543 /* r30 = 0x60; r31 = 0x05; r32 = 0x60; r33 = 0x33; */ /* rev 2 */ SiS_EnableBridge()
4544 /* r30 = 0x20; r31 = 0x05; r32 = 0x60; r33 = 0x33; */ /* rev 3 */ SiS_EnableBridge()
4545 /* r30 = 0x60; r31 = 0x0d; r32 = 0x70; r33 = 0x40; */ /* rev 4 */ SiS_EnableBridge()
4546 /* r30 = 0x20; r31 = 0x0d; r32 = 0x70; r33 = 0x40; */ /* rev 5 */ SiS_EnableBridge()
4552 if(!(SiS_Pr->OverruleEMI && (!r30) && (!r31) && (!r32) && (!r33))) { SiS_EnableBridge()
4566 if(r30 & 0x40) { SiS_EnableBridge()
/linux-4.1.27/arch/arc/kernel/
H A Dentry.S71 * Interrupt link register (ilink2) r30
/linux-4.1.27/sound/soc/codecs/
H A Dcs42l52.c104 { CS42L52_BATT_LEVEL, 0x00 }, /* r30 VP Battery Level */
H A Dcs42l73.c92 { 48, 0x3F }, /* r30 - ALC Release Rate Left/Right */
/linux-4.1.27/arch/powerpc/xmon/
H A Dxmon.c2500 "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31",
/linux-4.1.27/drivers/net/wireless/b43/
H A Dradio_2056.c3041 r30, r31, r32, r33, r34, r35, r36) \
3072 .radio_tx1_intpag_boost_tune = r30, \

Completed in 999 milliseconds