Home
last modified time | relevance | path

Searched full:r2 (Results 1 – 25 of 1482) sorted by relevance

12345678910>>...60

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_masking.c16 r2 -= r1; \ in test_out_of_bounds_1()
17 r2 |= r1; \ in test_out_of_bounds_1()
18 r2 = -r2; \ in test_out_of_bounds_1()
19 r2 s>>= 63; \ in test_out_of_bounds_1()
20 r1 &= r2; \ in test_out_of_bounds_1()
36 r2 -= r1; \ in test_out_of_bounds_2()
37 r2 |= r1; \ in test_out_of_bounds_2()
38 r2 = -r2; \ in test_out_of_bounds_2()
39 r2 s>>= 63; \ in test_out_of_bounds_2()
40 r1 &= r2; \ in test_out_of_bounds_2()
[all …]
H A Dverifier_helper_value_access.c47 r2 = r10; \ in access_to_map_full_range()
48 r2 += -8; \ in access_to_map_full_range()
50 *(u64*)(r2 + 0) = r1; \ in access_to_map_full_range()
55 r2 = %[sizeof_test_val]; \ in access_to_map_full_range()
73 r2 = r10; \ in access_to_map_partial_range()
74 r2 += -8; \ in access_to_map_partial_range()
76 *(u64*)(r2 + 0) = r1; \ in access_to_map_partial_range()
81 r2 = 8; \ in access_to_map_partial_range()
94 __failure __msg("R2 invalid zero-sized read")
98 r2 = r10; \ in access_to_map_empty_range()
[all …]
H A Dverifier_var_off.c22 r2 = *(u32*)(r1 + 0); \ in variable_offset_ctx_access()
24 r2 &= 4; \ in variable_offset_ctx_access()
28 r1 += r2; \ in variable_offset_ctx_access()
38 __msg_unpriv("R2 variable stack access prohibited for !root")
47 r2 = *(u32*)(r1 + 0); \ in stack_read_priv_vs_unpriv()
49 r2 &= 4; \ in stack_read_priv_vs_unpriv()
50 r2 -= 8; \ in stack_read_priv_vs_unpriv()
54 r2 += r10; \ in stack_read_priv_vs_unpriv()
56 r0 = *(u32*)(r2 + 0); \ in stack_read_priv_vs_unpriv()
65 __failure_unpriv __msg_unpriv("R2 variable stack access prohibited for !root")
[all …]
H A Dverifier_helper_access_var_len.c51 r2 = 16; \ in bitwise_and_jmp_correct_bounds()
52 *(u64*)(r1 - 128) = r2; \ in bitwise_and_jmp_correct_bounds()
53 r2 = *(u64*)(r1 - 128); \ in bitwise_and_jmp_correct_bounds()
54 r2 &= 64; \ in bitwise_and_jmp_correct_bounds()
56 if r4 >= r2 goto l0_%=; \ in bitwise_and_jmp_correct_bounds()
70 __msg_unpriv("invalid indirect read from stack R2 off -64+0 size 64")
84 r2 = r10; \ in stack_bitwise_and_zero_included()
85 r2 += -64; \ in stack_bitwise_and_zero_included()
107 r2 = *(u64*)(r1 + 8); \ in bitwise_and_jmp_wrong_max()
110 *(u64*)(r1 - 128) = r2; \ in bitwise_and_jmp_wrong_max()
[all …]
H A Dverifier_regalloc.c31 r2 = r10; \ in __flag()
32 r2 += -8; \ in __flag()
38 r2 = r0; \ in __flag()
40 if r2 s< 0 goto l0_%=; \ in __flag()
42 r7 += r2; \ in __flag()
61 r2 = r10; \ in regalloc_negative()
62 r2 += -8; \ in regalloc_negative()
68 r2 = r0; \ in regalloc_negative()
70 if r2 s< 0 goto l0_%=; \ in regalloc_negative()
72 r7 += r2; \ in regalloc_negative()
[all …]
H A Dverifier_direct_packet_access.c15 r2 = *(u32*)(r1 + %[__sk_buff_data]); \ in __retval()
16 r0 -= r2; \ in __retval()
30 r2 = *(u32*)(r1 + %[__sk_buff_data]); \ in direct_packet_access_test1()
32 r0 = r2; \ in direct_packet_access_test1()
35 r0 = *(u8*)(r2 + 0); \ in direct_packet_access_test1()
61 r2 = *(u32*)(r1 + %[__sk_buff_len]); \ in direct_packet_access_test2()
62 r2 <<= 49; \ in direct_packet_access_test2()
63 r2 >>= 49; \ in direct_packet_access_test2()
64 r3 += r2; \ in direct_packet_access_test2()
65 r2 = r3; \ in direct_packet_access_test2()
[all …]
/openbmc/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 …]
/openbmc/linux/arch/nios2/mm/
H A Duaccess.c16 " movi r2,7\n"
18 " bge r2,r6,1f\n"
19 " xor r2,r4,r5\n"
20 " andi r2,r2,3\n"
22 " beq r2,zero,4f\n"
24 " movi r2,-1\n"
25 " beq r6,r2,3f\n"
26 " mov r7,r2\n"
27 "2: ldbu r2,0(r5)\n"
30 " stb r2,0(r3)\n"
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/include/media/
H A Dv4l2-rect.h73 * v4l2_rect_same_size() - return true if r1 has the same size as r2
75 * @r2: rectangle.
80 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()
86 * v4l2_rect_same_position() - return true if r1 has the same position as r2
88 * @r2: rectangle.
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()
99 * v4l2_rect_equal() - return true if r1 equals r2
101 * @r2: rectangle.
[all …]
/openbmc/qemu/target/tricore/
H A Dtranslate.c211 static inline void gen_offset_ld(DisasContext *ctx, TCGv r1, TCGv r2, in gen_offset_ld() argument
215 tcg_gen_addi_tl(temp, r2, con); in gen_offset_ld()
219 static inline void gen_offset_st(DisasContext *ctx, TCGv r1, TCGv r2, in gen_offset_st() argument
223 tcg_gen_addi_tl(temp, r2, con); in gen_offset_st()
260 static void gen_st_preincr(DisasContext *ctx, TCGv r1, TCGv r2, int16_t off, in gen_st_preincr() argument
264 tcg_gen_addi_tl(temp, r2, off); in gen_st_preincr()
266 tcg_gen_mov_tl(r2, temp); in gen_st_preincr()
269 static void gen_ld_preincr(DisasContext *ctx, TCGv r1, TCGv r2, int16_t off, in gen_ld_preincr() argument
273 tcg_gen_addi_tl(temp, r2, off); in gen_ld_preincr()
275 tcg_gen_mov_tl(r2, temp); in gen_ld_preincr()
[all …]
/openbmc/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 …]
/openbmc/linux/kernel/
H A 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 …]
/openbmc/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 …]
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/
H A Dplatform.S82 r0, r1, r2, r3, r5, r6, r7, r8, r9, r10, r11
105 str r2, [r0]
113 mov r2, #7
114 orr r1, r1, r2, lsl #8
123 mov r2, r1, lsr #18
124 cmp r2, #0x01
140 bic r2, r1, #0xFFFFFF00
141 cmp r2, r3 @ record min
144 bic r2, r1, #0xFFFF00FF
145 cmp r3, r2, lsr #8 @ record max
[all …]
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dpsci.S71 adr r2, _ls102x_psci_supported_table
72 1: ldr r3, [r2]
76 addne r2, r2, #8
80 ldr r0, [r2, #4]
114 @ r2 = target PC
126 mov r1, r2
127 mov r2, r3
136 ldr r2, [r4, #DCFG_CCSR_BRR]
137 rev r2, r2
138 lsr r2, r2, r1
[all …]
/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/
H A Dlowlevel_init.S23 * r2 - configuration for SDRAM chips
86 ldr r4, [r2]
105 ldr r2, =0xdeadbeef
118 cmpeq r5, r2
137 * r2 - Total block count
152 ldr r2, [r0]
155 cmp r1, r2
168 ldr r2, =0x00000001
180 ldreq r2, =0x00000001
202 ldr r2, [r0]
[all …]
/openbmc/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 …]
/openbmc/linux/arch/sh/include/asm/
H A Dswitch_to_32.h12 register u32 *__ts2 __asm__ ("r2") = \
16 "movs.l @r2+, a0\n\t" \
17 "movs.l @r2+, a1\n\t" \
18 "movs.l @r2+, a0g\n\t" \
19 "movs.l @r2+, a1g\n\t" \
20 "movs.l @r2+, m0\n\t" \
21 "movs.l @r2+, m1\n\t" \
22 "movs.l @r2+, x0\n\t" \
23 "movs.l @r2+, x1\n\t" \
24 "movs.l @r2+, y0\n\t" \
[all …]

12345678910>>...60