Home
last modified time | relevance | path

Searched refs:r1 (Results 1 – 200 of 713) sorted by relevance

1234

/linux-4.4.14/arch/powerpc/platforms/ps3/
Dhvcall.S31 std r0, 16(r1); \
36 ld r0, 16(r1); \
53 std r0, 16(r1); \
55 stdu r3, -8(r1); \
60 addi r1, r1, 8; \
61 ld r11, -8(r1); \
64 ld r0, 16(r1); \
72 std r0, 16(r1); \
74 std r3, -8(r1); \
75 stdu r4, -16(r1); \
[all …]
/linux-4.4.14/arch/microblaze/kernel/
Dmcount.S18 addik r1, r1, -120; \
19 swi r2, r1, 4; \
20 swi r3, r1, 8; \
21 swi r4, r1, 12; \
22 swi r5, r1, 116; \
23 swi r6, r1, 16; \
24 swi r7, r1, 20; \
25 swi r8, r1, 24; \
26 swi r9, r1, 28; \
27 swi r10, r1, 32; \
[all …]
Dentry.S178 swi r2, r1, PT_R2; /* Save SDA */ \
179 swi r3, r1, PT_R3; \
180 swi r4, r1, PT_R4; \
181 swi r5, r1, PT_R5; \
182 swi r6, r1, PT_R6; \
183 swi r7, r1, PT_R7; \
184 swi r8, r1, PT_R8; \
185 swi r9, r1, PT_R9; \
186 swi r10, r1, PT_R10; \
187 swi r11, r1, PT_R11; /* save clobbered regs after rval */\
[all …]
Dentry-nommu.S54 swi r1, r0, PER_CPU(ENTRY_SP) /* save the current sp */
60 addik r1, r1, (-PT_SIZE) /* room for pt_regs (delay slot) */
62 lwi r1, r0, PER_CPU(CURRENT_SAVE) /* get the saved current */
63 lwi r1, r1, TS_THREAD_INFO /* get the thread info */
65 addik r1, r1, THREAD_SIZE - PT_SIZE
67 swi r11, r1, PT_MODE /* store the mode */
69 swi r2, r1, PT_R2
70 swi r3, r1, PT_R3
71 swi r4, r1, PT_R4
72 swi r5, r1, PT_R5
[all …]
Dhw_exception_handler.S88 lwi r5, r1, 0; \
91 lwi r3, r1, PT_R3; \
92 lwi r4, r1, PT_R4; \
93 lwi r5, r1, PT_R5; \
94 lwi r6, r1, PT_R6; \
95 lwi r11, r1, PT_R11; \
96 lwi r31, r1, PT_R31; \
97 lwi r1, r1, PT_R1;
114 swi r3, r1, 4 * regnum; \
124 lwi r3, r1, 4 * regnum; \
[all …]
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dbusy_loop.S11 stdu %r1, -168(%r1)
12 std r14, 160(%r1)
13 std r15, 152(%r1)
14 std r16, 144(%r1)
15 std r17, 136(%r1)
16 std r18, 128(%r1)
17 std r19, 120(%r1)
18 std r20, 112(%r1)
19 std r21, 104(%r1)
20 std r22, 96(%r1)
[all …]
Debb_handler.S11 #define r1 1 macro
65 #define SAVE_GPR(n) std n,GPR_SAVE(n)(r1)
66 #define REST_GPR(n) ld n,GPR_SAVE(n)(r1)
69 #define SAVE_VSR(n, b) li b, VSR_SAVE(n); stxvd2x n,b,r1
70 #define LOAD_VSR(n, b) li b, VSR_SAVE(n); lxvd2x n,b,r1
103 stdu r1,-STACK_FRAME(r1)
106 std r0,LR_SAVE(r1)
108 std r0,CCR_SAVE(r1)
110 std r0,CTR_SAVE(r1)
112 std r0,XER_SAVE(r1)
[all …]
/linux-4.4.14/arch/nios2/boot/compressed/
Dhead.S25 movia r1, NIOS2_ICACHE_SIZE
27 1: initi r1
28 sub r1, r1, r2
29 bgt r1, r0, 1b
31 movia r1, NIOS2_DCACHE_SIZE
33 1: initd 0(r1)
34 sub r1, r1, r2
35 bgt r1, r0, 1b
37 nextpc r1 /* Find out where we are */
40 beq r1, r2, finish_move /* We are running in correct address,
[all …]
/linux-4.4.14/arch/tile/lib/
Dusercopy_64.S30 { beqz r1, 2f; or r2, r0, r1 }
33 1: { st1 r0, zero; addi r0, r0, 1; addi r1, r1, -1 }
34 bnezt r1, 1b
35 2: { move r0, r1; jrp lr }
42 1: { st r0, zero; addi r0, r0, 8; addi r1, r1, -8 }
43 bnezt r1, 1b
44 2: { move r0, r1; jrp lr }
57 beqz r1, 2f
58 { movei r2, L2_CACHE_BYTES; add r1, r0, r1 }
59 { sub r2, zero, r2; addi r1, r1, L2_CACHE_BYTES-1 }
[all …]
Dusercopy_32.S30 { bz r1, 2f; or r2, r0, r1 }
33 1: { sb r0, zero; addi r0, r0, 1; addi r1, r1, -1 }
34 bnzt r1, 1b
35 2: { move r0, r1; jrp lr }
42 1: { sw r0, zero; addi r0, r0, 4; addi r1, r1, -4 }
43 bnzt r1, 1b
44 2: { move r0, r1; jrp lr }
57 bz r1, 2f
58 { movei r2, L2_CACHE_BYTES; add r1, r0, r1 }
59 { sub r2, zero, r2; addi r1, r1, L2_CACHE_BYTES-1 }
[all …]
Dmemcpy_32.S91 { sw sp, lr; move r23, r0; or r4, r0, r1 }
97 { move r24, r1; move r25, r2 }
108 { andi r6, r1, 63; j .Lcopy_many }
118 EX: { lw r3, r1; addi r1, r1, 4; slti_u r8, r2, 16 }
119 EX: { lw r4, r1; addi r1, r1, 4 }
127 EX: { lw r3, r1; addi r1, r1, 4 }
146 EX: { lw r3, r1; addi r1, r1, 4 }
147 { andi r6, r1, 63 }
152 { addi r3, r1, 60; andi r9, r9, -64 }
182 { jal .Lcopy_line2; add r15, r1, r2 }
[all …]
/linux-4.4.14/arch/arc/lib/
Dstrlen.S18 asl_s r1,r0,3
20 asl r7,r4,r1
22 sub r1,r2,r7
23 bic_s r1,r1,r2
27 or.eq r12,r12,r1
33 mov_s r1,31
34 sub3 r7,r1,r0
35 sub r1,r2,r4
36 bic_s r1,r1,r2
37 bmsk r1,r1,r7
[all …]
Dmemcmp.S20 or r12,r0,r1
25 ld r5,[r1,0]
42 ld_s r12,[r1,4]
45 ld.a r5,[r1,8]
57 ld r5,[r1,4]
64 sub_s r1,r0,1
65 bic_s r1,r1,r0
66 norm r1,r1
68 and r1,r1,24
71 sub_s r1,r0,1
[all …]
Dmemset.S17 extb_s r1,r1
18 asl r3,r1,8
20 or_s r1,r1,r3
23 stb r1,[r3,-1]
25 stw r1,[r3,-2]
29 stb.ab r1,[r4,1]
31 stw.ab r1,[r4,2]
34 asl r3,r1,16
36 or_s r1,r1,r3
38 st.ab r1,[r4,4]
[all …]
Dstrcmp.S19 or r2,r0,r1
26 ld.ab r3,[r1,4]
35 sub_s r1,r0,1
36 bic_s r0,r0,r1 ; mask for least significant difference bit
37 sub r1,r5,r0
38 xor r0,r5,r1 ; mask for least significant difference byte
52 sub_s r1,r0,1
53 bic_s r0,r0,r1 ; mask for least significant difference bit
54 sub r1,r5,r0
55 xor r0,r5,r1 ; mask for least significant difference byte
[all …]
Dmemcpy-archs.S44 prefetch [r1] ; Prefetch the read location
60 ldb.ab r5, [r1,1]
66 and.f r4, r1, 0x03
74 LOADX (r6, r1)
75 PREFETCH_READ (r1)
77 LOADX (r8, r1)
78 LOADX (r10, r1)
79 LOADX (r4, r1)
90 ldb.ab r5, [r1,1]
103 ldb.ab r5, [r1, 1]
[all …]
Dstrcpy-700.S22 or r2,r0,r1
26 ld_s r3,[r1,0]
28 bbit0.d r1,2,loop_start
37 ld.a r3,[r1,4]
40 ld.a r4,[r1,4]
52 r3z: bmsk.f r1,r3,7
55 r3z: lsr.f r1,r3,24
59 stb.ab r1,[r10,1]
64 ldb.ab r3,[r1,1]
Dmemcpy-700.S12 or r3,r0,r1
17 ld_s r12,[r1,0]
22 ld.a r12,[r1,4]
25 ld_s r3,[r1,4]
27 ld.a r12,[r1,8]
52 ldb_s r12,[r1,0]
56 ldb.a r12,[r1,1]
59 ldb_s r3,[r1,1]
61 ldb.a r12,[r1,2]
/linux-4.4.14/arch/blackfin/mach-bf561/
Datomic.S41 r1 = -L1_CACHE_BYTES; define
42 r1 = r0 & r1; define
51 p0 = r1;
95 r1 = 0; define
96 [p0] = r1;
203 p1 = r1;
210 r1 = 1; define
211 r1 <<= r2;
212 r2 = ~r1;
214 r1 = [p1]; define
[all …]
/linux-4.4.14/crypto/
Dserpent_generic.c237 u32 r0, r1, r2, r3, r4; in __serpent_setkey() local
252 r1 = le32_to_cpu(k[4]); in __serpent_setkey()
258 keyiter(le32_to_cpu(k[1]), r1, r0, r3, 1, 1); in __serpent_setkey()
259 keyiter(le32_to_cpu(k[2]), r2, r1, r4, 2, 2); in __serpent_setkey()
261 keyiter(le32_to_cpu(k[4]), r4, r3, r1, 4, 4); in __serpent_setkey()
263 keyiter(le32_to_cpu(k[6]), r1, r0, r3, 6, 6); in __serpent_setkey()
264 keyiter(le32_to_cpu(k[7]), r2, r1, r4, 7, 7); in __serpent_setkey()
267 keyiter(k[1], r4, r3, r1, 9, 9); in __serpent_setkey()
269 keyiter(k[3], r1, r0, r3, 11, 11); in __serpent_setkey()
270 keyiter(k[4], r2, r1, r4, 12, 12); in __serpent_setkey()
[all …]
/linux-4.4.14/arch/arm/mach-tegra/
Dsleep-tegra30.S187 str r12, [r1]
195 ldr r3, [r1] @ read CSR
196 str r3, [r1] @ clear CSR
265 mov32 r1, tegra30_iram_start
266 sub r0, r0, r1
267 mov32 r1, TEGRA_IRAM_LPx_RESUME_AREA
268 add r0, r0, r1
329 mov r1, #(1 << 28)
330 str r1, [r0, #CLK_RESET_SCLK_BURST]
331 str r1, [r0, #CLK_RESET_CCLK_BURST]
[all …]
Dsleep-tegra20.S100 mov32 r1, TEGRA_IRAM_RESET_BASE_VIRT
103 strb r12, [r1, r2]
105 cpu_to_halt_reg r1, r0
108 str r2, [r3, r1] @ put flow controller in wait event mode
109 ldr r2, [r3, r1]
112 movw r1, 0x1011
113 mov r1, r1, lsl r0
115 str r1, [r3, #0x340] @ put slave CPU in reset
150 add r1, r3, #PMC_SCRATCH37
160 str r12, [r1] @ !turn = cpu
[all …]
Dreset-handler.S59 cpu_to_csr_reg r1, r0
61 ldr r1, [r2, r1]
63 orr r1, r1, \
67 bic r1, r1, r0
68 str r1, [r2]
77 ldr r1, [r0]
78 orr r1, r1, #1
79 str r1, [r0]
237 mov r1, r0, lsl r10
238 str r1, [r7, #0x340] @ CLK_RST_CPU_CMPLX_SET
[all …]
/linux-4.4.14/arch/openrisc/kernel/
Dentry.S54 l.lwz r3,PT_PC(r1) ;\
56 l.lwz r3,PT_SR(r1) ;\
58 l.lwz r2,PT_GPR2(r1) ;\
59 l.lwz r3,PT_GPR3(r1) ;\
60 l.lwz r4,PT_GPR4(r1) ;\
61 l.lwz r5,PT_GPR5(r1) ;\
62 l.lwz r6,PT_GPR6(r1) ;\
63 l.lwz r7,PT_GPR7(r1) ;\
64 l.lwz r8,PT_GPR8(r1) ;\
65 l.lwz r9,PT_GPR9(r1) ;\
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dentry_64.S63 mr r10,r1
64 addi r1,r1,-INT_FRAME_SIZE
66 ld r1,PACAKSAVE(r13)
67 1: std r10,0(r1)
68 std r11,_NIP(r1)
69 std r12,_MSR(r1)
70 std r0,GPR0(r1)
71 std r10,GPR1(r1)
74 2: std r2,GPR2(r1)
75 std r3,GPR3(r1)
[all …]
Dentry_32.S97 rlwimi r0,r1,0,0,(31-THREAD_SHIFT)
121 rlwimi r0,r1,0,0,(31-THREAD_SHIFT)
152 addi r11,r1,STACK_FRAME_OVERHEAD
167 CURRENT_THREAD_INFO(r9, r1)
184 cmplw r1,r9 /* if r1 <= ksp_limit */
188 CURRENT_THREAD_INFO(r9, r1)
210 lwz r12,_MSR(r1)
229 stwu r1,-32(r1)
230 stw r9,8(r1)
231 stw r11,12(r1)
[all …]
Didle_power7.S44 std r0,0(r1); \
46 ld r0,0(r1); \
87 std r0,16(r1)
88 stdu r1,-INT_FRAME_SIZE(r1)
89 std r0,_LINK(r1)
90 std r0,_NIP(r1)
111 addi r1,r1,INT_FRAME_SIZE
112 ld r0,16(r1)
129 SAVE_GPR(2, r1)
130 SAVE_NVGPRS(r1)
[all …]
Dexceptions-64e.S62 std reg, (SPECIAL_EXC_##name * 8 + SPECIAL_EXC_FRAME_OFFS)(r1)
65 ld reg, (SPECIAL_EXC_##name * 8 + SPECIAL_EXC_FRAME_OFFS)(r1)
75 ld r3,_MSR(r1)
82 CURRENT_THREAD_INFO(r12, r1)
144 ld r10,_NIP(r1)
146 ld r10,_MSR(r1)
152 ld r3,_MSR(r1)
180 REST_NVGPRS(r1)
210 ld r5,SOFTE(r1)
235 stdcx. r0,0,r1 /* to clear the reservation */
[all …]
Dexceptions-64s.S478 mr r11,r1 /* Save r1 */
483 ld r1,PACAMCEMERGSP(r13) /* Use MC emergency stack */
484 0: subi r1,r1,INT_FRAME_SIZE /* alloc stack frame */
490 std r11,GPR1(r1) /* Save r1 on the stack. */
491 std r11,0(r1) /* make stack chain pointer */
493 std r11,_NIP(r1)
495 std r11,_MSR(r1)
497 std r11,_DAR(r1)
499 std r11,_DSISR(r1)
500 std r9,_CCR(r1) /* Save CR in stackframe */
[all …]
Dtm.S103 stw r6, 8(r1)
104 std r0, 16(r1)
105 std r2, STK_GOT(r1)
106 stdu r1, -TM_FRAME_SIZE(r1)
110 std r3, STK_PARAM(R3)(r1)
111 SAVE_NVGPRS(r1)
133 std r14, TM_FRAME_L0(r1)
136 std r1, PACAR1(r13)
195 std r1, PACATMSCRATCH(r13)
196 ld r1, PACAR1(r13)
[all …]
Dhead_32.S259 tophys(r11,r1); /* use tophys(r1) if kernel */ \
281 stw r1,GPR1(r11); \
282 stw r1,0(r11); \
283 tovirt(r1,r11); /* set new kernel sp */ \
309 addi r3,r1,STACK_FRAME_OVERHEAD; \
373 addi r3,r1,STACK_FRAME_OVERHEAD
427 addi r3,r1,STACK_FRAME_OVERHEAD
448 1: addi r3,r1,STACK_FRAME_OVERHEAD
498 lis r1,PAGE_OFFSET@h /* check if kernel address */
499 cmplw 0,r1,r3
[all …]
Dvector.S139 std r12,_MSR(r1)
253 std r12,_MSR(r1)
332 stwu r1,-64(r1)
334 stdu r1,-64(r1)
340 stfd fr0,24(r1)
341 stfd fr1,16(r1)
342 stfd fr31,8(r1)
351 lfd fr31,8(r1)
352 lfd fr1,16(r1)
353 lfd fr0,24(r1)
[all …]
Didle_e500.S24 CURRENT_THREAD_INFO(r3, r1)
52 stwu r1,-16(r1)
54 stw r0,20(r1)
56 lwz r0,20(r1)
57 addi r1,r1,16
90 CURRENT_THREAD_INFO(r12, r1)
Didle_book3e.S28 std r0,16(r1)
45 stdu r1,-128(r1)
47 addi r1,r1,128
58 ld r0,16(r1)
65 CURRENT_THREAD_INFO(r11, r1)
Didle_power4.S47 std r0,16(r1)
48 stdu r1,-128(r1)
50 addi r1,r1,128
51 ld r0,16(r1)
62 CURRENT_THREAD_INFO(r9, r1)
/linux-4.4.14/arch/powerpc/include/asm/
Dftrace.h13 stwu r1,-48(r1); \
14 stw r3, 12(r1); \
15 stw r4, 16(r1); \
16 stw r5, 20(r1); \
17 stw r6, 24(r1); \
19 lwz r4, 52(r1); \
21 stw r7, 28(r1); \
22 stw r8, 32(r1); \
23 stw r9, 36(r1); \
24 stw r10,40(r1); \
[all …]
Dirqflags.h23 stdu r1, -STACK_FRAME_OVERHEAD(r1); \
24 std r0, 16(r1); \
25 stdu r1, -STACK_FRAME_OVERHEAD(r1); \
27 ld r1, 0(r1); \
28 ld r1, 0(r1);
Dexception-64s.h291 mr r10,r1; /* Save r1 */ \
292 subi r1,r1,INT_FRAME_SIZE; /* alloc frame on kernel stack */ \
294 ld r1,PACAKSAVE(r13); /* kernel stack to use */ \
295 1: cmpdi cr1,r1,-INT_FRAME_SIZE; /* check if r1 is in userspace */ \
297 li r1,(n); /* will be reloaded later */ \
298 sth r1,PACA_TRAP_SAVE(r13); \
301 RESTORE_CTR(r1, area); \
303 3: std r9,_CCR(r1); /* save CR in stackframe */ \
304 std r11,_NIP(r1); /* save SRR0 in stackframe */ \
305 std r12,_MSR(r1); /* save SRR1 in stackframe */ \
[all …]
/linux-4.4.14/arch/s390/kernel/
Dswsusp.S29 lgr %r1,%r15
31 stg %r1,__SF_BACKCHAIN(%r15)
46 lghi %r1,0x1000
52 mvc 0x318(4,%r1),__SF_EMPTY(%r15) /* move prefix to lowcore */
53 stam %a0,%a15,0x340(%r1) /* store access registers */
54 stctg %c0,%c15,0x380(%r1) /* store control registers */
55 stmg %r0,%r15,0x280(%r1) /* store general registers */
57 stpt 0x328(%r1) /* store timer */
59 stckc 0x330(%r1) /* store clock comparator */
63 slg %r0,0x328(%r1)
[all …]
Dreipl.S21 stg %r1,__LC_SAVE_AREA_RESTART
22 lghi %r1,SAVE_AREA_BASE
24 stmg %r0,%r15,__LC_GPREGS_SAVE_AREA-SAVE_AREA_BASE(%r1)
26 stg %r2,__LC_GPREGS_SAVE_AREA-SAVE_AREA_BASE+8(%r1)
28 stctg %c0,%c15,__LC_CREGS_SAVE_AREA-SAVE_AREA_BASE(%r1)
30 stam %a0,%a15,__LC_AREGS_SAVE_AREA-SAVE_AREA_BASE(%r1)
32 std %f0, 0x00 + __LC_FPREGS_SAVE_AREA-SAVE_AREA_BASE(%r1)
33 std %f1, 0x08 + __LC_FPREGS_SAVE_AREA-SAVE_AREA_BASE(%r1)
34 std %f2, 0x10 + __LC_FPREGS_SAVE_AREA-SAVE_AREA_BASE(%r1)
35 std %f3, 0x18 + __LC_FPREGS_SAVE_AREA-SAVE_AREA_BASE(%r1)
[all …]
Dbase.S18 larl %r1,s390_base_mcck_handler_fn
19 lg %r1,0(%r1)
20 ltgr %r1,%r1
22 basr %r14,%r1
23 1: la %r1,4095
24 lmg %r0,%r15,__LC_GPREGS_SAVE_AREA-4095(%r1)
38 larl %r1,s390_base_ext_handler_fn
39 lg %r1,0(%r1)
40 ltgr %r1,%r1
42 basr %r14,%r1
[all …]
Dmcount.S29 lgr %r1,%r15
34 stg %r1,__SF_BACKCHAIN(%r15)
35 stg %r1,(STACK_PTREGS_GPRS+15*8)(%r15)
41 lgrl %r1,ftrace_trace_function
47 larl %r1,ftrace_trace_function
48 lg %r1,0(%r1)
52 basr %r14,%r1
65 lg %r1,(STACK_PTREGS_PSW+8)(%r15)
67 br %r1
73 lgr %r1,%r15
[all …]
/linux-4.4.14/arch/m32r/mm/
Dmmu.S31 st r1, @-sp
36 ld r1, @(MESTS_offset, r3) ; r1: status (MESTS reg.)
38 st r1, @(MESTS_offset, r3) ; clear status (MESTS reg.)
39 and3 r1, r1, #(MESTS_IT)
40 bnez r1, 1f ; instruction TLB miss?
45 ;; r1 - r3: free
48 ;; r1: TLB entry base address
56 ldi r1, #-8192
59 and r1, sp
60 ld r1, @(16, r1) ; current_thread_info->cpu
[all …]
Dpage.S28 ld r4, @r1+
29 ld r5, @r1+
30 ld r6, @r1+
31 ld r7, @r1+
38 ld r4, @r1+
40 ld r5, @r1+
41 ld r6, @r1+
42 ld r7, @r1+
/linux-4.4.14/arch/hexagon/kernel/
Dhead.S53 r1.h = #HI(PAGE_OFFSET);
54 r1.l = #LO(PAGE_OFFSET);
55 r24 = sub(r24,r1); /* swapper_pg_dir - PAGE_OFFSET */
75 r1.l = #LO(_end);
80 r1.h = #HI(_end);
85 r1 = sub(r1, r2); define
88 r1 = add(r1, r3); /* + (4M-1) */ define
89 r26 = lsr(r1, #22); /* / 4M = # of entries */
91 r1 = r25; define
94 r1 = and(r1,r2); define
[all …]
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dsleep.S62 stw r0,4(r1)
63 stwu r1,-SL_SIZE(r1)
65 stw r0,SL_CR(r1)
66 stw r2,SL_R2(r1)
67 stmw r12,SL_R12(r1)
71 stw r4,SL_MSR(r1)
73 stw r4,SL_SDR1(r1)
77 stw r4,SL_TB(r1)
79 stw r5,SL_TB+4(r1)
86 stw r4,SL_SPRG0(r1)
[all …]
/linux-4.4.14/arch/powerpc/platforms/pseries/
DhvCall.S37 std r3,STK_PARAM(R3)(r1); \
38 std r4,STK_PARAM(R4)(r1); \
39 std r5,STK_PARAM(R5)(r1); \
40 std r6,STK_PARAM(R6)(r1); \
41 std r7,STK_PARAM(R7)(r1); \
42 std r8,STK_PARAM(R8)(r1); \
43 std r9,STK_PARAM(R9)(r1); \
44 std r10,STK_PARAM(R10)(r1); \
45 std r0,16(r1); \
46 addi r4,r1,STK_PARAM(FIRST_REG); \
[all …]
/linux-4.4.14/arch/m32r/lib/
Dmemset.S35 stb r1, @r4 || addi r4, #1
41 and3 r1, r1, #0x00ff /* r1: abababab <-- ??????ab */
42 sll3 r3, r1, #8
43 or r1, r3 || addi r4, #-4
44 sll3 r3, r1, #16
45 or r1, r3 || addi r2, #-4
47 st r1, @+r4 || addi r2, #-4
50 st r1, @+r4
57 and3 r1, r1, #0x00ff /* r1: abababab <-- ??????ab */
58 sll3 r3, r1, #8
[all …]
Dashxdi3.S9 ; input (r0,r1) src
12 ; output (r0,r1)
27 mv r1, r0 || srai r0, #31
29 sra r1, r2
33 mv r3, r0 || srl r1, r2
36 or r1, r3 || jmp r14
47 mv r0, r1 || addi r2, #-32
48 sll r0, r2 || ldi r1, #0
52 mv r3, r1 || sll r0, r2
53 sll r1, r2 || neg r2, r2
[all …]
Dstrlen.S28 ld r1, @r6+ || not r4, r0
32 ld r0, @r6+ || not r4, r1
33 sub r1, r5 || and r4, r7
34 and r4, r1 || addi r2, #4
43 ldb r1, @r6 || addi r6, #1
44 beqz r1, strlen_exit
51 ldb r1, @r6 || addi r6, #1
52 addi r0, #-1 || cmpz r1
75 ld r1, @r6+
84 not r4, r1 ; NOTE: If a null char. exists, return 0.
[all …]
Dmemcpy.S24 or r7, r1 || cmpz r2
25 jc r14 || cmpeq r0, r1 ; return if r2=0
26 jc r14 ; return if r0=r1
35 ld r7, @r1+ || addi r3, #-1
41 ldb r7, @r1 || addi r1, #1
46 ldb r7, @r1 || addi r1, #1
63 or r7, r1
64 beq r0, r1, end_memcopy
74 ld r7, @r1+
81 ldb r7, @r1
[all …]
Dchecksum.S56 ; r1: int len
65 cmp r0, r0 || addi r1, #-1
73 cmp r0, r0 || addi r1, #-2
74 bgtz r1, 1f ; Jump if we had at least two bytes.
75 bra 4f || addi r1, #2
76 .fillinsn ; len(r1) was < 2. Deal with it.
86 srl3 r6, r1, #5
106 2: and3 r6, r1, #0x1c ; withdraw len
118 4: and3 r1, r1, #3
119 beqz r1, 7f ; if len == 0 goto end
[all …]
/linux-4.4.14/arch/arm/lib/
Dmemset.S28 1: orr r1, r1, r1, lsl #8
29 orr r1, r1, r1, lsl #16
30 mov r3, r1
43 mov r8, r1
44 mov lr, r1
47 stmgeia ip!, {r1, r3, r8, lr} @ 64 bytes at a time.
48 stmgeia ip!, {r1, r3, r8, lr}
49 stmgeia ip!, {r1, r3, r8, lr}
50 stmgeia ip!, {r1, r3, r8, lr}
57 stmneia ip!, {r1, r3, r8, lr}
[all …]
Dmemmove.S33 subs ip, r0, r1
42 add r1, r1, r2
47 PLD( pld [r1, #-4] )
49 ands ip, r1, #3
69 PLD( pld [r1, #-4] )
71 PLD( pld [r1, #-32] )
73 PLD( pld [r1, #-64] )
74 PLD( pld [r1, #-96] )
76 3: PLD( pld [r1, #-128] )
77 4: ldmdb r1!, {r3, r4, r5, r6, r7, r8, ip, lr}
[all …]
Dmemzero.S23 1: subs r1, r1, #4 @ 1 do we have enough
29 add r1, r1, r3 @ 1 (r1 = r1 - (4 - r3))
42 cmp r1, #16 @ 1 we can skip this chunk if we
58 3: subs r1, r1, #64 @ 1 write 32 bytes out per loop
68 tst r1, #32 @ 1
71 tst r1, #16 @ 1 16 bytes or more?
94 cmp r1, #96
99 sub r1, r1, ip
106 3: subs r1, r1, #64
112 tst r1, #32
[all …]
Dbitops.h8 ands ip, r1, #3
9 strneb r1, [ip] @ assert word-aligned
13 add r1, r1, r0, lsl #2 @ Get word offset
16 ALT_SMP(W(pldw) [r1])
20 1: ldrex r2, [r1]
22 strex r0, r2, [r1]
33 ands ip, r1, #3
34 strneb r1, [ip] @ assert word-aligned
38 add r1, r1, r0, lsl #2 @ Get word offset
43 ALT_SMP(W(pldw) [r1])
[all …]
Dcopy_template.S86 PLD( pld [r1, #0] )
88 ands ip, r1, #3
108 PLD( pld [r1, #0] )
110 PLD( pld [r1, #28] )
112 PLD( pld [r1, #60] )
113 PLD( pld [r1, #92] )
115 3: PLD( pld [r1, #124] )
116 4: ldr8w r1, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f
134 ldr1w r1, r3, abort=20f
135 ldr1w r1, r4, abort=20f
[all …]
Dclear_user.S25 UNWIND(.save {r1, lr})
26 stmfd sp!, {r1, lr}
28 cmp r1, #4
37 sub r1, r1, ip @ 7 6 5 4 3 2 1
38 1: subs r1, r1, #8 @ -1 -2 -3 -4 -5 -6 -7
41 adds r1, r1, #4 @ 3 2 1 0 -1 -2 -3
43 2: tst r1, #2 @ 1x 1x 0x 0x 1x 1x 0x
45 tst r1, #1 @ x1 x0 x1 x0 x1 x0 x1
49 ldmfd sp!, {r1, pc}
Dbswapsdi2.S12 rev r0, r1
13 mov r1, r3
26 mov ip, r1
28 eor r1, r0, r0, ror #16
29 mov r1, r1, lsr #8
32 bic r1, r1, #0xff00
33 eor r1, r1, r0, ror #8
Dio-readsl.S16 ands ip, r1, #3
27 stmia r1!, {r3, r4, ip, lr}
33 stmcsia r1!, {r3, ip}
35 strne r3, [r1, #0]
41 strb ip, [r1], #1
44 strb ip, [r1], #1
47 strb ip, [r1], #1
53 strne ip, [r1], #4
61 strne ip, [r1], #4
69 strne ip, [r1], #4
[all …]
Dlib1funcs.S212 subs r2, r1, #1
215 cmp r0, r1
217 tst r1, r2
220 ARM_DIV_BODY r0, r1, r2, r3
229 12: ARM_DIV2_ORDER r1, r2
241 subs r2, r1, #1 @ compare divisor with 1
243 cmpne r0, r1 @ compare dividend with divisor
245 tsthi r1, r2 @ see if divisor is power of 2
249 ARM_MOD_BODY r0, r1, r2, r3
260 cmp r1, #0
[all …]
Dio-writesw-armv4.S25 .Loutsw_align: movs ip, r1, lsl #31
28 ldrh r3, [r1], #2
35 ands r3, r1, #3
43 .Loutsw_8_lp: ldmia r1!, {r3, r4, r5, ip}
54 ldmia r1!, {r3, ip}
61 ldr r3, [r1], #4
64 .Lno_outsw_2: ldrneh r3, [r1]
78 ARM( ldr r3, [r1, -r3]! )
80 THUMB( ldr r3, [r1, r3] )
81 THUMB( sub r1, r3 )
[all …]
Dio-writesl.S16 ands ip, r1, #3
22 1: ldmia r1!, {r3, r4, ip, lr}
31 ldmcsia r1!, {r3, ip}
33 ldrne r3, [r1, #0]
38 3: bic r1, r1, #3
39 ldr r3, [r1], #4
45 ldr r3, [r1], #4
53 ldr r3, [r1], #4
61 ldr r3, [r1], #4
Dcopy_page.S29 PLD( pld [r1, #0] )
30 PLD( pld [r1, #L1_CACHE_BYTES] )
32 ldmia r1!, {r3, r4, ip, lr} @ 4+1
33 1: PLD( pld [r1, #2 * L1_CACHE_BYTES])
34 PLD( pld [r1, #3 * L1_CACHE_BYTES])
38 ldmia r1!, {r3, r4, ip, lr} @ 4
42 ldmgtia r1!, {r3, r4, ip, lr} @ 4
44 PLD( ldmeqia r1!, {r3, r4, ip, lr} )
Dio-readsw-armv4.S21 .Linsw_align: movs ip, r1, lsl #31
25 strh ip, [r1], #2
30 tst r1, #3
55 stmia r1!, {r3 - r5, ip}
69 stmia r1!, {r3, r4}
77 str r3, [r1], #4
80 strneh r3, [r1]
97 ldrccb ip, [r1, #-1]!
103 strb ip, [r1], #1
116 str ip, [r1], #4
[all …]
Dio-writesb.S37 ldrb r3, [r1], #1
39 ldrgeb r3, [r1], #1
41 ldrgtb r3, [r1], #1
49 ands ip, r1, #3
58 .Loutsb_16_lp: ldmia r1!, {r3, r4, r5, ip}
72 ldmia r1!, {r3, r4}
79 ldr r3, [r1], #4
86 ldrb r3, [r1], #1
88 ldrgeb r3, [r1], #1
90 ldrgtb r3, [r1]
Dfindbit.S25 teq r1, #0
35 2: cmp r2, r1 @ any more?
37 3: mov r0, r1 @ no free bits
46 teq r1, #0
66 teq r1, #0
76 2: cmp r2, r1 @ any more?
78 3: mov r0, r1 @ no free bits
87 teq r1, #0
104 teq r1, #0
114 2: cmp r2, r1 @ any more?
[all …]
/linux-4.4.14/arch/parisc/kernel/
Dsyscall.S109 mfsp %sr7,%r1 /* save user sr7 */
110 mtsp %r1,%sr3 /* and store it in sr3 */
119 ssm PSW_SM_W, %r1
120 extrd,u %r1,PSW_W_BIT,1,%r1
123 or,ev %r1,%r30,%r30
136 mfctl %cr30,%r1
137 xor %r1,%r30,%r30 /* ye olde xor trick */
138 xor %r1,%r30,%r1
139 xor %r1,%r30,%r30
150 STREGM %r1,FRAME_SIZE(%r30) /* save r1 (usp) here for now */
[all …]
Dentry.S70 load32 KERNEL_PSW, %r1
75 mtctl %r1, %ipsw
76 load32 4f, %r1
77 mtctl %r1, %cr18 /* Set IIAOQ tail */
78 ldo 4(%r1), %r1
79 mtctl %r1, %cr18 /* Set IIAOQ head */
119 mfctl %cr30, %r1
120 ldo THREAD_SZ_ALGN(%r1), %r30
123 tophys %r1,%r9
124 LDREG TI_TASK(%r9), %r1 /* thread_info -> task_struct */
[all …]
Dpacache.S58 load32 PA(1f), %r1
68 mtctl %r1, %cr18 /* IIAOQ head */
69 ldo 4(%r1), %r1
70 mtctl %r1, %cr18 /* IIAOQ tail */
71 load32 REAL_MODE_PSW, %r1
72 mtctl %r1, %ipsw
76 1: load32 PA(cache_info), %r1
80 LDREG ITLB_SID_BASE(%r1), %r20
81 LDREG ITLB_SID_STRIDE(%r1), %r21
82 LDREG ITLB_SID_COUNT(%r1), %r22
[all …]
Dreal2.S125 # define PUSH_CR(r, where) mfctl r, %r1 ! STREG,ma %r1, REG_SZ(where)
126 # define POP_CR(r, where) LDREG,mb -REG_SZ(where), %r1 ! mtctl %r1, r
165 load32 PA(rfi_v2r_1), %r1
175 mtctl %r1, %cr18 /* IIAOQ head */
176 ldo 4(%r1), %r1
177 mtctl %r1, %cr18 /* IIAOQ tail */
178 load32 REAL_MODE_PSW, %r1
179 mtctl %r1, %cr22
199 load32 (rfi_r2v_1), %r1
209 mtctl %r1, %cr18 /* IIAOQ head */
[all …]
/linux-4.4.14/arch/nios2/kernel/
Dhead.S68 movia r1, NIOS2_ICACHE_SIZE
72 initi r1
73 sub r1, r1, r2
74 bgt r1, r0, icache_init
118 movia r1, NIOS2_DCACHE_SIZE
122 initd 0(r1)
123 sub r1, r1, r2
124 bgt r1, r0, dcache_init
126 nextpc r1 /* Find out where we are */
129 beq r1, r2,finish_move /* We are running in RAM done */
[all …]
Dentry.S189 movui r1, __NR_syscalls
190 bgeu r2, r1, ret_invsyscall
191 slli r1, r2, 2
193 add r1, r1, r11
194 ldw r1, %lo(sys_call_table)(r1)
195 beq r1, r0, ret_invsyscall
203 callr r1
214 movi r1, 0
217 movi r1, 1
220 stw r1, PT_R7(sp)
[all …]
/linux-4.4.14/arch/sh/lib/
Dstrlen.S25 mov.b @r4+,r1
26 tst r1,r1
30 mov.b @r4+,r1
31 tst r1,r1
35 mov.b @r4+,r1
36 tst r1,r1
43 mov.l @r4+,r1
44 cmp/str r3,r1
50 swap.b r1,r1
51 swap.w r1,r1
[all …]
Dudivsi3_i4i.S63 mov.w c128_w, r1
67 cmp/hi r1,r5
68 extu.w r5,r1
70 cmp/eq r5,r1
73 mov r5,r1
77 mov.l r1,@-r15
86 mov.b @(r0,r5),r1
90 mov.b @(r0,r5),r1
94 mov.l @(r0,r1),r1
98 dmulu.l r1,r4
[all …]
Dmemcpy-sh4.S39 3: mov.l @(r0,r5),r1 ! 21 LS (latency=2) ! NMLK
45 mov r1,r6 ! 5 MT (latency=0)
49 mov r1, r7 ! 5 MT (latency=0)
56 3: mov.l @(r0,r5),r1 ! 21 LS (latency=2) ! KLMN
63 mov r1,r6 ! 5 MT (latency=0)
66 mov r1,r7 ! 5 MT (latency=0)
82 mov.b @(r0,r5),r1 ! 20 LS (latency=2)
86 mov.b r1,@-r0 ! 29 LS
112 3: mov.l @(r0,r5),r1 ! 21 LS (latency=2) ! NMLK
118 mov r1,r6 ! 5 MT (latency=0)
[all …]
Dchecksum.S90 mov r5, r1
92 shld r0, r1
93 tst r1, r1
144 mov #2, r1
145 cmp/hs r1, r5
149 cmp/eq r1, r5
221 mov r4,r1
222 and r0,r1
224 cmp/eq r1,r0
249 SRC( mov.b @r4+,r1 )
[all …]
Dudiv_qrnnd.S52 extu.w r0,r1
55 0: rotcl r1
56 mulu.w r1,r5
64 add #-1,r1
66 1: add #-1,r1
72 swap.w r4,r1
73 xtrct r0,r1
75 mov r1,r0
77 mov #-1,r1
79 shlr16 r1
Ddiv64.S11 mov r5, r1
13 mov r4, r1
16 cmp/hs r6, r1
20 mov r1, r2
30 sub r3, r1
35 div1 r6, r1
38 mov r2, r1
43 mov r0, r1
Dmcount.S50 mov #-1, r1; \
51 add r0, r1; \
52 and r15, r1; \
60 cmp/hi r2, r1; \
64 mov.l .L_ebss, r1; \
65 cmp/hi r1, r15; \
69 mov.l .L_init_thread_union, r1; \
70 cmp/hs r1, r15; \
74 add r0, r1; \
75 cmp/hs r1, r15; \
[all …]
Dcopy_page.S39 mov.l @r11+,r1
58 mov.l r1,@-r10
104 EX( mov.b @r5+,r1 )
107 EX( mov.b r1,@r4 )
112 2: mov #3,r1
114 and r4,r1
116 shll2 r1
118 mov.l @(r0,r1),r1
119 jmp @r1
154 mov.l 8000f,r1
[all …]
/linux-4.4.14/arch/cris/include/arch-v32/mach-fs/mach/
Dstartup.inc11 move.d REG_ADDR(gio, regi_gio, rw_pa_dout), $r1
12 move.d $r0, [$r1]
15 move.d REG_ADDR(gio, regi_gio, rw_pa_oe), $r1
16 move.d $r0, [$r1]
19 move.d REG_ADDR(gio, regi_gio, rw_pb_dout), $r1
20 move.d $r0, [$r1]
23 move.d REG_ADDR(gio, regi_gio, rw_pb_oe), $r1
24 move.d $r0, [$r1]
27 move.d REG_ADDR(gio, regi_gio, rw_pc_dout), $r1
28 move.d $r0, [$r1]
[all …]
/linux-4.4.14/arch/arm/kernel/
Ddebug.S47 mov r1, #8
52 mov r1, #4
57 mov r1, #2
59 add r3, r2, r1
60 mov r1, #0
61 strb r1, [r3]
62 1: and r1, r0, #15
64 cmp r1, #10
65 addlt r1, r1, #'0'
66 addge r1, r1, #'a' - 10
[all …]
Diwmmxt.S91 ldr r1, [r3] @ get current Concan owner
108 teq r1, #0 @ test for last ownership
119 wstrw wCSSF, [r1, #MMX_WCSSF]
120 wstrw wCASF, [r1, #MMX_WCASF]
121 wstrw wCGR0, [r1, #MMX_WCGR0]
122 wstrw wCGR1, [r1, #MMX_WCGR1]
123 wstrw wCGR2, [r1, #MMX_WCGR2]
124 wstrw wCGR3, [r1, #MMX_WCGR3]
130 wstrd wR0, [r1, #MMX_WR0]
131 wstrd wR1, [r1, #MMX_WR1]
[all …]
Dentry-v7m.S27 mrs r1, ipsr
46 ldr r1, =V7M_xPSR_EXCEPTIONNO
47 and r0, r1
49 mov r1, sp
51 @ routine called with r0 = irq number, r1 = struct pt_regs *
58 ldr r1, =BASEADDR_V7M_SCB
59 ldr r0, [r1, V7M_SCB_ICSR]
68 str r0, [r1, V7M_SCB_ICSR] @ raise PendSV
Dentry-common.S38 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
39 tst r1, #_TIF_SYSCALL_WORK | _TIF_WORK_MASK
43 arch_ret_to_user r1, lr
64 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
65 tst r1, #_TIF_SYSCALL_WORK | _TIF_WORK_MASK
73 tst r1, #_TIF_SYSCALL_WORK
96 ldr r1, [tsk, #TI_FLAGS]
97 tst r1, #_TIF_WORK_MASK
103 arch_ret_to_user r1, lr
230 add r1, sp, #S_OFF
[all …]
/linux-4.4.14/arch/unicore32/mm/
Dcache-ucv2.S58 sub r1, r1, r0
59 csub.a r1, #MAX_AREA_SIZE
62 andn r1, r1, #CACHE_LINESIZE - 1
63 add r1, r1, #CACHE_LINESIZE
68 sub.a r1, r1, #CACHE_LINESIZE
98 sub r1, r1, r0
99 csub.a r1, #MAX_AREA_SIZE
102 andn r1, r1, #CACHE_LINESIZE - 1
103 add r1, r1, #CACHE_LINESIZE
118 sub.a r1, r1, #CACHE_LINESIZE
[all …]
/linux-4.4.14/arch/sh/lib64/
Dudivdi3.S10 sub r21,r5,r1
11 mmulfx.w r1,r1,r4
12 mshflo.w r1,r63,r1
17 msub.w r1,r4,r1
18 madd.w r1,r1,r1
19 mmulfx.w r1,r1,r4
25 msub.w r1,r4,r1
27 mulu.l r1,r7,r4
28 addi r1,-3,r5
33 muls.l r1,r4,r4 /* leaving at least one sign bit. */
[all …]
/linux-4.4.14/arch/m32r/boot/compressed/
Dhead.S34 seth r1, #high(CONFIG_MEMORY_START + 0x00400000) /* Start address */
36 sub r12, r1 /* difference */
44 ldi r1, #low(got_len)
45 srli r1, #2
46 beqz r1, 2f
53 addi r1, #-1
54 bnez r1, 1b
72 mv r4, r3 || ldi r1, #0
80 st r1, @+r2 || addi r4, #-1
81 st r1, @+r2
[all …]
/linux-4.4.14/arch/powerpc/lib/
Dldstfp.S80 PPC_STLU r1,-STKFRM(r1)
82 PPC_STL r0,STKFRM+PPC_LR_STKOFF(r1)
89 stfd fr0,STKFRM-16(r1)
95 lfd fr0,STKFRM-16(r1)
96 4: PPC_LL r0,STKFRM+PPC_LR_STKOFF(r1)
101 addi r1,r1,STKFRM
107 PPC_STLU r1,-STKFRM(r1)
109 PPC_STL r0,STKFRM+PPC_LR_STKOFF(r1)
116 stfd fr0,STKFRM-16(r1)
122 lfd fr0,STKFRM-16(r1)
[all …]
Dcopypage_power7.S59 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1)
60 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1)
61 std r0,16(r1)
62 stdu r1,-STACKFRAMESIZE(r1)
65 ld r0,STACKFRAMESIZE+16(r1)
66 ld r3,STK_REG(R31)(r1)
67 ld r4,STK_REG(R30)(r1)
75 addi r1,r1,STACKFRAMESIZE
112 stdu r1,-STACKFRAMESIZE(r1)
116 std r14,STK_REG(R14)(r1)
[all …]
Dcrtsavres.S321 std r14,-144(r1)
324 std r15,-136(r1)
327 std r16,-128(r1)
330 std r17,-120(r1)
333 std r18,-112(r1)
336 std r19,-104(r1)
339 std r20,-96(r1)
342 std r21,-88(r1)
345 std r22,-80(r1)
348 std r23,-72(r1)
[all …]
Dcopyuser_power7.S65 ld r16,STK_REG(R16)(r1)
66 ld r15,STK_REG(R15)(r1)
67 ld r14,STK_REG(R14)(r1)
70 ld r0,STACKFRAMESIZE+16(r1)
76 ld r22,STK_REG(R22)(r1)
77 ld r21,STK_REG(R21)(r1)
78 ld r20,STK_REG(R20)(r1)
79 ld r19,STK_REG(R19)(r1)
80 ld r18,STK_REG(R18)(r1)
81 ld r17,STK_REG(R17)(r1)
[all …]
Dmemcpy_power7.S36 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1)
43 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1)
77 stdu r1,-STACKFRAMESIZE(r1)
78 std r14,STK_REG(R14)(r1)
79 std r15,STK_REG(R15)(r1)
80 std r16,STK_REG(R16)(r1)
81 std r17,STK_REG(R17)(r1)
82 std r18,STK_REG(R18)(r1)
83 std r19,STK_REG(R19)(r1)
84 std r20,STK_REG(R20)(r1)
[all …]
Dchecksum_64.S92 stdu r1,-STACKFRAMESIZE(r1)
93 std r14,STK_REG(R14)(r1)
94 std r15,STK_REG(R15)(r1)
95 std r16,STK_REG(R16)(r1)
154 ld r14,STK_REG(R14)(r1)
155 ld r15,STK_REG(R15)(r1)
156 ld r16,STK_REG(R16)(r1)
157 addi r1,r1,STACKFRAMESIZE
293 stdu r1,-STACKFRAMESIZE(r1)
294 std r14,STK_REG(R14)(r1)
[all …]
Dmemcmp_64.S89 std r31,-8(r1)
90 std r30,-16(r1)
91 std r29,-24(r1)
92 std r28,-32(r1)
93 std r27,-40(r1)
182 ld r31,-8(r1)
183 ld r30,-16(r1)
184 ld r29,-24(r1)
185 ld r28,-32(r1)
186 ld r27,-40(r1)
[all …]
/linux-4.4.14/arch/arm/mach-mvebu/
Dcoherency_ll.S32 mrc p15, 0, r1, c1, c0, 0
33 tst r1, #CR_M @ Check MMU bit enabled
42 ldr r1, =coherency_base
43 cmp r1, #0
45 adr r1, 3f
46 ldr r3, [r1]
47 ldr r1, [r1, r3]
54 ldr r1, =coherency_base
55 ldr r1, [r1]
97 cmp r1, #0
[all …]
Dpmsu_ll.S17 mrc p15, 4, r1, c15, c0 @ get SCU base address
18 orr r1, r1, #0x8 @ SCU CPU Power Status Register
21 add r1, r1, r0
23 strb r0, [r1] @ switch SCU power state to Normal mode
38 mrc p15, 0, r1, c1, c0, 0
39 bic r1, #1
40 mcr p15, 0, r1, c1, c0, 0
/linux-4.4.14/arch/unicore32/kernel/
Ddebug.S30 mov r1, #8
35 mov r1, #4
40 mov r1, #2
42 add r3, r2, r1
43 mov r1, #0
44 stb r1, [r3]
45 1: and r1, r0, #15
47 csub.a r1, #10
49 add r1, r1, #'0' - 'a' + 10
50 2: add r1, r1, #'a' - 10
[all …]
Ddebug-macro.S55 @ We assume r1 and r2 can be clobbered.
58 mov r1, #0x80
59 str r1, [\rx, #UART_LCR_OFFSET]
60 and r1, r2, #0xff00
61 mov r1, r1, lsr #8
62 str r1, [\rx, #UART_DLH_OFFSET]
63 and r1, r2, #0xff
64 str r1, [\rx, #UART_DLL_OFFSET]
65 mov r1, #0x7
66 str r1, [\rx, #UART_FCR_OFFSET]
[all …]
Dsleep.S40 ldw r1, =sleep_save_sp
41 stw r0, [r1]
69 mov r1, #0
70 movc p0.c5, r1, #14
82 ldw r1, =(PKUNITY_PM_BASE)
86 stw r6, [r1+], #0x18
89 stw r6, [r1+], #0x1c
93 stw r8, [r1+], #0xc
97 stw r5, [r1+], #0x10
123 stw r6, [r1]
[all …]
Dhead.S69 movl r1, 0xff00ffff @ mask
71 and r0, r1, r0
79 mov r1, #0
81 101: stw.w r1, [r0]+, #4
82 stw.w r1, [r0]+, #4
83 stw.w r1, [r0]+, #4
84 stw.w r1, [r0]+, #4
101 or r1, r7, r6 << #22 @ flags + kernel base
102 stw r1, [r4+], r6 << #2 @ identity mapping
109 stw.w r1, [r0+], #(KERNEL_START & 0x00c00000) >> 20
[all …]
/linux-4.4.14/arch/parisc/math-emu/
Dfpudispatch.c290 u_int r1,r2,t; /* operand register offsets */ in decode_0c() local
303 r1 = extru(ir,fpr1pos,5) * sizeof(double)/sizeof(u_int); in decode_0c()
304 if (r1 == 0) /* map fr0 source to constant zero */ in decode_0c()
305 r1 = fpzeroreg; in decode_0c()
323 r1 &= ~3; in decode_0c()
324 fpregs[t+3] = fpregs[r1+3]; in decode_0c()
325 fpregs[t+2] = fpregs[r1+2]; in decode_0c()
327 fpregs[t+1] = fpregs[r1+1]; in decode_0c()
329 fpregs[t] = fpregs[r1]; in decode_0c()
338 r1 &= ~3; in decode_0c()
[all …]
/linux-4.4.14/arch/s390/lib/
Dmem.S32 lgr %r1,%r2
35 xc 0(256,%r1),0(%r1)
36 la %r1,256(%r1)
45 lgr %r1,%r2
52 mvc 1(256,%r1),0(%r1)
53 la %r1,256(%r1)
60 xc 0(1,%r1),0(%r1)
62 mvc 1(1,%r1),0(%r1)
75 lgr %r1,%r2
82 mvc 0(256,%r1),0(%r3)
[all …]
/linux-4.4.14/arch/arm/mach-pxa/
Dstandby.S23 mov r1, #(PSSR_PH | PSSR_STS)
31 str r1, [r0] @ make sure PSSR_PH/STS are clear
51 mov r1, #0xf6000000 @ DMEMC_REG_BASE (PXA3_MDCNFG)
52 add r1, r1, #0x00100000
62 ldr r2, [r1] @ Dummy read PXA3_MDCNFG
69 ldr r0, [r1, #PXA3_DDR_HCAL] @ Clear (and wait for) HCEN
71 str r0, [r1, #PXA3_DDR_HCAL]
72 1: ldr r0, [r1, #PXA3_DDR_HCAL]
76 ldr r0, [r1, #PXA3_RCOMP] @ Initiate RCOMP
78 str r0, [r1, #PXA3_RCOMP]
[all …]
/linux-4.4.14/arch/parisc/lib/
Dfixup.S31 LDREG RT%__per_cpu_offset(%r1),\t1
41 LDREG RT%exception_data(%r1),\t1
54 LDREG RT%exception_data(%r1),\t2
69 get_fault_ip %r1,%r8
70 ldo 4(%r1), %r1
72 bv %r0(%r1)
77 get_fault_ip %r1,%r8
78 ldo 8(%r1), %r1
80 bv %r0(%r1)
86 get_fault_ip %r1,%r8
[all …]
Dlusercopy.S49 mfctl %cr30,%r1
50 ldw TI_SEGMENT(%r1),%r22
51 mfsp %sr3,%r1
53 copy %r0,%r1
54 mtsp %r1,%sr1
58 ldil L%\lbl, %r1
59 ldo R%\lbl(%r1), %r1
60 bv %r0(%r1)
110 1: ldbs,ma 1(%sr1,%r26),%r1
112 comib,=,n 0,%r1,$lslen_done
[all …]
/linux-4.4.14/arch/s390/kernel/vdso64/
Dclock_gettime.S42 lg %r1,1(%r15)
43 sg %r1,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
44 msgf %r1,__VDSO_TK_MULT(%r5) /* * tk->mult */
45 alg %r1,__VDSO_WTOM_NSEC(%r5)
46 srlg %r1,%r1,0(%r2) /* >> tk->shift */
50 1: clg %r1,0(%r5)
52 slg %r1,0(%r5)
56 stg %r1,8(%r3) /* store tp->tv_nsec */
66 lg %r1,__VDSO_WTOM_CRS_NSEC(%r5)
76 lg %r1,__VDSO_XTIME_CRS_NSEC(%r5)
[all …]
Dgettimeofday.S33 lg %r1,1(%r15)
34 sg %r1,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
35 msgf %r1,__VDSO_TK_MULT(%r5) /* * tk->mult */
36 alg %r1,__VDSO_XTIME_NSEC(%r5) /* + tk->xtime_nsec */
41 srlg %r1,%r1,0(%r5) /* >> tk->shift */
43 2: clg %r1,0(%r5)
45 slg %r1,0(%r5)
/linux-4.4.14/arch/microblaze/lib/
Duaccess_old.S192 addik r1, r1, -40
193 swi r5, r1, 0
194 swi r6, r1, 4
195 swi r7, r1, 8
196 swi r19, r1, 12
197 swi r20, r1, 16
198 swi r21, r1, 20
199 swi r22, r1, 24
200 swi r23, r1, 28
201 swi r24, r1, 32
[all …]
Dmodsi3.S16 .frame r1, 0, r15
18 addik r1, r1, -16
19 swi r28, r1, 0
20 swi r29, r1, 4
21 swi r30, r1, 8
22 swi r31, r1, 12
65 lwi r28, r1, 0
66 lwi r29, r1, 4
67 lwi r30, r1, 8
68 lwi r31, r1, 12
[all …]
Ddivsi3.S14 .frame r1, 0, r15
16 addik r1, r1, -16
17 swi r28, r1, 0
18 swi r29, r1, 4
19 swi r30, r1, 8
20 swi r31, r1, 12
65 lwi r28, r1, 0
66 lwi r29, r1, 4
67 lwi r30, r1, 8
68 lwi r31, r1, 12
[all …]
Dudivsi3.S17 .frame r1, 0, r15
19 addik r1, r1, -12
20 swi r29, r1, 0
21 swi r30, r1, 4
22 swi r31, r1, 8
77 lwi r29, r1, 0
78 lwi r30, r1, 4
79 lwi r31, r1, 8
81 addik r1, r1, 12
Dumodsi3.S16 .frame r1, 0, r15
18 addik r1, r1, -12
19 swi r29, r1, 0
20 swi r30, r1, 4
21 swi r31, r1, 8
79 lwi r29, r1, 0
80 lwi r30, r1, 4
81 lwi r31, r1, 8
83 addik r1, r1, 12
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/
Dstartup.inc19 move.d REG_ADDR(gio, regi_gio, rw_pa_dout), $r1
20 move.d $r0, [$r1]
23 move.d REG_ADDR(gio, regi_gio, rw_pa_oe), $r1
24 move.d $r0, [$r1]
27 move.d REG_ADDR(gio, regi_gio, rw_pb_dout), $r1
28 move.d $r0, [$r1]
31 move.d REG_ADDR(gio, regi_gio, rw_pb_oe), $r1
32 move.d $r0, [$r1]
35 move.d REG_ADDR(gio, regi_gio, rw_pc_dout), $r1
36 move.d $r0, [$r1]
[all …]
/linux-4.4.14/arch/powerpc/net/
Dbpf_jit_asm.S104 PPC_STL r0, PPC_LR_STKOFF(r1); \
106 PPC_STL r_skb, (BPF_PPC_STACKFRAME+BPF_PPC_STACK_R3_OFF)(r1); \
107 PPC_STL r_A, (BPF_PPC_STACK_BASIC+(0*REG_SZ))(r1); \
108 PPC_STL r_X, (BPF_PPC_STACK_BASIC+(1*REG_SZ))(r1); \
109 addi r5, r1, BPF_PPC_STACK_BASIC+(2*REG_SZ); \
110 PPC_STLU r1, -BPF_PPC_SLOWPATH_FRAME(r1); \
117 addi r1, r1, BPF_PPC_SLOWPATH_FRAME; \
118 PPC_LL r0, PPC_LR_STKOFF(r1); \
119 PPC_LL r_A, (BPF_PPC_STACK_BASIC+(0*REG_SZ))(r1); \
120 PPC_LL r_X, (BPF_PPC_STACK_BASIC+(1*REG_SZ))(r1); \
[all …]
/linux-4.4.14/arch/m32r/boot/
Dsetup.S67 ldi r1, #0x0101 ; cache on (with invalidation)
68 ; ldi r1, #0x00 ; cache off
69 sth r1, @r0
73 ldi r1, #0x73 ; cache on (with invalidation)
74 ; ldi r1, #0x00 ; cache off
75 st r1, @r0
78 ldi r1, #0x101 ; cache on (with invalidation)
79 ; ldi r1, #0x00 ; cache off
80 st r1, @r0
83 seth r1, #0x0060 ; from 0x00600000
[all …]
/linux-4.4.14/arch/powerpc/mm/
Dhash_low_64.S57 std r0,16(r1)
58 stdu r1,-STACKFRAMESIZE(r1)
60 std r6,STK_PARAM(R6)(r1)
61 std r8,STK_PARAM(R8)(r1)
62 std r9,STK_PARAM(R9)(r1)
71 std r27,STK_REG(R27)(r1)
72 std r28,STK_REG(R28)(r1)
73 std r29,STK_REG(R29)(r1)
74 std r30,STK_REG(R30)(r1)
75 std r31,STK_REG(R31)(r1)
[all …]
/linux-4.4.14/arch/openrisc/lib/
Dstring.S37 l.addi r1,r1,-12
38 l.sw 0(r1),r6
39 l.sw 4(r1),r4
40 l.sw 8(r1),r3
54 l.lwz r6,0(r1)
55 l.lwz r4,4(r1)
56 l.lwz r3,8(r1)
58 l.addi r1,r1,12
78 l.addi r1,r1,-8
79 l.sw 0(r1),r4
[all …]
/linux-4.4.14/arch/arm/mach-imx/
Dsuspend-imx53.S50 ldr r1, [r0, #SUSPEND_INFO_MX53_IO_COUNT_OFFSET]
51 cmp r1, #0
61 subs r1, r1, #1
66 ldr r1, [r0, #SUSPEND_INFO_MX53_M4IF_V_OFFSET]
67 ldr r2,[r1, #M4IF_MCR0_OFFSET]
69 str r2,[r1, #M4IF_MCR0_OFFSET]
73 ldr r2,[r1, #M4IF_MCR0_OFFSET]
78 ldr r1, [r0, #SUSPEND_INFO_MX53_IO_COUNT_OFFSET]
79 cmp r1, #0
93 subs r1, r1, #1
[all …]
/linux-4.4.14/arch/arm/mach-exynos/
Dsleep.S46 ldr r1, =CPU_MASK
47 and r0, r0, r1
48 ldr r1, =CPU_CORTEX_A9
49 cmp r0, r1
59 ldr r1, =CPU_MASK
60 and r0, r0, r1
61 ldr r1, =CPU_CORTEX_A9
62 cmp r0, r1
66 ldr r1, [r0]
67 ldr r1, [r0, r1]
[all …]
/linux-4.4.14/arch/arm/mach-ep93xx/
Dcrunch-bits.S73 ldr r1, [r8, #0x80]
74 tst r1, #0x00800000 @ access to crunch enabled?
78 orr r1, r1, #0x00800000 @ enable access to crunch
79 str r1, [r8, #0x80]
84 ldr r1, [r3] @ get current crunch owner
92 teq r1, #0 @ test for last ownership
97 cfstr64 mvdx0, [r1, #CRUNCH_MVDX0] @ save 64b registers
98 cfstr64 mvdx1, [r1, #CRUNCH_MVDX1]
99 cfstr64 mvdx2, [r1, #CRUNCH_MVDX2]
100 cfstr64 mvdx3, [r1, #CRUNCH_MVDX3]
[all …]
/linux-4.4.14/arch/arm/kvm/
Dinterrupts.S212 mov r0, r1 @ Return the return code
213 mov r1, #0 @ Clear upper bits in return value
215 @ r1 already has return code
282 mrrc p15, 6, r0, r1, c2 @ Read VTTBR
283 lsr r1, r1, #16
284 ands r1, r1, #0xff
290 mrc p15, 4, r1, c6, c0, 0 @ HDFAR
292 str r1, [vcpu, #VCPU_HxFAR]
296 mrc p15, 4, r1, c6, c0, 2 @ HIFAR
298 str r1, [vcpu, #VCPU_HxFAR]
[all …]
Dinit.S82 mrc p15, 0, r1, c2, c0, 2 @ TTBCR
83 and r1, r1, #(HTCR_MASK & ~TTBCR_T0SZ)
84 orr r0, r0, r1
87 mrc p15, 4, r1, c2, c1, 2 @ VTCR
89 bic r1, r1, r2
91 orr r1, r0, r1
92 orr r1, r1, #(KVM_VTCR_SL0 | KVM_VTCR_T0SZ | KVM_VTCR_S)
93 mcr p15, 4, r1, c2, c1, 2 @ VTCR
118 mrc p15, 0, r1, c1, c0, 0 @ SCTLR
120 and r1, r1, r2
[all …]
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/
Dex.S23 mov.l r1,@-sp
25 mov #no,r1
31 extu.b r1,r1
33 extu.w r1,r1
42 mov.l r1,@-sp
44 mov #no,r1
49 extu.b r1,r1
51 add r0,r1
54 extu.w r1,r1
Dentry.S41 ! r1
45 ! r1 = vector (pseudo EXPEVT / INTEVT / TRA)
61 mov.l r1,@-r15 ! TRA
75 mov r1,r9 ! r9 = interrupt vector
79 mov.l @r8+,r1
88 mov r1,r9 ! r9 = interrupt vector
92 mov.l @r8+,r1 ! old R1
163 mov.l @(OFF_SP,r0),r1
165 mov.l r3,@-r1
167 mov.l r3,@-r1
[all …]
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-wrappers.S62 std r0,16(r1); \
66 stw r12,8(r1); \
67 std r1,PACAR1(r13); \
94 lwz r4,8(r1);
95 ld r5,16(r1);
104 stdu r1,-STACKFRAMESIZE(r1)
105 std r0,STK_REG(R23)(r1)
106 std r3,STK_REG(R24)(r1)
107 std r4,STK_REG(R25)(r1)
108 std r5,STK_REG(R26)(r1)
[all …]
/linux-4.4.14/arch/sh/boot/compressed/
Dhead_32.S15 mov.l init_sr, r1
16 ldc r1, sr
25 mov #0xffffffe0, r1
26 and r1, r0 ! align cache line
28 mov r0, r1
29 sub r2, r1
31 mov.l @r1, r4
32 mov.l @(4,r1), r5
33 mov.l @(8,r1), r6
34 mov.l @(12,r1), r7
[all …]
/linux-4.4.14/arch/arm/crypto/
Daes-armv4.S153 stmdb sp!,{r1,r4-r12,lr}
163 ldrb r1,[r12,#7]
169 orr r1,r1,r4,lsl#8
171 orr r1,r1,r5,lsl#16
173 orr r1,r1,r6,lsl#24
188 ldr r1,[r12,#4]
193 rev r1,r1
204 rev r1,r1
209 str r1,[r12,#4]
218 mov r4,r1,lsr#24
[all …]
Dsha256-core.S_shipped102 add r2,r1,r2,lsl#6 @ len to point at the end of inp
103 stmdb sp!,{r0,r1,r2,r4-r11,lr}
109 ldr r2,[r1],#4
111 ldrb r2,[r1,#3]
116 @ ldr r2,[r1],#4 @ 0
118 str r1,[sp,#17*4] @ make room for r1
127 @ ldrb r2,[r1,#3] @ 0
129 ldrb r12,[r1,#2]
130 ldrb r0,[r1,#1]
132 ldrb r12,[r1],#4
[all …]
/linux-4.4.14/arch/arm/mach-shmobile/
Dheadsmp.S28 ldr r1, 1f
29 bx r1
50 mrc p15, 0, r1, c0, c0, 5 @ r1 = MPIDR
51 and r0, r1, r0 @ r0 = cpu_logical_map() value
52 mov r1, #0 @ r1 = CPU index
58 ldr r8, [r5, r1, lsl #2]
62 ldr r9, [r6, r1, lsl #2]
67 add r1, r1, #1
68 cmp r1, #NR_CPUS
74 ldr r0, [r7, r1, lsl #2]
/linux-4.4.14/arch/unicore32/lib/
Dcopy_template.S67 and.a ip, r1, #3
75 4: ldr8w r1, r3, r4, r5, r6, r7, r8, r10, r11, abort=20f
86 ldr1w r1, r3, abort=20f
87 ldr1w r1, r4, abort=20f
88 ldr1w r1, r5, abort=20f
89 ldr1w r1, r6, abort=20f
90 ldr1w r1, r7, abort=20f
91 ldr1w r1, r8, abort=20f
92 ldr1w r1, r11, abort=20f
108 ldr1b r1, r3, ne, abort=21f
[all …]
Dclear_user.S25 stm.w (r1), [sp-]
27 csub.a r1, #4
36 sub r1, r1, ip @ 7 6 5 4 3 2 1
37 1: sub.a r1, r1, #8 @ -1 -2 -3 -4 -5 -6 -7
40 add.a r1, r1, #4 @ 3 2 1 0 -1 -2 -3
42 2: cand.a r1, #2 @ 1x 1x 0x 0x 1x 1x 0x
44 cand.a r1, #1 @ x1 x0 x1 x0 x1 x0 x1
48 ldm.w (r1), [sp]+
Dfindbit.S21 cxor.a r1, #0
28 2: csub.a r2, r1 @ any more?
30 3: mov r0, r1 @ no free bits
40 cxor.a r1, #0
59 cxor.a r1, #0
66 2: csub.a r2, r1 @ any more?
68 3: mov r0, r1 @ no free bits
78 cxor.a r1, #0
94 rsub r1, r3, #0
95 and r3, r3, r1
/linux-4.4.14/arch/arm/mm/
Dcache-v4wb.S83 ldr r1, [r3, #0]
84 eor r1, r1, #CACHE_DSIZE
85 str r1, [r3, #0]
86 add r2, r1, #CACHE_DSIZE
87 1: ldr r3, [r1], #32
88 cmp r1, r2
92 sub r1, r2, #512 @ only 512 bytes
93 1: ldr r3, [r1], #32
94 cmp r1, r2
112 sub r3, r1, r0 @ calculate total size
[all …]
Dproc-v7-2level.S51 mmid r1, r1 @ get mm->context.id
57 bfi r1, r2, #8, #24 @ insert into new context ID
62 mcr p15, 0, r1, c13, c0, 1 @ set context ID
83 str r1, [r0] @ linux version
85 bic r3, r1, #0x000003f0
90 tst r1, #1 << 4
93 eor r1, r1, #L_PTE_DIRTY
94 tst r1, #L_PTE_RDONLY | L_PTE_DIRTY
97 tst r1, #L_PTE_USER
100 tst r1, #L_PTE_XN
[all …]
Dproc-arm1020e.S156 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
157 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
161 subs r1, r1, #1 << 5
183 sub r3, r1, r0 @ calculate total size
190 cmp r0, r1
233 cmp r0, r1
251 add r1, r0, r1
254 cmp r0, r1
279 tst r1, #CACHE_DLINESIZE - 1
280 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
[all …]
Dproc-arm1022.S146 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
147 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
151 subs r1, r1, #1 << 5
173 sub r3, r1, r0 @ calculate total size
180 cmp r0, r1
224 cmp r0, r1
242 add r1, r0, r1
245 cmp r0, r1
270 tst r1, #CACHE_DLINESIZE - 1
271 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
[all …]
Dproc-feroceon.S61 ldr r1, __cache_params
71 stmia r1, {r2, r3}
159 ldr r1, __cache_params
160 ldmia r1, {r1, r3}
161 1: orr ip, r1, r3
165 subs r1, r1, #(1 << 5) @ next set
186 sub r3, r1, r0 @ calculate total size
196 cmp r0, r1
232 cmp r0, r1
249 add r1, r0, r1
[all …]
Dproc-xscale.S118 mrc p15, 0, r1, c1, c0, 1
119 bic r1, r1, #1
120 mcr p15, 0, r1, c1, c0, 1
147 mov r1, #PSR_F_BIT|PSR_I_BIT|SVC_MODE
148 msr cpsr_c, r1 @ reset CPSR
149 mcr p15, 0, r1, c10, c4, 1 @ unlock I-TLB
150 mcr p15, 0, r1, c8, c5, 0 @ invalidate I-TLB
151 mrc p15, 0, r1, c1, c0, 0 @ ctrl register
152 bic r1, r1, #0x0086 @ ........B....CA.
153 bic r1, r1, #0x3900 @ ..VIZ..S........
[all …]
Dcache-v6.S41 mrs r1, cpsr
47 msr cpsr_cx, r1 @ restore interrupts
139 cmp r0, r1
176 add r1, r0, r1
185 cmp r0, r1
216 tst r1, #D_CACHE_LINE_SIZE - 1
218 ldrneb r2, [r1, #-1] @ read for ownership
219 strneb r2, [r1, #-1] @ write for ownership
221 bic r1, r1, #D_CACHE_LINE_SIZE - 1
223 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D line
[all …]
Dproc-v6.S60 mrc p15, 0, r1, c1, c0, 0 @ ctrl register
61 bic r1, r1, #0x1 @ ...............m
62 mcr p15, 0, r1, c1, c0, 0 @ disable MMU
63 mov r1, #0
64 mcr p15, 0, r1, c7, c5, 4 @ ISB
77 mov r1, #0
78 mcr p15, 0, r1, c7, c10, 4 @ DWB - WFI may enter a low-power mode
79 mcr p15, 0, r1, c7, c0, 4 @ wait for interrupt
85 subs r1, r1, #D_CACHE_LINE_SIZE
102 mmid r1, r1 @ get mm->context.id
[all …]
Dproc-arm1020.S156 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
157 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
162 subs r1, r1, #1 << 5
184 sub r3, r1, r0 @ calculate total size
193 cmp r0, r1
239 cmp r0, r1
257 add r1, r0, r1
261 cmp r0, r1
288 tst r1, #CACHE_DLINESIZE - 1
290 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
[all …]
Dcache-v7.S39 movw r1, #0x7fff
40 and r2, r1, r0, lsr #13
42 movw r1, #0x3ff
44 and r3, r1, r0, lsr #3 @ NumWays - 1
50 clz r1, r3 @ WayShift
55 mov r5, r3, lsl r1
100 movw r1, #:lower16:(0x410fc090 >> 4) @ ID of ARM Cortex A9 r0p?
101 movt r1, #:upper16:(0x410fc090 >> 4)
102 teq r1, r2, lsr #4 @ test for errata affected core and if so...
128 mov r1, r0, lsr r2 @ extract cache type bits from clidr
[all …]
Dtlb-v7.S40 mov r1, r1, lsr #PAGE_SHIFT
47 mov r1, r1, lsl #PAGE_SHIFT
57 cmp r0, r1
74 mov r1, r1, lsr #PAGE_SHIFT
76 mov r1, r1, lsl #PAGE_SHIFT
85 cmp r0, r1
Dproc-arm922.S146 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 8 segments
147 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
151 subs r1, r1, #1 << 5
170 sub r3, r1, r0 @ calculate total size
178 cmp r0, r1
212 cmp r0, r1
228 add r1, r0, r1
231 cmp r0, r1
255 tst r1, #CACHE_DLINESIZE - 1
256 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
[all …]
Dproc-arm940.S114 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
115 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
119 subs r1, r1, #1 << 4
164 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
165 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
169 subs r1, r1, #1 << 4
186 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
187 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
191 subs r1, r1, #1 << 4
209 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
[all …]
Dproc-xsc3.S110 mov r1, #PSR_F_BIT|PSR_I_BIT|SVC_MODE
111 msr cpsr_c, r1 @ reset CPSR
112 mrc p15, 0, r1, c1, c0, 0 @ ctrl register
113 bic r1, r1, #0x3900 @ ..VIZ..S........
114 bic r1, r1, #0x0086 @ ........B....CA.
115 mcr p15, 0, r1, c1, c0, 0 @ ctrl register
117 bic r1, r1, #0x0001 @ ...............M
118 mcr p15, 0, r1, c1, c0, 0 @ ctrl register
174 clean_d_cache r0, r1
194 sub r3, r1, r0 @ calculate total size
[all …]
Dproc-arm920.S144 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 8 segments
145 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
149 subs r1, r1, #1 << 5
168 sub r3, r1, r0 @ calculate total size
176 cmp r0, r1
210 cmp r0, r1
226 add r1, r0, r1
229 cmp r0, r1
253 tst r1, #CACHE_DLINESIZE - 1
254 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
[all …]
Dtlb-v6.S42 mov r1, r1, lsr #PAGE_SHIFT
45 mov r1, r1, lsl #PAGE_SHIFT
56 cmp r0, r1
73 mov r1, r1, lsr #PAGE_SHIFT
75 mov r1, r1, lsl #PAGE_SHIFT
84 cmp r0, r1
Dcache-fa.S89 sub r3, r1, r0 @ calculate total size
97 cmp r0, r1
133 cmp r0, r1
151 add r1, r0, r1
154 cmp r0, r1
176 tst r1, #CACHE_DLINESIZE - 1
177 bic r1, r1, #CACHE_DLINESIZE - 1
178 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D entry
181 cmp r0, r1
199 cmp r0, r1
[all …]
Dabort-ev4t.S20 mrc p15, 0, r1, c5, c0, 0 @ get FSR
22 do_thumb_abort fsr=r1, pc=r4, psr=r5, tmp=r3
24 bic r1, r1, #1 << 11 | 1 << 10 @ clear bits 11 and 10 of FSR
26 orreq r1, r1, #1 << 11
/linux-4.4.14/arch/s390/kernel/vdso32/
Dclock_gettime.S39 lm %r0,%r1,1(%r15)
41 sl %r1,__VDSO_XTIME_STAMP+4(%r5)
47 ltr %r1,%r1
53 al %r1,__VDSO_WTOM_NSEC+4(%r5)
64 cl %r1,20f-6b(%r5)
67 sl %r1,20f-6b(%r5)
72 st %r1,4(%r3) /* store tp->tv_nsec */
82 l %r1,__VDSO_WTOM_CRS_NSEC+4(%r5)
92 l %r1,__VDSO_XTIME_CRS_NSEC+4(%r5)
102 lm %r0,%r1,1(%r15)
[all …]
Dclock_getres.S22 basr %r1,0
23 la %r1,4f-.(%r1)
28 la %r1,5f-4f(%r1)
35 1: l %r0,0(%r1)
40 3: lhi %r1,__NR_clock_getres /* fallback to svc */
Dgettimeofday.S34 lm %r0,%r1,1(%r15)
36 sl %r1,__VDSO_XTIME_STAMP+4(%r5)
42 ltr %r1,%r1
48 al %r1,__VDSO_XTIME_NSEC+4(%r5)
60 cl %r1,11f-6b(%r5)
63 sl %r1,11f-6b(%r5)
68 ltr %r1,%r1
/linux-4.4.14/arch/sh/boot/romimage/
Dhead.S47 mov.l extra_data_size, r1
48 add r1, r0
49 mov.l empty_zero_page_dst, r1
60 mov.l r4, @r1
61 mov.l r5, @(4, r1)
62 mov.l r6, @(8, r1)
63 mov.l r7, @(12, r1)
65 add #16,r1
70 mov #1, r1
71 shld r4, r1
[all …]
/linux-4.4.14/arch/avr32/kernel/
Dentry-avr32b.S99 mfsr r1, SYSREG_PTBR
108 ld.w r3, r1[r2 << 2]
109 bfextu r1, r0, PAGE_SHIFT, PGDIR_SHIFT - PAGE_SHIFT
114 ld.w r2, r3[r1 << 2]
121 st.w r3[r1 << 2], r2
128 mfsr r1, SYSREG_MMUCR
135 1: bfins r1, r2, SYSREG_DRP_OFFSET, SYSREG_DRP_SIZE
136 mtsr SYSREG_MMUCR, r1
171 mov r1, lo(swapper_pg_dir)
172 orh r1, hi(swapper_pg_dir)
[all …]
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Dpowersave.S40 std r3,8(r1); \
42 ld r3,8(r1); \
63 std r0, 16(r1)
64 stdu r1,-64(r1)
66 std r3, 48(r1)
73 ld r3, 48(r1)
85 1: addi r1,r1,64
86 ld r0,16(r1)
/linux-4.4.14/arch/arm/boot/compressed/
Dhead.S81 mov r1, #\len
148 mov r7, r1 @ save architecture ID
221 ldmia r0, {r1, r2, r3, r6, r10, r11, r12}
228 sub r0, r0, r1 @ calculate the delta offset
281 ldr r1, =0xedfe0dd0 @ sig is 0xd00dfeed big endian
283 ldr r1, =0xd00dfeed
285 cmp lr, r1
302 eor r1, r5, r5, ror #16
303 bic r1, r1, #0x00ff0000
305 eor r5, r5, r1, lsr #8
[all …]
Dhead-sharpsl.S28 mov r1, #0x10000000 @ Base address of TC6393 chip
30 ldrh r3, [r1, #8] @ Load TC6393XB Revison: This is 0x0003
42 ldr r1, .W100ADDR @ Base address of w100 chip + regs offset
45 str r6, [r1, #0x280] @ to SCRATCH_UMSK
51 str r6, [r1, #0x280] @ to SCRATCH_UMSK
53 ldr r6, [r1, #0] @ Load Chip ID
83 ldr r1, .SCOOP2ADDR
86 strh r6, [r1]
87 ldrh r6, [r1]
128 mov r1, #0x0c000000 @ Base address of NAND chip
[all …]
Dll_char_wr.S43 mov r1, r1, lsl #3
60 orr r1, r1, #7
61 ldrb r7, [r6, r1]
70 sub r1, r1, #1 @ avoid using r7 directly after
72 ldrb r7, [r6, r1]
75 tst r1, #7 @ avoid using r7 directly after
77 subne r1, r1, #1
78 ldrneb r7, [r6, r1]
92 sub r1, r1, #1 @ avoid ip
95 ldrb r7, [r6, r1]
[all …]
Ddebug.S9 addruart r1, r2, r3
10 waituart r3, r1
11 senduart r0, r1
12 busyuart r3, r1
19 adr r1, 1f
20 ldmia r1, {r2, r3}
21 add r2, r2, r1
22 ldr r1, [r2, r3]
23 strb r0, [r1]
/linux-4.4.14/arch/blackfin/mach-common/
Dhead.S19 r2 = r2 - r1;
23 p1 = r1;
76 r1 = [p5 + (IMEM_CONTROL - COREMMR_BASE)]; define
77 BITCLR (r1, ENICPLB_P);
78 [p5 + (IMEM_CONTROL - COREMMR_BASE)] = r1;
82 r1 = [p5 + (DMEM_CONTROL - COREMMR_BASE)]; define
83 BITCLR (r1, ENDCPLB_P);
84 [p5 + (DMEM_CONTROL - COREMMR_BASE)] = r1;
98 r1 = [p0 + PDA_DF_DCPLB]; define
102 [p1 + PDA_INIT_DF_DCPLB] = r1;
[all …]
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_interrupts.S76 PPC_STL r0,PPC_LR_STKOFF(r1)
79 PPC_STLU r1, -SWITCH_FRAME_SIZE(r1)
82 SAVE_2GPRS(3, r1)
85 SAVE_NVGPRS(r1)
89 stw r14, _CCR(r1)
92 PPC_STL r0, _LINK(r1)
102 REST_GPR(4, r1)
159 PPC_LL r3, GPR4(r1) /* vcpu pointer */
184 PPC_LL r7, GPR4(r1)
209 REST_2GPRS(3, r1)
[all …]
Dbooke_interrupts.S219 stw r1, VCPU_GPR(R1)(r4)
233 lwz r1, VCPU_HOST_STACK(r4)
251 lwz r3, HOST_RUN(r1)
252 lwz r2, HOST_R2(r1)
321 lwz r14, HOST_NV_GPR(R14)(r1)
322 lwz r15, HOST_NV_GPR(R15)(r1)
323 lwz r16, HOST_NV_GPR(R16)(r1)
324 lwz r17, HOST_NV_GPR(R17)(r1)
325 lwz r18, HOST_NV_GPR(R18)(r1)
326 lwz r19, HOST_NV_GPR(R19)(r1)
[all …]
Dbookehv_interrupts.S73 PPC_STL r1, VCPU_GPR(R1)(r4)
75 PPC_LL r1, VCPU_HOST_STACK(r4)
76 PPC_LL r2, HOST_R2(r1)
444 PPC_LL r3, HOST_RUN(r1)
481 PPC_LL r5, HOST_STACK_LR(r1)
482 lwz r6, HOST_CR(r1)
508 PPC_LL r14, HOST_NV_GPR(R14)(r1)
509 PPC_LL r15, HOST_NV_GPR(R15)(r1)
510 PPC_LL r16, HOST_NV_GPR(R16)(r1)
511 PPC_LL r17, HOST_NV_GPR(R17)(r1)
[all …]
Dbook3s_hv_interrupts.S44 std r0,PPC_LR_STKOFF(r1)
47 stdu r1, -SWITCH_FRAME_SIZE(r1)
50 SAVE_NVGPRS(r1)
52 std r3, _CCR(r1)
151 REST_NVGPRS(r1)
152 ld r4, _CCR(r1)
155 addi r1, r1, SWITCH_FRAME_SIZE
156 ld r0, PPC_LR_STKOFF(r1)
/linux-4.4.14/arch/powerpc/crypto/
Daes-spe-modes.S59 stw rI0,96(r1); /* save 32 bit registers */ \
60 stw rI1,100(r1); \
61 stw rI2,104(r1); \
62 stw rI3,108(r1);
65 lwz rI0,96(r1); /* restore 32 bit registers */ \
66 lwz rI1,100(r1); \
67 lwz rI2,104(r1); \
68 lwz rI3,108(r1);
72 stw rG0,112(r1); /* save 32 bit registers */ \
73 stw rG1,116(r1); \
[all …]
Dsha256-spe-asm.S53 stwu r1,-128(r1); /* create stack frame */ \
54 evstdw r14,8(r1); /* We must save non volatile */ \
55 evstdw r15,16(r1); /* registers. Take the chance */ \
56 evstdw r16,24(r1); /* and save the SPE part too */ \
57 evstdw r17,32(r1); \
58 evstdw r18,40(r1); \
59 evstdw r19,48(r1); \
60 evstdw r20,56(r1); \
61 evstdw r21,64(r1); \
62 evstdw r22,72(r1); \
[all …]
Dsha1-spe-asm.S62 stwu r1,-128(r1); /* create stack frame */ \
63 evstdw r14,8(r1); /* We must save non volatile */ \
64 evstdw r15,16(r1); /* registers. Take the chance */ \
65 evstdw r16,24(r1); /* and save the SPE part too */ \
66 evstdw r17,32(r1); \
67 evstdw r18,40(r1); \
68 evstdw r19,48(r1); \
69 evstdw r20,56(r1); \
70 evstdw r21,64(r1); \
71 evstdw r22,72(r1); \
[all …]
/linux-4.4.14/arch/cris/arch-v32/mach-a3/
Ddram_init.S34 move.d REG_STATE(ddr2, rw_phy_cfg, en, yes), $r1
35 move.d $r1, [$r0]
45 REG_STATE(ddr2, rw_phy_ctrl, cal_rst, yes), $r1
46 move.d $r1, [$r0]
47 move.d REG_STATE(ddr2, rw_phy_ctrl, cal_start, yes), $r1
48 move.d $r1, [$r0]
59 movu.b [$r2+], $r1
62 lslq 16, $r1
63 or.d $r3, $r1
64 move.d $r1, [$r0]
[all …]
/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/
Dcopyuser_power7.S65 ld r16,STK_REG(R16)(r1)
66 ld r15,STK_REG(R15)(r1)
67 ld r14,STK_REG(R14)(r1)
70 ld r0,STACKFRAMESIZE+16(r1)
76 ld r22,STK_REG(R22)(r1)
77 ld r21,STK_REG(R21)(r1)
78 ld r20,STK_REG(R20)(r1)
79 ld r19,STK_REG(R19)(r1)
80 ld r18,STK_REG(R18)(r1)
81 ld r17,STK_REG(R17)(r1)
[all …]
Dmemcpy_power7.S36 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1)
43 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1)
77 stdu r1,-STACKFRAMESIZE(r1)
78 std r14,STK_REG(R14)(r1)
79 std r15,STK_REG(R15)(r1)
80 std r16,STK_REG(R16)(r1)
81 std r17,STK_REG(R17)(r1)
82 std r18,STK_REG(R18)(r1)
83 std r19,STK_REG(R19)(r1)
84 std r20,STK_REG(R20)(r1)
[all …]
/linux-4.4.14/arch/sh/boards/mach-migor/
Dsdram.S26 mov.l 2f, r1
28 or r1, r2
48 mov.l 4f, r1
49 and r1, r0
53 mov.l @r4, r1
55 add r4, r1
56 or r1, r0
57 mov.l 7f, r1
58 mov.l r0, @r1
/linux-4.4.14/arch/sh/boards/mach-ap325rxa/
Dsdram.S26 mov.l 2f, r1
28 or r1, r2
48 mov.l 4f, r1
49 and r1, r0
53 mov.l @r4, r1
55 add r4, r1
56 or r1, r0
57 mov.l 7f, r1
58 mov.l r0, @r1
/linux-4.4.14/arch/cris/arch-v32/mach-fs/
Ddram_init.S29 move.d CONFIG_ETRAX_SDRAM_GRP0_CONFIG, $r1
30 move.d $r1, [$r0]
32 move.d CONFIG_ETRAX_SDRAM_GRP1_CONFIG, $r1
33 move.d $r1, [$r0]
47 move.d CONFIG_ETRAX_SDRAM_TIMING, $r1
48 and.d 0x07, $r1 ; Get CAS latency
49 cmpq 2, $r1 ; CL = 2 ?
58 move.d CONFIG_ETRAX_SDRAM_GRP0_CONFIG, $r1
59 and.d 0x200, $r1 ; DRAM width is bit 9
66 move.d CONFIG_ETRAX_SDRAM_TIMING, $r1
[all …]
/linux-4.4.14/arch/x86/crypto/
Daes-i586-asm_32.S57 #define r1 ebx macro
159 save (0,r1); \
163 do_fcol(table, r2,r5,r4,r1, r0,r3, arg); /* idx=r0 */ \
164 do_col (table, r4,r1,r2,r5, r0,r3); /* idx=r4 */ \
166 do_col (table, r1,r2,r5,r4, r0,r3); /* idx=r1 */ \
168 do_col (table, r5,r4,r1,r2, r0,r3); /* idx=r5 */
174 save (0,r1); \
178 do_fcol(table, r0,r5,r4,r1, r2,r3, arg); /* idx=r2 */ \
179 do_col (table, r4,r1,r0,r5, r2,r3); /* idx=r4 */ \
181 do_col (table, r1,r0,r5,r4, r2,r3); /* idx=r1 */ \
[all …]
Daes-x86_64-asm_64.S52 #define prologue(FUNC,KEY,B128,B192,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11) \ argument
54 movq r1,r2; \
59 movl 4(r7),r1 ## E; \
64 xorl -44(r9),r1 ## E; \
73 #define epilogue(FUNC,r1,r2,r3,r4,r5,r6,r7,r8,r9) \ argument
74 movq r1,r2; \
83 #define round(TAB,OFFSET,r1,r2,r3,r4,r5,r6,r7,r8,ra,rb,rc,rd) \ argument
97 movzbl r1 ## L,r7 ## E; \
98 movzbl r1 ## H,r4 ## E; \
100 movw r3 ## X,r1 ## X; \
[all …]
/linux-4.4.14/arch/arm/mach-omap2/
Dsleep34xx.S88 mov r1, #0x1
91 str r1, [r2, r3] @ write to l2dis_3630
112 mov r1, #0 @ set task id for ROM code in r1
192 ldr r1, kernel_flush
194 bx r1
211 ldr r1, kernel_flush
212 blx r1
387 ldr r1, sram_base
392 stmia r1!, {r3} @ *dst = val
395 ldr r1, sram_base
[all …]
Dsleep44xx.S75 mov r1, #0xFF @ clean seucre L1
117 mov r1, #0x00
126 ldreq r1, [r8, #SCU_OFFSET0]
127 ldrne r1, [r8, #SCU_OFFSET1]
168 ldr r1, =0xffff
169 ands r0, r0, r1
217 mov r1, #0x00
225 mov r1, #SCU_PM_NORMAL
263 adr r1, ppa_zero_params_offset
264 ldr r3, [r1]
[all …]
/linux-4.4.14/arch/blackfin/kernel/
Dftrace-entry.S39 [--sp] = r1;
48 r1 = [sp + 16]; /* skip the 4 local regs on stack */ define
64 r1 = [sp++]; define
120 [--sp] = r1;
132 r1 = [sp + 16]; /* skip the 4 local regs on stack */ define
141 r1 = [sp++]; define
162 [--sp] = r1;
167 r1 = rets; /* unsigned long self_addr */ define
170 r1 = [sp]; /* unsigned long self_addr */ define
176 r1 += -MCOUNT_INSN_SIZE;
[all …]
/linux-4.4.14/arch/powerpc/boot/
Dcrt0.S136 lwz r1,0(r8)
138 stwu r0,-16(r1) /* establish a stack frame */
219 ld r1,0(r8)
221 stdu r0,-112(r1) /* establish a stack frame */
249 std r0,16(r1)
250 stdu r1,-PROM_FRAME_SIZE(r1) /* Save SP and create stack space */
252 SAVE_GPR(2, r1)
253 SAVE_GPR(13, r1)
254 SAVE_8GPRS(14, r1)
255 SAVE_10GPRS(22, r1)
[all …]
/linux-4.4.14/arch/sh/kernel/cpu/sh3/
Dswsusp.S17 #define k1 r1
44 mov.l @r2+,r1 /* 16n+0 */
45 mov.l r1,@r5
47 mov.l @r2+,r1 /* 16n+4 */
48 mov.l r1,@r5
50 mov.l @r2+,r1 /* 16n+8 */
51 mov.l r1,@r5
53 mov.l @r2+,r1 /* 16n+12 */
54 mov.l r1,@r5
73 mov.l @r15+, r1
[all …]
/linux-4.4.14/sound/oss/
Dvidc_fill.S21 1: cmp r0, r1
34 1: cmp r0, r1
48 1: cmp r0, r1
60 1: cmp r0, r1
75 1: cmp r0, r1
81 cmp r0, r1
93 1: cmp r0, r1
97 cmp r0, r1
106 mov r1, #0
110 stmltia r2!, {r0, r1, r4, r5}
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dhost.fuc67 nv_iord($r1, NV_PPWR_FIFO_GET(0))
69 cmp b32 $r1 $r2
72 and $r14 $r1 #fifo_qmaskp
84 add b32 $r1 0x1
85 and $r14 $r1 #fifo_qmaskf
101 mov $r1 (PROC_KERN & 0x0000ffff)
102 sethi $r1 (PROC_KERN & 0xffff0000)
103 cmp b32 $r14 $r1
108 nv_iord($r1, NV_PPWR_RFIFO_GET)
110 xor $r1 #rfifo_qmaskb
[all …]
/linux-4.4.14/arch/cris/arch-v10/lib/
Ddram_init.S58 move.d CONFIG_ETRAX_DEF_R_SDRAM_TIMING, $r1
59 move.d $r1, $r3
60 and.d 0x03, $r1 ; Get CAS latency
65 cmp.d 0x00, $r1 ; CAS latency = 2?
72 cmp.d 0x01, $r1 ; CAS latency = 2?
77 move.d CONFIG_ETRAX_DEF_R_SDRAM_CONFIG, $r1
78 and.d 0x800000, $r1 ; DRAM width is bit 23
85 move.d CONFIG_ETRAX_DEF_R_SDRAM_TIMING, $r1
86 and.d 0x8000f9ff, $r1 ; Make sure mrs data and command is 0
87 or.d 0x80000000, $r1 ; Make sure sdram enable bit is set
[all …]
/linux-4.4.14/kernel/bpf/
Dhelpers.c29 static u64 bpf_map_lookup_elem(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_map_lookup_elem() argument
35 struct bpf_map *map = (struct bpf_map *) (unsigned long) r1; in bpf_map_lookup_elem()
57 static u64 bpf_map_update_elem(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_map_update_elem() argument
59 struct bpf_map *map = (struct bpf_map *) (unsigned long) r1; in bpf_map_update_elem()
78 static u64 bpf_map_delete_elem(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_map_delete_elem() argument
80 struct bpf_map *map = (struct bpf_map *) (unsigned long) r1; in bpf_map_delete_elem()
102 static u64 bpf_get_smp_processor_id(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_get_smp_processor_id() argument
113 static u64 bpf_ktime_get_ns(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_ktime_get_ns() argument
125 static u64 bpf_get_current_pid_tgid(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_get_current_pid_tgid() argument
141 static u64 bpf_get_current_uid_gid(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_get_current_uid_gid() argument
[all …]
/linux-4.4.14/arch/arm/mach-rockchip/
Dsleep.S29 setmode PSR_I_BIT | PSR_F_BIT | SVC_MODE, r1 @ set svc, irqs off
30 mrc p15, 0, r1, c0, c0, 5
31 and r1, r1, #0xf
32 cmp r1, #0
46 ldr r1, rkpm_bootdata_cpu_code
47 bx r1
/linux-4.4.14/arch/sh/include/asm/
Dromimage-macros.h10 mov.l 1f, r1
12 mov.l r0, @r1
23 mov.l 1f, r1
25 mov.w r0, @r1
36 mov.l 1f, r1
38 mov.b r0, @r1
64 mov.l 1f, r1
65 mov.l @r1, r0
/linux-4.4.14/arch/unicore32/boot/compressed/
Dhead.S29 ldm (r1, r2, r3, r5, r6, r7, r8), [r0]+
31 sub.a r0, r0, r1 @ calculate the delta offset
66 1001: ldw r1, [r7+], #0
67 add r1, r1, r0
68 stw.w r1, [r7]+, #4
100 mov r1, sp @ malloc space above stack
162 LC0: .word LC0 @ r1
174 2001: ldb.w r1, [r0]+, #1
175 csub.a r1, #0
182 movc p1.c1, r1, #1
[all …]
/linux-4.4.14/arch/blackfin/lib/
Ddivsi3.S45 r1 = abs r1; /* now both positive, r3.30 means "negate result",
48 cc = r0 < r1;
50 r2 = r1 >> 15;
53 r2 = r1 << 16;
76 r1 = r3 >> 31; /* add overflow issue back in */ define
77 r0 = r0 + r1;
78 r1 = -r0; define
80 if cc r0 = r1;
138 r1 = r3 >> 31; define
139 r2 = r2 + r1;
[all …]
/linux-4.4.14/arch/arm/common/
Dvlock.S58 @ r1: CPU ID (0-based index within cluster)
60 add r1, r1, #VLOCK_VOTING_OFFSET
62 voting_begin r0, r1, r2
70 strb r1, [r0, #VLOCK_OWNER_OFFSET] @ submit my vote
72 voting_end r0, r1, r2 @ implies DMB
91 eor r0, r1, r2 @ zero if I won, else nonzero
95 voting_end r0, r1, r2
103 mov r1, #VLOCK_OWNER_NONE
104 strb r1, [r0, #VLOCK_OWNER_OFFSET]
/linux-4.4.14/drivers/block/paride/
Dfit2.c56 w0(0); a = r1(); in fit2_read_regr()
57 w0(1); b = r1(); in fit2_read_regr()
73 w0(0); a = r1(); w0(1); b = r1(); in fit2_read_block()
74 w0(3); c = r1(); w0(2); d = r1(); in fit2_read_block()
79 a = r1(); w0(3); b = r1(); in fit2_read_block()
80 w0(1); c = r1(); w0(0); d = r1(); in fit2_read_block()
Dcomm.c54 w2(6); l = r1(); w0(0x80); h = r1(); w2(4); in comm_read_regr()
63 case 4: w3(r+0x20); (void)r1(); in comm_read_regr()
85 case 4: w3(r); (void)r1(); w4(val); in comm_write_regr()
116 w0(0); w2(6); l = r1(); in comm_read_block()
117 w0(0x80); h = r1(); w2(4); in comm_read_block()
129 case 2: w3(0x68); (void)r1(); w2(0x24); in comm_read_block()
134 case 3: w3(0x68); (void)r1(); w2(0x24); in comm_read_block()
139 case 4: w3(0x68); (void)r1(); w2(0x24); in comm_read_block()
163 case 2: w3(0x48); (void)r1(); in comm_write_block()
167 case 3: w3(0x48); (void)r1(); in comm_write_block()
[all …]
/linux-4.4.14/arch/sh/kernel/
Dhead_32.S137 mov.l .LMMUCR, r1 /* Flush the TLB */
138 mov.l @r1, r0
140 mov.l r0, @r1
149 mov.l .LPMB_DATA, r1
167 mov r1, r7 /* temporary PMB_DATA iter */
202 mov.l r8, @r1
207 add r4, r1
234 mov.l r8, @r1; \
238 add r4, r1; \
277 mov #0, r1
[all …]
/linux-4.4.14/scripts/coccinelle/misc/
Dreturnvar.cocci40 @r1 depends on report || org@
52 p1 << r1.p1;
53 p2 << r1.p2;
54 C << r1.C;
55 ret << r1.ret;
60 p1 << r1.p1;
61 p2 << r1.p2;
62 C << r1.C;
63 ret << r1.ret;
/linux-4.4.14/arch/sh/kernel/cpu/sh2/
Dex.S21 mov.l r1,@-sp
23 mov #no,r1
29 extu.b r1,r1
31 extu.w r1,r1
/linux-4.4.14/tools/testing/selftests/powerpc/stringloops/
Dmemcmp_64.S89 std r31,-8(r1)
90 std r30,-16(r1)
91 std r29,-24(r1)
92 std r28,-32(r1)
93 std r27,-40(r1)
182 ld r31,-8(r1)
183 ld r30,-16(r1)
184 ld r29,-24(r1)
185 ld r28,-32(r1)
186 ld r27,-40(r1)
[all …]
/linux-4.4.14/arch/sh/kernel/cpu/shmobile/
Dsleep.S25 #define k1 r1
131 mov #4, r1
132 mov.l r1, @r0
144 mov #0, r1
145 mov.l r1, @r0
165 mov #0x80, r1
174 mov.l @(SH_SLEEP_RESUME, r5), r1
175 mov.l r1, @r0
179 mov #0x20, r1
187 mov #0x10, r1
[all …]
/linux-4.4.14/arch/tile/kernel/
Dhead_64.S52 movei r1, TILE_CHIP
80 ld r1, r4 /* access_pte for hv_install_context */
88 bfextu r7, r1, HV_PTE_INDEX_GLOBAL, HV_PTE_INDEX_GLOBAL
100 move r5, r1
146 GET_FIRST_INT(r5, r1) /* r5 = width */
180 st r0, r1
188 moveli r1, hw2_last(boot_sp)
192 shl16insli r1, r1, hw1(boot_sp)
196 shl16insli r1, r1, hw0(boot_sp)
200 add r1, r1, r5
[all …]

1234