Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 25 of 134) sorted by relevance

123456

/Linux-v6.6/arch/arm/mach-at91/
Dpm_suspend.S23 tmp1 .req r4 label
85 mcr p15, 0, tmp1, c7, c0, 4
137 ldr tmp1, [r2, #UDDRC_PCTRL_0]
138 bic tmp1, tmp1, #0x1
139 str tmp1, [r2, #UDDRC_PCTRL_0]
141 ldr tmp1, [r2, #UDDRC_PCTRL_1]
142 bic tmp1, tmp1, #0x1
143 str tmp1, [r2, #UDDRC_PCTRL_1]
145 ldr tmp1, [r2, #UDDRC_PCTRL_2]
146 bic tmp1, tmp1, #0x1
[all …]
/Linux-v6.6/arch/arm64/include/asm/
Dasm_pointer_auth.h12 .macro __ptrauth_keys_install_kernel_nosync tsk, tmp1, tmp2, tmp3
13 mov \tmp1, #THREAD_KEYS_KERNEL
14 add \tmp1, \tsk, \tmp1
15 ldp \tmp2, \tmp3, [\tmp1, #PTRAUTH_KERNEL_KEY_APIA]
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
[all …]
Dasm-uaccess.h16 .macro __uaccess_ttbr0_disable, tmp1
17 mrs \tmp1, ttbr1_el1 // swapper_pg_dir
18 bic \tmp1, \tmp1, #TTBR_ASID_MASK
19 sub \tmp1, \tmp1, #RESERVED_SWAPPER_OFFSET // reserved_pg_dir
20 msr ttbr0_el1, \tmp1 // set reserved TTBR0_EL1
21 add \tmp1, \tmp1, #RESERVED_SWAPPER_OFFSET
22 msr ttbr1_el1, \tmp1 // set reserved ASID
26 .macro __uaccess_ttbr0_enable, tmp1, tmp2
27 get_current_task \tmp1
28 ldr \tmp1, [\tmp1, #TSK_TI_TTBR0] // load saved TTBR0_EL1
[all …]
/Linux-v6.6/arch/sparc/include/asm/
Dhead_64.h35 #define BRANCH_IF_SUN4V(tmp1,label) \ argument
36 sethi %hi(is_sun4v), %tmp1; \
37 lduw [%tmp1 + %lo(is_sun4v)], %tmp1; \
38 brnz,pn %tmp1, label; \
41 #define BRANCH_IF_CHEETAH_BASE(tmp1,tmp2,label) \ argument
42 rdpr %ver, %tmp1; \
44 srlx %tmp1, 32, %tmp1; \
46 cmp %tmp1, %tmp2; \
50 #define BRANCH_IF_JALAPENO(tmp1,tmp2,label) \ argument
51 rdpr %ver, %tmp1; \
[all …]
/Linux-v6.6/arch/arm/mach-tegra/
Dsleep.h81 .macro check_cpu_part_num part_num, tmp1, tmp2
82 mrc p15, 0, \tmp1, c0, c0, 0
83 ubfx \tmp1, \tmp1, #4, #12
85 cmp \tmp1, \tmp2
89 .macro exit_smp, tmp1, tmp2
90 mrc p15, 0, \tmp1, c1, c0, 1 @ ACTLR
91 bic \tmp1, \tmp1, #(1<<6) | (1<<0) @ clear ACTLR.SMP | ACTLR.FW
92 mcr p15, 0, \tmp1, c1, c0, 1 @ ACTLR
95 check_cpu_part_num 0xc09, \tmp1, \tmp2
96 mrceq p15, 0, \tmp1, c0, c0, 5
[all …]
/Linux-v6.6/arch/loongarch/lib/
Dcsum.c60 __uint128_t tmp1, tmp2, tmp3, tmp4; in do_csum() local
62 tmp1 = *(__uint128_t *)ptr; in do_csum()
71 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum()
75 tmp1 = ((tmp1 >> 64) << 64) | (tmp2 >> 64); in do_csum()
76 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum()
79 tmp1 = ((tmp1 >> 64) << 64) | (tmp3 >> 64); in do_csum()
80 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum()
81 tmp1 = ((tmp1 >> 64) << 64) | sum64; in do_csum()
82 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum()
83 sum64 = tmp1 >> 64; in do_csum()
/Linux-v6.6/arch/arm64/lib/
Dstrlen.S30 #define tmp1 x4 macro
83 and tmp1, srcin, MIN_PAGE_SIZE - 1
85 cmp tmp1, MIN_PAGE_SIZE - 16
96 sub tmp1, data1, zeroones
100 bics has_nul1, tmp1, tmp2
109 clz tmp1, has_nul1
111 add len, len, tmp1, lsr 3
124 sub tmp1, data1, zeroones
126 orr tmp2, tmp1, tmp3
130 sub tmp1, data1, zeroones
[all …]
Dcsum.c63 __uint128_t tmp1, tmp2, tmp3, tmp4; in do_csum() local
65 tmp1 = *(__uint128_t *)ptr; in do_csum()
74 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum()
78 tmp1 = ((tmp1 >> 64) << 64) | (tmp2 >> 64); in do_csum()
79 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum()
82 tmp1 = ((tmp1 >> 64) << 64) | (tmp3 >> 64); in do_csum()
83 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum()
84 tmp1 = ((tmp1 >> 64) << 64) | sum64; in do_csum()
85 tmp1 += (tmp1 >> 64) | (tmp1 << 64); in do_csum()
86 sum64 = tmp1 >> 64; in do_csum()
Dstrnlen.S38 tmp1 .req x8 label
54 ands tmp1, srcin, #15
74 sub tmp1, data1, zeroones
78 bic has_nul1, tmp1, tmp2
81 orr tmp1, has_nul1, has_nul2
82 ccmp tmp1, #0, #0, pl /* NZCV = 0000 */
85 cbz tmp1, .Lhit_limit /* No null in final Qword. */
106 CPU_BE( sub tmp1, data2, zeroones )
108 CPU_BE( bic has_nul2, tmp1, tmp2 )
135 add tmp3, tmp3, tmp1
[all …]
Dstrncmp.S37 #define tmp1 x8 macro
63 eor tmp1, src1, src2
65 tst tmp1, #7
79 sub tmp1, data1, zeroones
83 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
111 add tmp1, limit, 8
114 lsl limit, tmp1, #3 /* Bits -> bytes. */
138 sub tmp1, tmp3, zeroones
140 bic has_nul, tmp1, tmp2
238 ldp tmp1, tmp2, [src2], #16
[all …]
Dmemcpy.S45 #define tmp1 x14 macro
99 lsr tmp1, count, 1
102 ldrb B_lw, [src, tmp1]
104 strb B_lw, [dstin, tmp1]
148 sub tmp1, dstin, src
149 cbz tmp1, L(copy0)
150 cmp tmp1, count
156 and tmp1, dstin, 15
158 sub src, src, tmp1
159 add count, count, tmp1 /* Count is now 16 too large. */
[all …]
/Linux-v6.6/arch/mips/crypto/
Dpoly1305-mips.pl76 my ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$at,$t0,$t1);
139 subu $tmp1,$zero,$tmp0
142 dsrlv $tmp3,$in1,$tmp1
144 dsrlv $tmp2,$tmp2,$tmp1
147 dsllv $tmp3,$in1,$tmp1
149 dsllv $tmp2,$tmp2,$tmp1
171 and $tmp1,$in0,$tmp0 # byte swap
175 dsll $tmp1,24
180 or $tmp1,$tmp2
190 or $tmp1,$tmp2
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dmmap.c24 void *bss_mmaped = NULL, *map_mmaped = NULL, *tmp0, *tmp1, *tmp2; in test_mmap() local
55 tmp1 = mmap(NULL, page_size, PROT_READ | PROT_WRITE, MAP_SHARED, rdmap_fd, 0); in test_mmap()
56 if (CHECK(tmp1 != MAP_FAILED, "rdonly_write_mmap", "unexpected success\n")) { in test_mmap()
57 munmap(tmp1, page_size); in test_mmap()
61 tmp1 = mmap(NULL, page_size, PROT_READ, MAP_SHARED, rdmap_fd, 0); in test_mmap()
62 if (CHECK(tmp1 == MAP_FAILED, "rdonly_read_mmap", "failed: %d\n", errno)) in test_mmap()
180 tmp1 = mmap(NULL, map_sz, PROT_READ | PROT_WRITE, MAP_SHARED, in test_mmap()
182 if (CHECK(tmp1 != MAP_FAILED, "data_mmap", "mmap succeeded\n")) { in test_mmap()
183 munmap(tmp1, map_sz); in test_mmap()
206 tmp1 = mmap(tmp0, 3 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
[all …]
/Linux-v6.6/arch/x86/lib/
Dmemmove_32.S25 .set tmp1, %ebx define
71 movl 1*4(src), tmp1
73 movl tmp1, 1*4(dest)
75 movl 3*4(src), tmp1
77 movl tmp1, 3*4(dest)
88 leal -4(dest, n), tmp1
91 movl tmp0, (tmp1)
98 movl dest, tmp1
104 movl tmp0,(tmp1)
129 movl -2*4(src), tmp1
[all …]
/Linux-v6.6/tools/lib/
Drbtree.c230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
252 tmp1 = sibling->rb_left; in ____rb_erase_color()
253 WRITE_ONCE(parent->rb_right, tmp1); in ____rb_erase_color()
255 rb_set_parent_color(tmp1, parent, RB_BLACK); in ____rb_erase_color()
259 sibling = tmp1; in ____rb_erase_color()
261 tmp1 = sibling->rb_right; in ____rb_erase_color()
262 if (!tmp1 || rb_is_black(tmp1)) { in ____rb_erase_color()
319 tmp1 = tmp2->rb_right; in ____rb_erase_color()
320 WRITE_ONCE(sibling->rb_left, tmp1); in ____rb_erase_color()
323 if (tmp1) in ____rb_erase_color()
[all …]
/Linux-v6.6/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
101 uus_addi 2, \tmp3, \tmp1, 0x222
102 uus_addi 3, \tmp4, \tmp1, 0x333
104 uus_mtsr 0, \tmp1
109 uus_addi 4, \tmp1, \tmp1, 0x444
114 uus_mtsr 4, \tmp1
119 uus_addi 8, \tmp1, \tmp1, 0x444
124 uus_mtsr 8, \tmp1
129 uus_addi 12, \tmp1, \tmp1, 0x444
[all …]
/Linux-v6.6/lib/
Drbtree.c230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
252 tmp1 = sibling->rb_left; in ____rb_erase_color()
253 WRITE_ONCE(parent->rb_right, tmp1); in ____rb_erase_color()
255 rb_set_parent_color(tmp1, parent, RB_BLACK); in ____rb_erase_color()
259 sibling = tmp1; in ____rb_erase_color()
261 tmp1 = sibling->rb_right; in ____rb_erase_color()
262 if (!tmp1 || rb_is_black(tmp1)) { in ____rb_erase_color()
319 tmp1 = tmp2->rb_right; in ____rb_erase_color()
320 WRITE_ONCE(sibling->rb_left, tmp1); in ____rb_erase_color()
323 if (tmp1) in ____rb_erase_color()
[all …]
/Linux-v6.6/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()
263 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user()
283 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user()
301 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) 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()
[all …]
/Linux-v6.6/arch/ia64/lib/
Ddo_csum.S105 #define tmp1 r26 macro
136 add tmp1=buf,len // last byte's address
149 adds tmp2=-1,tmp1 // last-1
150 and lastoff=7,tmp1 // how many bytes off for last element
152 sub tmp1=8,lastoff // complement to lastoff
161 and tmp1=7, tmp1 // make sure that if tmp1==8 -> tmp1=0
165 shl tmp1=tmp1,3 // number of bits
170 shr.u tmask=tmask,tmp1 // build tail mask, mask off ]8,lastoff]
263 zxt4 tmp1=result1[0]
266 add result1[0]=tmp1,tmp2
[all …]
/Linux-v6.6/arch/x86/crypto/
Dcurve25519-x86_64.c979 u64 *tmp1 = p01_tmp1 + (u32)16U; in point_add_and_double() local
984 u64 *a = tmp1; in point_add_and_double()
985 u64 *b = tmp1 + (u32)4U; in point_add_and_double()
986 u64 *ab = tmp1; in point_add_and_double()
987 u64 *dc = tmp1 + (u32)8U; in point_add_and_double()
1009 a1 = tmp1; in point_add_and_double()
1010 b1 = tmp1 + (u32)4U; in point_add_and_double()
1011 d = tmp1 + (u32)8U; in point_add_and_double()
1012 c = tmp1 + (u32)12U; in point_add_and_double()
1013 ab1 = tmp1; in point_add_and_double()
[all …]
/Linux-v6.6/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
20 .macro switch_tls_v6, base, tp, tpuser, tmp1, tmp2
27 ldr_va \tmp1, elf_hwcap
29 tst \tmp1, #HWCAP_TLS @ hardware TLS available?
37 .L1_\@: switch_tls_v6k \base, \tp, \tpuser, \tmp1, \tmp2
41 .macro switch_tls_software, base, tp, tpuser, tmp1, tmp2
42 mov \tmp1, #0xffff0fff
43 str \tp, [\tmp1, #-15] @ set TLS value at 0xffff0ff0
/Linux-v6.6/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-v6.6/arch/alpha/lib/
Ddivide.S58 #define tmp1 $3 macro
110 stq tmp1,24($30)
142 subq modulus,divisor,tmp1
145 cmovne compare,tmp1,modulus
151 ldq tmp1,24($30)
184 stq tmp1,24($30)
191 subq $31,$27,tmp1
194 cmovlt $28,tmp1,$27
195 ldq tmp1,24($30)
/Linux-v6.6/arch/xtensa/lib/
Dumulsidi3.S199 .macro mul_mulsi3_body dst, src1, src2, tmp1, tmp2
201 1: add \tmp1, \src2, \dst
203 movnez \dst, \tmp1, \tmp2
205 do_addx2 \tmp1, \src2, \dst, \tmp1
207 movnez \dst, \tmp1, \tmp2
209 do_addx4 \tmp1, \src2, \dst, \tmp1
211 movnez \dst, \tmp1, \tmp2
213 do_addx8 \tmp1, \src2, \dst, \tmp1
215 movnez \dst, \tmp1, \tmp2
/Linux-v6.6/arch/alpha/kernel/
Dtraps.c438 long error, tmp1, tmp2, tmp3, tmp4; in do_entUna() local
461 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
465 una_reg(reg) = tmp1|tmp2; in do_entUna()
477 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
481 una_reg(reg) = (int)(tmp1|tmp2); in do_entUna()
493 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) in do_entUna()
497 una_reg(reg) = tmp1|tmp2; in do_entUna()
520 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
544 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
568 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), in do_entUna()
[all …]

123456