Home
last modified time | relevance | path

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

12345678910>>...23

/linux/crypto/
H A 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/arch/hexagon/kernel/
H A 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/arch/sh/lib/
H A 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/arch/hexagon/lib/
H A 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/drivers/memory/
H A 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/arch/arc/lib/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/arch/arm/mach-socfpga/
H A 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/include/media/
H A 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/arch/arm/mach-imx/
H A 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/arch/arm/mach-omap2/
H A 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/arch/sh/kernel/cpu/sh2/
H A 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/arch/nios2/boot/compressed/
H A 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/arch/arm/kernel/
H A Diwmmxt.S72 mrc p15, 0, r2, c15, c1, 0
74 tst r2, #0x3
77 orr r2, r2, #0x3
78 mcr p15, 0, r2, c15, c1, 0
81 ldr r2, [r0, #S_PC] @ current task pc value
83 sub r2, r2, #4 @ adjust pc back
84 str r2, [r0, #S_PC]
88 mrc p15, 0, r2, c2, c0, 0
89 mov r2, r2 @ cpwait
103 tmrc r2, wCon
[all …]
H A 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/arch/arm/lib/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dmemmove.S32 cmphi r2, ip
41 add r1, r1, r2
42 add r0, r0, r2
43 subs r2, r2, #4
51 1: subs r2, r2, #(28)
56 CALGN( sbcsne r4, ip, r2 ) @ C is always set here
59 CALGN( subs r2, r2, ip ) @ C is set here
64 2: PLD( subs r2, r2, #96 )
72 subs r2, r2, #32
75 PLD( cmn r2, #96 )
[all …]
/linux/arch/powerpc/kernel/
H A Dhead_book3s_32.S416 mfspr r2, SPRN_SDR1
418 rlwinm r2, r2, 28, 0xfffff000
419 rlwimi r2,r0,12,20,29 /* insert top 10 bits of address */
420 lwz r2,0(r2) /* get pmd entry */
425 rlwinm. r2,r2,0,0,19 /* extract address of pte page */
427 rlwimi r2,r0,22,20,29 /* insert next 10 bits of address */
428 lwz r2,0(r2) /* get linux-style pte */
429 andc. r1,r1,r2 /* check access & ~permission */
433 rlwimi r2, r3, 1, 31, 31 /* userspace ? -> PP lsb */
436 andc r1, r2, r1 /* PP = user? 1 : 0 */
[all …]
/linux/tools/testing/memblock/tests/
H A 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/arch/arm/crypto/
H A Dcurve25519-core.S61 vld1.8 {d8}, [r2]
62 vld1.8 {d10}, [r2]
63 add r2, r2, #6
64 vld1.8 {d12}, [r2]
65 vld1.8 {d14}, [r2]
66 add r2, r2, #6
67 vld1.8 {d16}, [r2]
68 add r2, r2, #4
69 vld1.8 {d18}, [r2]
70 vld1.8 {d20}, [r2]
[all …]
/linux/kernel/
H A Dresource_kunit.c26 static struct resource r2 = { .start = R2_START, .end = R2_END }; variable
32 struct resource *r2; member
39 .r1 = &r1, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true,
41 .r1 = &r2, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true,
43 .r1 = &r3, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true,
45 .r1 = &r4, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true,
47 .r1 = &r2, .r2 = &r1, .ret = false,
49 .r1 = &r3, .r2 = &r1, .ret = false,
51 .r1 = &r4, .r2 = &r1, .r.start = R1_START, .r.end = R4_END, .ret = true,
53 .r1 = &r2, .r2 = &r3, .ret = false,
[all …]

12345678910>>...23