Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 622) sorted by relevance

12345678910>>...25

/linux-6.6.21/crypto/
Dserpent_generic.c228 static noinline void __serpent_setkey_sbox(u32 r0, u32 r1, u32 r2, in __serpent_setkey_sbox() argument
232 S3(r3, r4, r0, r1, r2); store_and_load_keys(r1, r2, r4, r3, 28, 24); in __serpent_setkey_sbox()
233 S4(r1, r2, r4, r3, r0); store_and_load_keys(r2, r4, r3, r0, 24, 20); in __serpent_setkey_sbox()
234 S5(r2, r4, r3, r0, r1); store_and_load_keys(r1, r2, r4, r0, 20, 16); in __serpent_setkey_sbox()
235 S6(r1, r2, r4, r0, r3); store_and_load_keys(r4, r3, r2, r0, 16, 12); in __serpent_setkey_sbox()
236 S7(r4, r3, r2, r0, r1); store_and_load_keys(r1, r2, r0, r4, 12, 8); in __serpent_setkey_sbox()
237 S0(r1, r2, r0, r4, r3); store_and_load_keys(r0, r2, r4, r1, 8, 4); in __serpent_setkey_sbox()
238 S1(r0, r2, r4, r1, r3); store_and_load_keys(r3, r4, r1, r0, 4, 0); in __serpent_setkey_sbox()
239 S2(r3, r4, r1, r0, r2); store_and_load_keys(r2, r4, r3, r0, 0, -4); in __serpent_setkey_sbox()
240 S3(r2, r4, r3, r0, r1); store_and_load_keys(r0, r1, r4, r2, -4, -8); in __serpent_setkey_sbox()
[all …]
/linux-6.6.21/arch/hexagon/kernel/
Dhead.S36 r2.h = #0xffc0;
37 r2.l = #0x0000;
38 r25 = and(r2,r25); /* R25 holds PHYS_OFFSET now */
62 r2.l = #LO(stext);
67 r2.h = #HI(stext);
71 r1 = sub(r1, r2);
78 r2.h = #0xffc0;
79 r2.l = #0x0000; /* round back down to 4MB boundary */
80 r1 = and(r1,r2);
81 r2 = lsr(r1, #22) /* 4MB page number */ define
[all …]
/linux-6.6.21/arch/sh/lib/
D__clear_user.S22 mov r4, r2
27 add #31, r2
28 and r1, r2
29 cmp/eq r4, r2
31 mov r2, r3
34 mov r4, r2
37 0: mov.b r0, @r2
39 add #1, r2
42 mov r2, r4
47 cmp/hi r2, r3
[all …]
/linux-6.6.21/arch/hexagon/lib/
Dmemset.S29 p0 = cmp.eq(r2, #0)
30 p1 = cmp.gtu(r2, #7)
47 loop0(1f, r2) /* byte loop */
59 p1 = cmp.eq(r2, #1)
72 p1 = cmp.eq(r2, #2)
84 p0 = cmp.gtu(r2, #7)
85 p1 = cmp.eq(r2, #4)
91 p0 = cmp.gtu(r2, #11)
97 r10 = lsr(r2, #3)
114 p1 = cmp.eq(r2, #8)
[all …]
/linux-6.6.21/arch/arc/lib/
Dstrchr-700.S16 bmsk r2,r0,1
19 breq.d r2,r0,.Laligned
21 sub_s r0,r0,r2
22 asl r7,r2,3
23 ld_s r2,[r0]
31 sub r12,r2,r7
32 bic_s r12,r12,r2
35 xor r6,r2,r5
36 ld.a r2,[r0,4]
47 bic r2,r7,r6
[all …]
Dstrcmp.S16 or r2,r0,r1
17 bmsk_s r2,r2,1
18 brne r2,0,.Lcharloop
22 ld.ab r2,[r0,4]
25 sub r4,r2,r12
26 bic r4,r4,r2
29 breq r2,r3,.Lwordloop
31 xor r0,r2,r3 ; mask for difference
36 and_s r2,r2,r0
39 cmp_s r2,r3
[all …]
Dstrcmp-archs.S9 or r2, r0, r1
10 bmsk_s r2, r2, 1
11 brne r2, 0, @.Lcharloop
14 ld.ab r2, [r0, 4]
22 sub r4, r2, r12
24 bic r4, r4, r2
28 cmp r2, r3
30 mov.eq r2, r5
36 swape r2, r2
40 cmp_s r2, r3
[all …]
Dstrcpy-700.S19 or r2,r0,r1
20 bmsk_s r2,r2,1
21 brne.d r2,0,charloop
27 sub r2,r3,r8
28 bic_s r2,r2,r3
29 tst_s r2,r12
38 sub r2,r3,r8
39 bic_s r2,r2,r3
40 tst_s r2,r12
43 sub r2,r4,r8
[all …]
/linux-6.6.21/arch/arm/mach-socfpga/
Dself-refresh.S49 mrc p15, 0, r2, c15, c0, 0
50 orr r2, r2, #1
51 mcr p15, 0, r2, c15, c0, 0
54 ldr r2, [r0, #SDR_CTRLGRP_LOWPWREQ_ADDR]
55 orr r2, r2, #SELFRSHREQ_MASK
56 str r2, [r0, #SDR_CTRLGRP_LOWPWREQ_ADDR]
61 ldr r2, [r0, #SDR_CTRLGRP_LOWPWRACK_ADDR]
62 and r2, r2, #SELFRFSHACK_MASK
63 cmp r2, #SELFRFSHACK_MASK
90 ldr r2, [r0, #SDR_CTRLGRP_LOWPWREQ_ADDR]
[all …]
/linux-6.6.21/drivers/memory/
Dti-emif-sram-pm.S47 ldr r2, [r4, #EMIF_PM_REGS_VIRT_OFFSET]
51 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET]
54 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET]
57 str r1, [r2, #EMIF_TIMING1_VAL_OFFSET]
60 str r1, [r2, #EMIF_TIMING2_VAL_OFFSET]
63 str r1, [r2, #EMIF_TIMING3_VAL_OFFSET]
66 str r1, [r2, #EMIF_PMCR_VAL_OFFSET]
69 str r1, [r2, #EMIF_PMCR_SHDW_VAL_OFFSET]
72 str r1, [r2, #EMIF_ZQCFG_VAL_OFFSET]
75 str r1, [r2, #EMIF_DDR_PHY_CTLR_1_OFFSET]
[all …]
/linux-6.6.21/kernel/
Dresource_kunit.c24 static struct resource r2 = { .start = R2_START, .end = R2_END }; variable
30 struct resource *r2; member
37 .r1 = &r1, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true,
39 .r1 = &r2, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true,
41 .r1 = &r3, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true,
43 .r1 = &r4, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true,
45 .r1 = &r2, .r2 = &r1, .ret = false,
47 .r1 = &r3, .r2 = &r1, .ret = false,
49 .r1 = &r4, .r2 = &r1, .r.start = R1_START, .r.end = R4_END, .ret = true,
51 .r1 = &r2, .r2 = &r3, .ret = false,
[all …]
/linux-6.6.21/arch/arm/mach-imx/
Dsuspend-imx53.S49 add r2, r0, #SUSPEND_INFO_MX53_IO_STATE_OFFSET
53 ldr r5, [r2], #12 /* IOMUXC register offset */
55 str r6, [r2], #4 /* save area */
62 ldr r2,[r1, #M4IF_MCR0_OFFSET]
63 orr r2, r2, #M4IF_MCR0_FDVFS
64 str r2,[r1, #M4IF_MCR0_OFFSET]
68 ldr r2,[r1, #M4IF_MCR0_OFFSET]
69 ands r2, r2, #M4IF_MCR0_FDVACK
77 add r2, r0, #SUSPEND_INFO_MX53_IO_STATE_OFFSET
81 ldr r5, [r2], #4 /* IOMUXC register offset */
[all …]
/linux-6.6.21/include/media/
Dv4l2-rect.h80 const struct v4l2_rect *r2) in v4l2_rect_same_size() argument
82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size()
93 const struct v4l2_rect *r2) in v4l2_rect_same_position() argument
95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position()
106 const struct v4l2_rect *r2) in v4l2_rect_equal() argument
108 return v4l2_rect_same_size(r1, r2) && v4l2_rect_same_position(r1, r2); in v4l2_rect_equal()
119 const struct v4l2_rect *r2) in v4l2_rect_intersect() argument
123 r->top = max(r1->top, r2->top); in v4l2_rect_intersect()
124 r->left = max(r1->left, r2->left); in v4l2_rect_intersect()
125 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect()
[all …]
/linux-6.6.21/arch/nios2/boot/compressed/
Dhead.S26 movui r2, NIOS2_ICACHE_LINE_SIZE
28 sub r1, r1, r2
32 movui r2, NIOS2_DCACHE_LINE_SIZE
34 sub r1, r1, r2
39 movia r2, chkadr
40 beq r1, r2, finish_move /* We are running in correct address,
44 movia r2, _start /* Destination */
47 stw r8, 0(r2) /* stort a word to dest [r2] */
49 addi r2, r2, 4 /* inc the dest addr */
50 blt r2, r3, 1b
[all …]
/linux-6.6.21/arch/arm/mach-omap2/
Dsleep43xx.S69 ldr r2, [r3, #AMX3_PM_RO_SRAM_DATA_VIRT_OFFSET]
70 str r4, [r2, #AMX3_PM_WFI_FLAGS_OFFSET]
122 mov r2, r0
123 ldr r0, [r2, #L2X0_AUX_CTRL]
125 ldr r0, [r2, #L310_PREFETCH_CTRL]
129 str r0, [r2, #L2X0_CLEAN_INV_WAY]
131 ldr r0, [r2, #L2X0_CLEAN_INV_WAY]
144 mov r2, r0
146 str r0, [r2, #L2X0_CACHE_SYNC]
148 ldr r0, [r2, #L2X0_CACHE_SYNC]
[all …]
/linux-6.6.21/arch/sh/kernel/cpu/sh2/
Dentry.S43 mov.l r2,@-sp
46 mov.l $cpu_mode,r2
52 add r3,r2
54 mov.l @r2,r0
62 mov.l r0,@r2 ! enter kernel mode
63 mov.l $current_thread_info,r2
69 add r0,r2
71 mov.l @r2,r2
74 add r2,r0
75 mov r15,r2 ! r2 = user stack top
[all …]
/linux-6.6.21/arch/arm/lib/
Dbitops.h11 mov r2, #1
20 mov r3, r2, lsl r3
21 1: ldrex r2, [r1]
22 \instr r2, r2, r3
23 strex r0, r2, [r1]
36 mov r2, #1
40 mov r3, r2, lsl r3 @ create mask
47 1: ldrex r2, [r1]
48 ands r0, r2, r3 @ save old value of bit
49 \instr r2, r2, r3 @ toggle bit
[all …]
Dfindbit.S29 mov r2, #0
41 add r2, r2, #32 @ next index
42 2: cmp r2, r1 @ any more?
53 cmp r2, r1
55 mov ip, r2, lsr #5 @ word index
57 ands ip, r2, #31 @ bit position
68 and ip, r2, #31 @ bit position
73 orr r2, r2, #31 @ no zero bits
74 add r2, r2, #1 @ align bit pointer
111 add r0, r2, r3 @ add offset of first set bit
[all …]
Dgetuser.S33 check_uaccess r0, 1, r1, r2, __get_user_bad
34 1: TUSER(ldrb) r2, [r0]
41 check_uaccess r0, 2, r1, r2, __get_user_bad
44 2: TUSER(ldrh) r2, [r0]
50 2: ldrbt r2, [r0], #1
54 2: ldrb r2, [r0]
58 orr r2, r2, rb, lsl #8
60 orr r2, rb, r2, lsl #8
71 check_uaccess r0, 4, r1, r2, __get_user_bad
72 4: TUSER(ldr) r2, [r0]
[all …]
/linux-6.6.21/tools/testing/memblock/tests/
Dbasic_api.c128 struct region r2 = { in memblock_add_disjoint_check() local
137 memblock_add(r2.base, r2.size); in memblock_add_disjoint_check()
142 ASSERT_EQ(rgn2->base, r2.base); in memblock_add_disjoint_check()
143 ASSERT_EQ(rgn2->size, r2.size); in memblock_add_disjoint_check()
146 ASSERT_EQ(memblock.memory.total_size, r1.size + r2.size); in memblock_add_disjoint_check()
181 struct region r2 = { in memblock_add_overlap_top_check() local
188 total_size = (r1.base - r2.base) + r1.size; in memblock_add_overlap_top_check()
192 memblock_add(r2.base, r2.size); in memblock_add_overlap_top_check()
194 ASSERT_EQ(rgn->base, r2.base); in memblock_add_overlap_top_check()
233 struct region r2 = { in memblock_add_overlap_bottom_check() local
[all …]
/linux-6.6.21/arch/arm/kernel/
Diwmmxt.S84 XSC(mrc p15, 0, r2, c15, c1, 0)
85 PJ4(mrc p15, 0, r2, c1, c0, 2)
87 XSC(tst r2, #0x3)
88 PJ4(tst r2, #0xf)
91 XSC(orr r2, r2, #0x3)
92 XSC(mcr p15, 0, r2, c15, c1, 0)
93 PJ4(orr r2, r2, #0xf)
94 PJ4(mcr p15, 0, r2, c1, c0, 2)
97 ldr r2, [r0, #S_PC] @ current task pc value
99 sub r2, r2, #4 @ adjust pc back
[all …]
Ddebug.S55 printhex: adr r2, hexbuf_rel
56 ldr r3, [r2]
57 add r2, r2, r3
58 add r3, r2, r1
67 teq r3, r2
69 mov r0, r2
84 addruart_current r3, r1, r2
93 waituartcts r2, r3
95 waituarttxrdy r2, r3
97 busyuart r2, r3
[all …]
/linux-6.6.21/arch/nios2/kernel/
Dhead.S69 movui r2, NIOS2_ICACHE_LINE_SIZE
73 sub r1, r1, r2
119 movui r2, NIOS2_DCACHE_LINE_SIZE
123 sub r1, r1, r2
128 movia r2, chkadr
129 beq r1, r2,finish_move /* We are running in RAM done */
131 movia r2, _start /* Destination */
136 stw r8, 0(r2) /* store a word to dest [r2] */
137 flushd 0(r2) /* Flush cache for safety */
139 addi r2, r2, 4 /* inc the dest addr */
[all …]
/linux-6.6.21/arch/csky/abiv2/
Dmemcmp.S12 cmplti r2, 4
24 zext r18, r2, 31, 4
58 zext r18, r2, 3, 2
71 zext r18, r2, 1, 0
91 xtrb0 r2, r21
92 subu r0, r2
97 xtrb1 r2, r21
98 subu r0, r2
103 xtrb2 r2, r21
104 subu r0, r2
[all …]
/linux-6.6.21/arch/s390/kernel/
Dtext_amode31.S31 lgr %r1,%r2
32 lgr %r2,%r3
36 diag %r1,%r2,0x14
42 lgfr %r2,%r5
51 lgr %r1,%r2
52 lhi %r2,-1
56 ipm %r2
57 srl %r2,28
60 lgfr %r2,%r2
71 diag %r2,%r4,0x8c
[all …]

12345678910>>...25