Home
last modified time | relevance | path

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

123456

/linux-6.1.9/arch/arm/mach-at91/
Dpm_suspend.S19 tmp1 .req r4 label
81 mcr p15, 0, tmp1, c7, c0, 4
133 ldr tmp1, [r2, #UDDRC_PCTRL_0]
134 bic tmp1, tmp1, #0x1
135 str tmp1, [r2, #UDDRC_PCTRL_0]
137 ldr tmp1, [r2, #UDDRC_PCTRL_1]
138 bic tmp1, tmp1, #0x1
139 str tmp1, [r2, #UDDRC_PCTRL_1]
141 ldr tmp1, [r2, #UDDRC_PCTRL_2]
142 bic tmp1, tmp1, #0x1
[all …]
/linux-6.1.9/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
22 add \tmp1, \tmp1, #RESERVED_SWAPPER_OFFSET
23 msr ttbr1_el1, \tmp1 // set reserved ASID
27 .macro __uaccess_ttbr0_enable, tmp1, tmp2
28 get_current_task \tmp1
29 ldr \tmp1, [\tmp1, #TSK_TI_TTBR0] // load saved TTBR0_EL1
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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 …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/arc/include/asm/
Duaccess.h143 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_from_user() local
218 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user()
242 "=r"(tmp1), "=r"(tmp2) in raw_copy_from_user()
262 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user()
282 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user()
300 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user()
357 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user()
370 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_to_user() local
440 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user()
464 "=r"(tmp1), "=r"(tmp2) in raw_copy_to_user()
[all …]
/linux-6.1.9/arch/loongarch/include/asm/
Dasmmacro.h159 .macro fpu_save_cc thread tmp0 tmp1
161 move \tmp1, \tmp0
163 bstrins.d \tmp1, \tmp0, 15, 8
165 bstrins.d \tmp1, \tmp0, 23, 16
167 bstrins.d \tmp1, \tmp0, 31, 24
169 bstrins.d \tmp1, \tmp0, 39, 32
171 bstrins.d \tmp1, \tmp0, 47, 40
173 bstrins.d \tmp1, \tmp0, 55, 48
175 bstrins.d \tmp1, \tmp0, 63, 56
176 stptr.d \tmp1, \thread, THREAD_FCC
[all …]
/linux-6.1.9/arch/loongarch/kernel/
Dfpu.S99 .macro sc_save_fcc base, tmp0, tmp1 argument
101 move \tmp1, \tmp0
103 bstrins.d \tmp1, \tmp0, 15, 8
105 bstrins.d \tmp1, \tmp0, 23, 16
107 bstrins.d \tmp1, \tmp0, 31, 24
109 bstrins.d \tmp1, \tmp0, 39, 32
111 bstrins.d \tmp1, \tmp0, 47, 40
113 bstrins.d \tmp1, \tmp0, 55, 48
115 bstrins.d \tmp1, \tmp0, 63, 56
116 EX st.d \tmp1, \base, 0
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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.1.9/arch/s390/lib/
Duaccess.c37 unsigned long tmp1, tmp2; in raw_copy_from_user_key() local
45 tmp1 = -4096UL; in raw_copy_from_user_key()
65 : "+a" (size), "+a" (from), "+a" (to), "+a" (tmp1), "=a" (tmp2) in raw_copy_from_user_key()
97 unsigned long tmp1, tmp2; in raw_copy_to_user_key() local
105 tmp1 = -4096UL; in raw_copy_to_user_key()
125 : "+a" (size), "+a" (to), "+a" (from), "+a" (tmp1), "=a" (tmp2) in raw_copy_to_user_key()
150 unsigned long tmp1, tmp2; in __clear_user() local
156 tmp1 = -4096UL; in __clear_user()
175 : "+a" (size), "+a" (to), "+a" (tmp1), "=a" (tmp2) in __clear_user()
/linux-6.1.9/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-6.1.9/arch/xtensa/lib/
Dumulsidi3.S197 .macro mul_mulsi3_body dst, src1, src2, tmp1, tmp2
199 1: add \tmp1, \src2, \dst
201 movnez \dst, \tmp1, \tmp2
203 do_addx2 \tmp1, \src2, \dst, \tmp1
205 movnez \dst, \tmp1, \tmp2
207 do_addx4 \tmp1, \src2, \dst, \tmp1
209 movnez \dst, \tmp1, \tmp2
211 do_addx8 \tmp1, \src2, \dst, \tmp1
213 movnez \dst, \tmp1, \tmp2
/linux-6.1.9/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