Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/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
37 .macro uaccess_ttbr0_disable, tmp1, tmp2
39 save_and_disable_irq \tmp2 // avoid preemption
41 restore_irq \tmp2
45 .macro uaccess_ttbr0_enable, tmp1, tmp2, tmp3
48 __uaccess_ttbr0_enable \tmp1, \tmp2
[all …]
Dassembler.h418 .macro dcache_by_line_op op, domain, start, end, tmp1, tmp2, fixup
419 dcache_line_size \tmp1, \tmp2
420 dcache_by_myline_op \op, \domain, \start, \end, \tmp1, \tmp2, \fixup
431 .macro invalidate_icache_by_line start, end, tmp1, tmp2, fixup
432 icache_line_size \tmp1, \tmp2
433 sub \tmp2, \tmp1, #1
434 bic \tmp2, \start, \tmp2
436 ic ivau, \tmp2 // invalidate I line PoU
437 add \tmp2, \tmp2, \tmp1
438 cmp \tmp2, \end
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/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 …]
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
71 neg tmp2, dst
72 ands tmp2, tmp2, #15
81 sub count, count, tmp2
82 add dst, dst, tmp2
168 neg tmp2, dst
169 ands tmp2, tmp2, zva_bits_x
172 sub tmp1, count, tmp2
188 subs tmp2, tmp2, #64
193 add dst, dst, tmp2
Dstrncmp.S38 #define tmp2 x9 macro
80 orr tmp2, data1, #REP8_7f
83 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
139 orr tmp2, tmp3, #REP8_7f
140 bic has_nul, tmp1, tmp2
169 mov tmp2, #~0
170 LS_FW tmp2, tmp2, tmp3 /* Shift (count & 63). */
174 orr data1, data1, tmp2
175 orr data2, data2, tmp2
238 ldp tmp1, tmp2, [src2], #16
[all …]
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-6.12.1/arch/arm/mach-at91/
Dpm_suspend.S24 tmp2 .req r5 label
160 ldr tmp2, =UDDRC_PSTAT_ALL_PORTS
161 tst tmp1, tmp2
477 ldr tmp2, .pm_mode
481 cmp tmp2, #AT91_PM_ULP0_FAST
523 cmp tmp2, #AT91_PM_ULP0_FAST
569 ldr tmp2, .mckr_offset
607 ldr tmp1, [pmc, tmp2]
610 str tmp1, [pmc, tmp2]
637 ldr tmp1, [pmc, tmp2]
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/arch/powerpc/include/asm/book3s/32/
Dmmu-hash.h99 .macro update_user_segments_by_4 tmp1 tmp2 tmp3 tmp4
100 uus_addi 1, \tmp2, \tmp1, 0x111
105 uus_mtsr 1, \tmp2
110 uus_addi 5, \tmp2, \tmp2, 0x444
115 uus_mtsr 5, \tmp2
120 uus_addi 9, \tmp2, \tmp2, 0x444
125 uus_mtsr 9, \tmp2
130 uus_addi 13, \tmp2, \tmp2, 0x444
135 uus_mtsr 13, \tmp2
/linux-6.12.1/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
28 mov \tmp2, #0xffff0fff
30 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0
37 .L1_\@: switch_tls_v6k \base, \tp, \tpuser, \tmp1, \tmp2
41 .macro switch_tls_software, base, tp, tpuser, tmp1, tmp2
Duaccess-asm.h131 .macro uaccess_entry, tsk, tmp0, tmp1, tmp2, disable
138 mov \tmp2, #DACR_UACCESS_DISABLE
139 mcr p15, 0, \tmp2, c3, c0, 0
143 bic \tmp2, \tmp0, #domain_mask(DOMAIN_KERNEL)
144 orr \tmp2, \tmp2, #domain_val(DOMAIN_KERNEL, DOMAIN_CLIENT)
145 mcr p15, 0, \tmp2, c3, c0, 0
/linux-6.12.1/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-6.12.1/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()
276 unsigned long tmp1, tmp2; in csum_partial_copy_nocheck() local
364 "=&d" (tmp1), "=&d" (tmp2) in csum_partial_copy_nocheck()
/linux-6.12.1/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-6.12.1/arch/alpha/kernel/
Dtraps.c380 long error, tmp1, tmp2, tmp3, tmp4; in do_entUna() local
403 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
407 una_reg(reg) = tmp1|tmp2; in do_entUna()
419 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
423 una_reg(reg) = (int)(tmp1|tmp2); in do_entUna()
435 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
439 una_reg(reg) = tmp1|tmp2; in do_entUna()
462 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
486 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
510 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
[all …]
/linux-6.12.1/arch/arm/net/
Dbpf_jit_32.c847 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_alu_r64() local
854 rs = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_alu_r64()
862 rs = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_alu_r64()
1011 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
1016 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
1021 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
1024 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
1035 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
1040 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
1045 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
[all …]
/linux-6.12.1/arch/arc/include/asm/
Duaccess.h143 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_from_user() local
219 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user()
243 "=r"(tmp1), "=r"(tmp2) in raw_copy_from_user()
358 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user()
371 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_to_user() local
442 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user()
466 "=r"(tmp1), "=r"(tmp2) in raw_copy_to_user()
581 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user()
/linux-6.12.1/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-6.12.1/arch/xtensa/lib/
Dumulsidi3.S199 .macro mul_mulsi3_body dst, src1, src2, tmp1, tmp2 argument
202 extui \tmp2, \src1, 0, 1
203 movnez \dst, \tmp1, \tmp2
206 extui \tmp2, \src1, 1, 1
207 movnez \dst, \tmp1, \tmp2
210 extui \tmp2, \src1, 2, 1
211 movnez \dst, \tmp1, \tmp2
214 extui \tmp2, \src1, 3, 1
215 movnez \dst, \tmp1, \tmp2
/linux-6.12.1/arch/loongarch/lib/
Dcsum.c60 __uint128_t tmp1, tmp2, tmp3, tmp4; in do_csum() local
63 tmp2 = *(__uint128_t *)(ptr + 2); in do_csum()
72 tmp2 += (tmp2 >> 64) | (tmp2 << 64); in do_csum()
75 tmp1 = ((tmp1 >> 64) << 64) | (tmp2 >> 64); in do_csum()

1234567