Home
last modified time | relevance | path

Searched refs:tmp2 (Results 1 – 25 of 148) sorted by relevance

123456

/Linux-v5.15/arch/arm64/include/asm/
Dasm_pointer_auth.h12 .macro __ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3
15 ldp \tmp2, \tmp3, [\tmp1, #PTRAUTH_KERNEL_KEY_APIA]
16 msr_s SYS_APIAKEYLO_EL1, \tmp2
20 .macro ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3
22 __ptrauth_keys_install_kernel_nosync \tsk, \tmp1, \tmp2, \tmp3
26 .macro ptrauth_keys_install_kernel tsk, tmp1, tmp2, tmp3
28 __ptrauth_keys_install_kernel_nosync \tsk, \tmp1, \tmp2, \tmp3
35 .macro __ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3
38 .macro ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3
41 .macro ptrauth_keys_install_kernel tsk, tmp1, tmp2, tmp3
[all …]
Dasm-uaccess.h26 .macro __uaccess_ttbr0_enable, tmp1, tmp2
29 mrs \tmp2, ttbr1_el1
30 extr \tmp2, \tmp2, \tmp1, #48
31 ror \tmp2, \tmp2, #16
32 msr ttbr1_el1, \tmp2 // set the active ASID
38 .macro uaccess_ttbr0_disable, tmp1, tmp2
40 save_and_disable_irq \tmp2 // avoid preemption
42 restore_irq \tmp2
46 .macro uaccess_ttbr0_enable, tmp1, tmp2, tmp3
49 __uaccess_ttbr0_enable \tmp1, \tmp2
[all …]
Dassembler.h417 .macro dcache_by_line_op op, domain, start, end, tmp1, tmp2, fixup
418 dcache_line_size \tmp1, \tmp2
419 sub \tmp2, \tmp1, #1
420 bic \start, \start, \tmp2
455 .macro invalidate_icache_by_line start, end, tmp1, tmp2, fixup
456 icache_line_size \tmp1, \tmp2
457 sub \tmp2, \tmp1, #1
458 bic \tmp2, \start, \tmp2
460 ic ivau, \tmp2 // invalidate I line PoU
461 add \tmp2, \tmp2, \tmp1
[all …]
/Linux-v5.15/arch/sparc/include/asm/
Dhead_64.h41 #define BRANCH_IF_CHEETAH_BASE(tmp1,tmp2,label) \ argument
43 sethi %hi(__CHEETAH_ID), %tmp2; \
45 or %tmp2, %lo(__CHEETAH_ID), %tmp2;\
46 cmp %tmp1, %tmp2; \
50 #define BRANCH_IF_JALAPENO(tmp1,tmp2,label) \ argument
52 sethi %hi(__JALAPENO_ID), %tmp2; \
54 or %tmp2, %lo(__JALAPENO_ID), %tmp2;\
55 cmp %tmp1, %tmp2; \
59 #define BRANCH_IF_CHEETAH_PLUS_OR_FOLLOWON(tmp1,tmp2,label) \ argument
61 srlx %tmp1, (32 + 16), %tmp2; \
[all …]
/Linux-v5.15/arch/mips/crypto/
Dpoly1305-mips.pl76 my ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$at,$t0,$t1);
137 ld $tmp2,16($inp)
144 dsrlv $tmp2,$tmp2,$tmp1
149 dsllv $tmp2,$tmp2,$tmp1
152 or $in1,$in1,$tmp2
168 dsll $tmp2,$tmp0,32
169 or $tmp0,$tmp2 # 0x000000FF000000FF
173 dsrl $tmp2,$in0,24
177 and $tmp2,$tmp0
180 or $tmp1,$tmp2
[all …]
/Linux-v5.15/arch/arm64/lib/
Dstrlen.S31 #define tmp2 x5 macro
97 orr tmp2, data1, REP8_7f
100 bics has_nul1, tmp1, tmp2
126 orr tmp2, tmp1, tmp3
127 tst tmp2, zeroones, lsl 7
132 orr tmp2, tmp1, tmp3
133 tst tmp2, zeroones, lsl 7
138 orr tmp2, data1, REP8_7f
140 bics has_nul1, tmp1, tmp2
155 orr tmp2, data1, REP8_7f
[all …]
Dstrncmp.S38 #define tmp2 x9 macro
69 orr tmp2, data1, #REP8_7f
72 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
132 orr tmp2, tmp3, #REP8_7f
133 bic has_nul, tmp1, tmp2
161 mov tmp2, #~0
165 lsl tmp2, tmp2, tmp3 /* Shift (count & 63). */
168 lsr tmp2, tmp2, tmp3 /* Shift (count & 63). */
175 orr data1, data1, tmp2
176 orr data2, data2, tmp2
[all …]
Dstrcmp.S37 #define tmp2 x8 macro
59 orr tmp2, data1, #REP8_7f
61 bic has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
99 orr tmp2, tmp3, #REP8_7f
100 bic has_nul, tmp1, tmp2
127 mov tmp2, #~0
130 lsl tmp2, tmp2, tmp1 /* Shift (tmp1 & 63). */
133 lsr tmp2, tmp2, tmp1 /* Shift (tmp1 & 63). */
135 orr data1, data1, tmp2
136 orr data2, data2, tmp2
[all …]
Dstrnlen.S39 tmp2 .req x9 label
75 orr tmp2, data1, #REP8_7f
78 bic has_nul1, tmp1, tmp2
107 CPU_BE( orr tmp2, data2, #REP8_7f )
108 CPU_BE( bic has_nul2, tmp1, tmp2 )
141 mov tmp2, #~0
143 CPU_BE( lsl tmp2, tmp2, tmp4 ) /* Shift (tmp1 & 63). */
145 CPU_LE( lsr tmp2, tmp2, tmp4 ) /* Shift (tmp1 & 63). */
149 orr data1, data1, tmp2
150 orr data2a, data2, tmp2
Dmemset.S33 tmp2 .req x4 label
72 neg tmp2, dst
73 ands tmp2, tmp2, #15
82 sub count, count, tmp2
83 add dst, dst, tmp2
169 neg tmp2, dst
170 ands tmp2, tmp2, zva_bits_x
173 sub tmp1, count, tmp2
189 subs tmp2, tmp2, #64
194 add dst, dst, tmp2
Dcopy_template.S29 tmp2 .req x4 label
47 neg tmp2, src
48 ands tmp2, tmp2, #15/* Bytes to reach alignment. */
50 sub count, count, tmp2
57 tbz tmp2, #0, 1f
61 tbz tmp2, #1, 2f
65 tbz tmp2, #2, 3f
69 tbz tmp2, #3, .LSrcAligned
/Linux-v5.15/arch/arm/mach-at91/
Dpm_suspend.S20 tmp2 .req r5 label
156 ldr tmp2, =UDDRC_PSTAT_ALL_PORTS
157 tst tmp1, tmp2
458 ldr tmp2, .pm_mode
462 cmp tmp2, #AT91_PM_ULP0_FAST
504 cmp tmp2, #AT91_PM_ULP0_FAST
550 ldr tmp2, .mckr_offset
588 ldr tmp1, [pmc, tmp2]
591 str tmp1, [pmc, tmp2]
618 ldr tmp1, [pmc, tmp2]
[all …]
/Linux-v5.15/tools/lib/
Drbtree.c230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
263 tmp2 = sibling->rb_left; in ____rb_erase_color()
264 if (!tmp2 || rb_is_black(tmp2)) { in ____rb_erase_color()
319 tmp1 = tmp2->rb_right; in ____rb_erase_color()
321 WRITE_ONCE(tmp2->rb_right, sibling); in ____rb_erase_color()
322 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color()
326 augment_rotate(sibling, tmp2); in ____rb_erase_color()
328 sibling = tmp2; in ____rb_erase_color()
342 tmp2 = sibling->rb_left; in ____rb_erase_color()
343 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color()
[all …]
/Linux-v5.15/arch/s390/lib/
Duaccess.c64 unsigned long tmp1, tmp2; in copy_from_user_mvcos() local
86 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) in copy_from_user_mvcos()
95 unsigned long tmp1, tmp2; in copy_from_user_mvcp() local
121 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) in copy_from_user_mvcp()
137 unsigned long tmp1, tmp2; in copy_to_user_mvcos() local
159 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) in copy_to_user_mvcos()
168 unsigned long tmp1, tmp2; in copy_to_user_mvcs() local
194 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) in copy_to_user_mvcs()
209 unsigned long tmp1, tmp2; in clear_user_mvcos() local
230 : "+a" (size), "+a" (to), "+a" (tmp1), "=a" (tmp2) in clear_user_mvcos()
[all …]
/Linux-v5.15/lib/
Drbtree.c230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
263 tmp2 = sibling->rb_left; in ____rb_erase_color()
264 if (!tmp2 || rb_is_black(tmp2)) { in ____rb_erase_color()
319 tmp1 = tmp2->rb_right; in ____rb_erase_color()
321 WRITE_ONCE(tmp2->rb_right, sibling); in ____rb_erase_color()
322 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color()
326 augment_rotate(sibling, tmp2); in ____rb_erase_color()
328 sibling = tmp2; in ____rb_erase_color()
342 tmp2 = sibling->rb_left; in ____rb_erase_color()
343 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color()
[all …]
/Linux-v5.15/arch/arm/include/asm/
Dtls.h10 .macro switch_tls_none, base, tp, tpuser, tmp1, tmp2
13 .macro switch_tls_v6k, base, tp, tpuser, tmp1, tmp2
14 mrc p15, 0, \tmp2, c13, c0, 2 @ get the user r/w register
17 str \tmp2, [\base, #TI_TP_VALUE + 4] @ save it
20 .macro switch_tls_v6, base, tp, tpuser, tmp1, tmp2
23 mov \tmp2, #0xffff0fff
25 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0
26 mrcne p15, 0, \tmp2, c13, c0, 2 @ get the user r/w register
29 strne \tmp2, [\base, #TI_TP_VALUE + 4] @ save it
32 .macro switch_tls_software, base, tp, tpuser, tmp1, tmp2
Duaccess-asm.h86 .macro uaccess_entry, tsk, tmp0, tmp1, tmp2, disable
91 mov \tmp2, #DACR_UACCESS_DISABLE
92 mcr p15, 0, \tmp2, c3, c0, 0
96 bic \tmp2, \tmp0, #domain_mask(DOMAIN_KERNEL)
97 orr \tmp2, \tmp2, #domain_val(DOMAIN_KERNEL, DOMAIN_CLIENT)
98 mcr p15, 0, \tmp2, c3, c0, 0
/Linux-v5.15/drivers/media/common/b2c2/
Dflexcop-sram.c240 u8 tmp1, tmp2;
246 tmp2 = 0xa5;
249 sram_write(adapter, addr, &tmp2, 1);
252 tmp2 = 0;
255 sram_read(adapter, addr, &tmp2, 1);
256 sram_read(adapter, addr, &tmp2, 1);
258 dprintk("%s: wrote 0xa5, read 0x%2x\n", __func__, tmp2);
260 if (tmp2 != 0xa5)
263 tmp2 = 0x5a;
266 sram_write(adapter, addr, &tmp2, 1);
[all …]
/Linux-v5.15/arch/m68k/lib/
Dchecksum.c40 unsigned long tmp1, tmp2; in csum_partial() local
118 "=&d" (tmp1), "=&d" (tmp2) in csum_partial()
139 unsigned long tmp1, tmp2; in csum_and_copy_from_user() local
261 "=&d" (tmp1), "=d" (tmp2) in csum_and_copy_from_user()
278 unsigned long tmp1, tmp2; in csum_partial_copy_nocheck() local
366 "=&d" (tmp1), "=&d" (tmp2) in csum_partial_copy_nocheck()
/Linux-v5.15/arch/arm/mach-tegra/
Dsleep.h81 .macro check_cpu_part_num part_num, tmp1, tmp2
84 mov32 \tmp2, \part_num
85 cmp \tmp1, \tmp2
89 .macro exit_smp, tmp1, tmp2
95 check_cpu_part_num 0xc09, \tmp1, \tmp2
99 moveq \tmp2, #0xf
100 moveq \tmp2, \tmp2, lsl \tmp1
102 streq \tmp2, [\tmp1] @ invalidate SCU tags for CPU
/Linux-v5.15/arch/arm/net/
Dbpf_jit_32.c736 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_alu_r64() local
743 rs = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_alu_r64()
751 rs = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_alu_r64()
848 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
853 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
858 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
861 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
872 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
877 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
882 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
[all …]
/Linux-v5.15/arch/alpha/kernel/
Dtraps.c440 long error, tmp1, tmp2, tmp3, tmp4; in do_entUna() local
463 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
467 una_reg(reg) = tmp1|tmp2; in do_entUna()
479 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
483 una_reg(reg) = (int)(tmp1|tmp2); in do_entUna()
495 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
499 una_reg(reg) = tmp1|tmp2; in do_entUna()
522 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
546 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
570 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
[all …]
/Linux-v5.15/arch/ia64/lib/
Ddo_csum.S106 #define tmp2 r27 macro
149 adds tmp2=-1,tmp1 // last-1
153 and last=-8,tmp2 // address of word containing last byte
162 shl tmp2=firstoff,3 // number of bits
169 shl hmask=hmask,tmp2 // build head mask, mask off [0,first1off[
264 shr.u tmp2=result1[0],32
266 add result1[0]=tmp1,tmp2
269 shr.u tmp2=result1[0],16
271 add result1[0]=tmp1,tmp2
274 shr.u tmp2=result1[0],16
[all …]
/Linux-v5.15/arch/csky/abiv2/
Dfpu.c152 unsigned long tmp1, tmp2; in save_to_user_fp() local
158 tmp2 = mfcr("cr<2, 2>"); in save_to_user_fp()
161 user_fp->fesr = tmp2; in save_to_user_fp()
202 : "=a"(tmp1), "=a"(tmp2), "=a"(tmp3), in save_to_user_fp()
214 unsigned long tmp1, tmp2; in restore_from_user_fp() local
220 tmp2 = user_fp->fesr; in restore_from_user_fp()
223 mtcr("cr<2, 2>", tmp2); in restore_from_user_fp()
264 : "=a"(tmp1), "=a"(tmp2), "=a"(tmp3), in restore_from_user_fp()
/Linux-v5.15/arch/arc/include/asm/
Duaccess.h172 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_from_user() local
247 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user()
271 "=r"(tmp1), "=r"(tmp2) in raw_copy_from_user()
386 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user()
399 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_to_user() local
469 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user()
493 "=r"(tmp1), "=r"(tmp2) in raw_copy_to_user()
608 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user()

123456