Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/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-v4.19/arch/arm64/include/asm/
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 …]
/Linux-v4.19/arch/arm64/lib/
Dstrcmp.S58 tmp2 .req x8 label
81 orr tmp2, data1, #REP8_7f
83 bic has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
100 mov tmp2, #~0
102 CPU_BE( lsl tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */
104 CPU_LE( lsr tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */
106 orr data1, data1, tmp2
107 orr data2, data2, tmp2
118 and tmp2, src2, #7
119 neg tmp2, tmp2
[all …]
Dstrncmp.S59 tmp2 .req x9 label
94 orr tmp2, data1, #REP8_7f
97 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
135 mov tmp2, #~0
138 CPU_BE( lsl tmp2, tmp2, tmp3 ) /* Shift (tmp1 & 63). */
140 CPU_LE( lsr tmp2, tmp2, tmp3 ) /* Shift (tmp1 & 63). */
147 orr data1, data1, tmp2
148 orr data2, data2, tmp2
162 and tmp2, src2, #7
163 neg tmp2, tmp2
[all …]
Dstrlen.S49 tmp2 .req x8 label
79 orr tmp2, data1, #REP8_7f
82 bic has_nul1, tmp1, tmp2
101 CPU_BE( orr tmp2, data2, #REP8_7f )
102 CPU_BE( bic has_nul2, tmp1, tmp2 )
115 mov tmp2, #~0
117 CPU_BE( lsl tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */
119 CPU_LE( lsr tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */
121 orr data1, data1, tmp2
122 orr data2a, data2, tmp2
Dstrnlen.S51 tmp2 .req x9 label
87 orr tmp2, data1, #REP8_7f
90 bic has_nul1, tmp1, tmp2
119 CPU_BE( orr tmp2, data2, #REP8_7f )
120 CPU_BE( bic has_nul2, tmp1, tmp2 )
153 mov tmp2, #~0
155 CPU_BE( lsl tmp2, tmp2, tmp4 ) /* Shift (tmp1 & 63). */
157 CPU_LE( lsr tmp2, tmp2, tmp4 ) /* Shift (tmp1 & 63). */
161 orr data1, data1, tmp2
162 orr data2a, data2, tmp2
Dmemcmp.S55 tmp2 .req x9 label
126 mov tmp2, #~0
128 CPU_BE( lsl tmp2, tmp2, tmp1 )/*Big-endian.Early bytes are at MSB*/
130 CPU_LE( lsr tmp2, tmp2, tmp1 )
132 orr data1, data1, tmp2
133 orr data2, data2, tmp2
144 and tmp2, src2, #7
145 neg tmp2, tmp2
146 add tmp2, tmp2, #8/*valid length in the first 8 bytes of src2*/
147 subs tmp3, tmp1, tmp2
[all …]
Dmemset.S45 tmp2 .req x4 label
85 neg tmp2, dst
86 ands tmp2, tmp2, #15
95 sub count, count, tmp2
96 add dst, dst, tmp2
182 neg tmp2, dst
183 ands tmp2, tmp2, zva_bits_x
186 sub tmp1, count, tmp2
202 subs tmp2, tmp2, #64
207 add dst, dst, tmp2
Dcopy_template.S41 tmp2 .req x4 label
59 neg tmp2, src
60 ands tmp2, tmp2, #15/* Bytes to reach alignment. */
62 sub count, count, tmp2
69 tbz tmp2, #0, 1f
73 tbz tmp2, #1, 2f
77 tbz tmp2, #2, 3f
81 tbz tmp2, #3, .LSrcAligned
Dmemmove.S45 tmp2 .req x4 label
74 ands tmp2, src, #15 /* Bytes to reach alignment. */
76 sub count, count, tmp2
82 tbz tmp2, #0, 1f
86 tbz tmp2, #1, 2f
90 tbz tmp2, #2, 3f
94 tbz tmp2, #3, .LSrcAligned
/Linux-v4.19/tools/lib/
Drbtree.c204 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
236 tmp2 = sibling->rb_left; in ____rb_erase_color()
237 if (!tmp2 || rb_is_black(tmp2)) { in ____rb_erase_color()
277 sibling->rb_left = tmp1 = tmp2->rb_right; in ____rb_erase_color()
278 tmp2->rb_right = sibling; in ____rb_erase_color()
279 parent->rb_right = tmp2; in ____rb_erase_color()
283 augment_rotate(sibling, tmp2); in ____rb_erase_color()
285 sibling = tmp2; in ____rb_erase_color()
299 parent->rb_right = tmp2 = sibling->rb_left; in ____rb_erase_color()
302 if (tmp2) in ____rb_erase_color()
[all …]
/Linux-v4.19/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
/Linux-v4.19/lib/
Drbtree.c246 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
279 tmp2 = sibling->rb_left; in ____rb_erase_color()
280 if (!tmp2 || rb_is_black(tmp2)) { in ____rb_erase_color()
335 tmp1 = tmp2->rb_right; in ____rb_erase_color()
337 WRITE_ONCE(tmp2->rb_right, sibling); in ____rb_erase_color()
338 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color()
342 augment_rotate(sibling, tmp2); in ____rb_erase_color()
344 sibling = tmp2; in ____rb_erase_color()
358 tmp2 = sibling->rb_left; in ____rb_erase_color()
359 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color()
[all …]
/Linux-v4.19/arch/m68k/lib/
Dchecksum.c44 unsigned long tmp1, tmp2; in csum_partial() local
122 "=&d" (tmp1), "=&d" (tmp2) in csum_partial()
144 unsigned long tmp1, tmp2; in csum_partial_copy_from_user() local
314 "=&d" (tmp1), "=d" (tmp2) in csum_partial_copy_from_user()
318 *csum_err = tmp2; in csum_partial_copy_from_user()
333 unsigned long tmp1, tmp2; in csum_partial_copy_nocheck() local
420 "=&d" (tmp1), "=&d" (tmp2) in csum_partial_copy_nocheck()
/Linux-v4.19/arch/s390/lib/
Duaccess.c104 unsigned long tmp1, tmp2; in copy_from_user_mvcos() local
125 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) in copy_from_user_mvcos()
133 unsigned long tmp1, tmp2; in copy_from_user_mvcp() local
161 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) in copy_from_user_mvcp()
179 unsigned long tmp1, tmp2; in copy_to_user_mvcos() local
200 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) in copy_to_user_mvcos()
208 unsigned long tmp1, tmp2; in copy_to_user_mvcs() local
236 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) in copy_to_user_mvcs()
254 unsigned long tmp1, tmp2; in copy_in_user_mvcos() local
268 : "+a" (size), "+a" (to), "+a" (from), "+a" (tmp1), "=a" (tmp2) in copy_in_user_mvcos()
[all …]
/Linux-v4.19/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-v4.19/arch/arm/mach-tegra/
Dsleep.h92 .macro check_cpu_part_num part_num, tmp1, tmp2
95 mov32 \tmp2, \part_num
96 cmp \tmp1, \tmp2
100 .macro exit_smp, tmp1, tmp2
106 check_cpu_part_num 0xc09, \tmp1, \tmp2
110 moveq \tmp2, #0xf
111 moveq \tmp2, \tmp2, lsl \tmp1
113 streq \tmp2, [\tmp1] @ invalidate SCU tags for CPU
/Linux-v4.19/arch/arm/net/
Dbpf_jit_32.c720 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_alu_r64() local
727 rs = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_alu_r64()
735 rs = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_alu_r64()
827 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
832 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
837 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
840 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
851 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
856 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
861 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/scripts/
Dextract-ikconfig36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
37 dump_config $tmp2
52 tmp2=/tmp/ikconfig$$.2
53 trap "rm -f $tmp1 $tmp2" 0
/Linux-v4.19/arch/arc/include/asm/
Duaccess.h175 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_from_user() local
250 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user()
274 "=r"(tmp1), "=r"(tmp2) in raw_copy_from_user()
389 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_from_user()
402 unsigned long tmp1, tmp2, tmp3, tmp4; in raw_copy_to_user() local
472 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user()
496 "=r"(tmp1), "=r"(tmp2) in raw_copy_to_user()
611 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user()
/Linux-v4.19/arch/nds32/kernel/
Dmodule.c33 unsigned int tmp = 0, tmp2 = 0; in do_reloc16() local
41 tmp2 = tmp & loc_mask; in do_reloc16()
45 tmp2 | ((tmp + ((val & val_mask) >> val_shift)) & val_mask); in do_reloc16()
47 tmp = tmp2 | ((val & val_mask) >> val_shift); in do_reloc16()
62 unsigned int tmp = 0, tmp2 = 0; in do_reloc32() local
71 tmp2 = tmp & loc_mask; in do_reloc32()
75 tmp2 | ((tmp + ((val & val_mask) >> val_shift)) & val_mask); in do_reloc32()
77 tmp = tmp2 | ((val & val_mask) >> val_shift); in do_reloc32()
/Linux-v4.19/arch/mips/mm/
Dsc-ip22.c103 unsigned long addr, tmp1, tmp2; in indy_sc_enable() local
129 : "=r" (tmp1), "=r" (tmp2), "=r" (addr)); in indy_sc_enable()
134 unsigned long tmp1, tmp2, tmp3; in indy_sc_disable() local
159 : "=r" (tmp1), "=r" (tmp2), "=r" (tmp3)); in indy_sc_disable()
/Linux-v4.19/drivers/media/dvb-frontends/
Dec100.c90 u8 tmp, tmp2; in ec100_set_frontend() local
120 tmp2 = 0x55; in ec100_set_frontend()
124 tmp2 = 0x64; in ec100_set_frontend()
129 tmp2 = 0x72; in ec100_set_frontend()
135 ret = ec100_write_reg(state, 0x1c, tmp2); in ec100_set_frontend()
213 u8 tmp, tmp2; in ec100_read_ber() local
221 ret = ec100_read_reg(state, 0x66, &tmp2); in ec100_read_ber()
225 ber2 = (tmp2 << 8) | tmp; in ec100_read_ber()

1234567