Home
last modified time | relevance | path

Searched refs:r22 (Results 1 – 25 of 139) sorted by relevance

123456

/openbmc/linux/arch/sh/boot/compressed/
H A Dhead_64.S66 movi ITLB_LAST_VAR_UNRESTRICTED+TLB_STEP, r22
69 bne r21, r22, tr1
74 movi DTLB_LAST_VAR_UNRESTRICTED+TLB_STEP, r22
77 bne r21, r22, tr1
81 movi MMUIR_TEXT_L, r22 /* PTEL first */
82 putcfg r21, 1, r22 /* Set MMUIR[0].PTEL */
83 movi MMUIR_TEXT_H, r22 /* PTEH last */
84 putcfg r21, 0, r22 /* Set MMUIR[0].PTEH */
88 movi MMUDR_CACHED_L, r22 /* PTEL first */
89 putcfg r21, 1, r22 /* Set MMUDR[0].PTEL */
[all …]
/openbmc/linux/arch/ia64/lib/
H A Dflush.S33 sub r22=in1,r0,1 // last byte address
36 shr.u r22=r22,r20 // (last byte address) / (stride size)
39 sub r8=r22,r23 // number of strides - 1
84 add r22=in1,in0
87 sub r22=r22,r0,1 // last byte address
90 shr.u r22=r22,r20 // (last byte address) / (stride size)
93 sub r8=r22,r23 // number of strides - 1
H A Dip_fast_csum.S48 ld4 r22=[in0],8
53 add r22=r22,r23
55 add r20=r20,r22
104 ld4 r22=[in0],4
112 add r17=r22,r23
H A Dmemcpy_mck.S44 #define dst_pre_l2 r22
298 shr.u r22=in2,4 // number of 16-byte iteration
318 shladd dst1=r22,3,dst0 // 2nd dest pointer
319 shladd src1=r22,3,src0 // 2nd src pointer
320 cmp.eq p8,p9=r22,r0 // do we really need to loop?
322 add cnt=-1,r22 // ctop iteration adjustment
508 EX(.ex_handler, (p6) ld8 r22=[src1]); /* common, prime for tail section */ \
515 shrp r21=r22,r38,shift; /* speculative work */ \
557 #define D r22
/openbmc/linux/arch/parisc/kernel/
H A Dpacache.S68 LDREG ITLB_SID_COUNT(%r1), %r22
91 addib,COND(<=),n -1, %r22, fitdone /* Outer loop count decr */
102 addib,COND(>) -1, %r22, fitoneloop /* Outer loop count decr */
112 LDREG DTLB_SID_COUNT(%r1), %r22
135 addib,COND(<=),n -1, %r22,fdtdone /* Outer loop count decr */
146 addib,COND(>) -1, %r22, fdtoneloop /* Outer loop count decr */
199 rsm PSW_SM_I, %r22 /* No mmgt ops during loop*/
243 mtsm %r22 /* restore I-bit */
260 rsm PSW_SM_I, %r22 /* No mmgt ops during loop*/
304 mtsm %r22 /* restore I-bit */
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Divt.S125 shr.u r22=r21,3
133 (p8) shr r22=r22,r27
137 shr.u r18=r22,PGDIR_SHIFT // get bottom portion of pgd index bit
152 shr.u r28=r22,PUD_SHIFT // shift pud index into position
154 shr.u r18=r22,PMD_SHIFT // shift pmd index into position
163 shr.u r18=r22,PMD_SHIFT // shift pmd index into position
173 shr.u r19=r22,PAGE_SHIFT // shift pte index into position
182 MOV_FROM_IHA(r22) // get the VHPT address that caused the TLB miss
190 MOV_TO_IFA(r22, r24)
238 (p6) ptc.l r22,r27 // purge PTE page translation
[all …]
H A Dminstate.h73 (pUStk) addl r22=IA64_RBS_OFFSET,r1; /* compute base of RBS */ \
76 (pUStk) lfetch.fault.excl.nt1 [r22]; \
80 (pUStk) mov ar.bspstore=r22; /* switch to kernel RBS */ \
108 (pUStk) sub r18=r18,r22; /* r18=RSE.ndirty*8 */ \
178 .mem.offset 0,0; st8.spill [r2]=r22,16; \
217 (pUStk) sub r16=r18,r22; \
242 mov ar.bspstore=r22 \
H A Dfsys.S201 add r22 = IA64_GTOD_WALL_TIME_OFFSET,r20 // wall_time
207 (p15) add r22 = IA64_GTOD_MONO_TIME_OFFSET,r20 // monotonic_time
239 ld8 r9 = [r22],IA64_TIME_SN_SPEC_SNSEC_OFFSET // sec
241 ld8 r8 = [r22],-IA64_TIME_SN_SPEC_SNSEC_OFFSET // snsec
478 addl r22=IA64_RBS_OFFSET,r2 // A compute base of RBS
482 lfetch.fault.excl.nt1 [r22] // M0|1 prefetch register backing-store
497 mov ar.bspstore=r22 // M2 (6 cyc) switch to kernel RBS
522 sub r22=r19,r18 // stime before leave kernel
527 add r20=r20,r22 // sum stime
538 SSM_PSR_I(p0, p6, r22) // M2 we're on kernel stacks now, reenable irqs
H A Dmca_drv_asm.S27 addl r22=IA64_RBS_OFFSET,r2
29 mov ar.bspstore=r22
H A Dentry.S171 adds r22=IA64_TASK_THREAD_KSP_OFFSET,r13
177 st8 [r22]=sp // save kernel stack pointer of old task
286 mov r22=b1
301 st8 [r14]=r22,SW(B4)-SW(B1) // save b1
374 ld8 r22=[r3],16 // restore b1
412 mov b1=r22
690 MOV_FROM_ITC(pUStk, p9, r22, r19) // fetch time at leave
734 mov r22=r0 // A clear r22
742 MOV_FROM_PSR(pKStk, r22, r21) // M2 read PSR now that interrupts are disabled
779 st8 [r14]=r22 // M save time at leave
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dbusy_loop.S20 std r22, 96(%r1)
65 li r22, 0x2222
66 std r22, -232(%r1)
125 cmpwi r22, 0x2222
164 li r22, 0xad
224 ld r22, -232(%r1)
225 cmpwi r22, 0x2222
260 ld r22, 96(%r1)
/openbmc/u-boot/include/
H A Dppc_asm.tmpl72 #define r22 22
170 stw r22,GPR22(r21); \
174 mfspr r22,SPRG1; \
175 stw r22,GPR21(r21); \
178 mfctr r22; \
179 stw r22,_CTR(r21); \
184 mfspr r22,reg1; \
194 * r21, r22 (SRR0), and r23 (SRR1).
209 stw r22,_NIP(r21); \
/openbmc/linux/arch/microblaze/lib/
H A Duaccess_old.S21 5: lwi r22, r6, 0x0010 + offset; \
29 13: swi r22, r5, 0x0010 + offset; \
109 swi r22, r1, 24
132 lwi r22, r1, 24
152 lwi r22, r1, 24
/openbmc/u-boot/arch/microblaze/cpu/
H A Dstart.S237 addi r22, r0, __end - 4 /* Include BSS too */
239 rsub r6, r21, r22
288 addik r22, r23, _got_end
289 cmpu r12, r21, r22
293 addik r22, r22, -0x10
300 cmpu r12, r21, r22 /* Check if this cross boundary */
/openbmc/linux/arch/parisc/include/asm/
H A Dunistd.h82 #define K_LOAD_ARGS_5(r26,r25,r24,r23,r22) \ argument
83 register unsigned long __r22 __asm__("r22") = (unsigned long)(r22); \
85 #define K_LOAD_ARGS_6(r26,r25,r24,r23,r22,r21) \ argument
87 K_LOAD_ARGS_5(r26,r25,r24,r23,r22)
/openbmc/linux/tools/testing/selftests/powerpc/include/
H A Dgpr_asm.h21 std r22,(top_pos - 72)(%r1); \
41 ld r22,(top_pos - 72)(%r1); \
78 ld r22,64(r3)
/openbmc/linux/arch/powerpc/kernel/
H A Didle_book3s.S69 std r22,-8*10(r1)
114 ld r22,-8*10(r1)
177 std r22,-8*10(r1)
/openbmc/linux/arch/powerpc/lib/
H A Dcopy_mc_64.S26 ld r22,STK_REG(R22)(r1)
98 std r22,STK_REG(R22)(r1)
123 err2; ld r22,120(r4)
140 err2; std r22,120(r3)
180 ld r22,STK_REG(R22)(r1)
H A Dcopyuser_64.S440 std r22,-104(1)
448 exc; ld r22,640(4)
462 exc; std r22,648(3)
480 exc; ld r22,656(4)
499 exc; std r22,648(3)
530 ld r22,-104(1)
550 ld r22,-104(1)
/openbmc/linux/tools/testing/selftests/powerpc/copyloops/
H A Dcopy_mc_64.S26 ld r22,STK_REG(R22)(r1)
98 std r22,STK_REG(R22)(r1)
123 err2; ld r22,120(r4)
140 err2; std r22,120(r3)
180 ld r22,STK_REG(R22)(r1)
H A Dcopyuser_64.S440 std r22,-104(1)
448 exc; ld r22,640(4)
462 exc; std r22,648(3)
480 exc; ld r22,656(4)
499 exc; std r22,648(3)
530 ld r22,-104(1)
550 ld r22,-104(1)
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dstart.S270 stw r22,_NIP(r21)
271 lis r22,MSR_POW@h
272 andc r23,r23,r22
281 li r22,0
282 stw r22,RESULT(r21)
283 mtspr SPRG2,r22 /* r1 is now kernel sp */
/openbmc/qemu/tests/tcg/loongarch64/system/
H A Dregdef.h32 #define fp $r22 /* frame pointer */
65 #define gr22 $r22
/openbmc/linux/arch/csky/abiv2/
H A Dmemcpy.S44 ldw r22, (r1, 8)
48 stw r22, (r0, 8)
H A Dmemmove.S50 ldw r22, (r1, 8)
54 stw r22, (r0, 8)

123456