Home
last modified time | relevance | path

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

123456

/Linux-v5.4/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.4/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 …]
Dassembler.h384 .macro dcache_by_line_op op, domain, kaddr, size, tmp1, tmp2
385 dcache_line_size \tmp1, \tmp2
387 sub \tmp2, \tmp1, #1
388 bic \kaddr, \kaddr, \tmp2
421 .macro invalidate_icache_by_line start, end, tmp1, tmp2, label
422 icache_line_size \tmp1, \tmp2
423 sub \tmp2, \tmp1, #1
424 bic \tmp2, \start, \tmp2
426 USER(\label, ic ivau, \tmp2) // invalidate I line PoU
427 add \tmp2, \tmp2, \tmp1
[all …]
/Linux-v5.4/arch/arm64/lib/
Dstrcmp.S46 tmp2 .req x8 label
69 orr tmp2, data1, #REP8_7f
71 bic has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
88 mov tmp2, #~0
90 CPU_BE( lsl tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */
92 CPU_LE( lsr tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */
94 orr data1, data1, tmp2
95 orr data2, data2, tmp2
106 and tmp2, src2, #7
107 neg tmp2, tmp2
[all …]
Dstrncmp.S47 tmp2 .req x9 label
82 orr tmp2, data1, #REP8_7f
85 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
123 mov tmp2, #~0
126 CPU_BE( lsl tmp2, tmp2, tmp3 ) /* Shift (tmp1 & 63). */
128 CPU_LE( lsr tmp2, tmp2, tmp3 ) /* Shift (tmp1 & 63). */
135 orr data1, data1, tmp2
136 orr data2, data2, tmp2
150 and tmp2, src2, #7
151 neg tmp2, tmp2
[all …]
Dstrlen.S37 tmp2 .req x8 label
67 orr tmp2, data1, #REP8_7f
70 bic has_nul1, tmp1, tmp2
89 CPU_BE( orr tmp2, data2, #REP8_7f )
90 CPU_BE( bic has_nul2, tmp1, tmp2 )
103 mov tmp2, #~0
105 CPU_BE( lsl tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */
107 CPU_LE( lsr tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */
109 orr data1, data1, tmp2
110 orr data2a, data2, tmp2
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
Dmemcmp.S43 tmp2 .req x9 label
114 mov tmp2, #~0
116 CPU_BE( lsl tmp2, tmp2, tmp1 )/*Big-endian.Early bytes are at MSB*/
118 CPU_LE( lsr tmp2, tmp2, tmp1 )
120 orr data1, data1, tmp2
121 orr data2, data2, tmp2
132 and tmp2, src2, #7
133 neg tmp2, tmp2
134 add tmp2, tmp2, #8/*valid length in the first 8 bytes of src2*/
135 subs tmp3, tmp1, tmp2
[all …]
Dmemset.S33 tmp2 .req x4 label
73 neg tmp2, dst
74 ands tmp2, tmp2, #15
83 sub count, count, tmp2
84 add dst, dst, tmp2
170 neg tmp2, dst
171 ands tmp2, tmp2, zva_bits_x
174 sub tmp1, count, tmp2
190 subs tmp2, tmp2, #64
195 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.4/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.4/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.4/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-v5.4/arch/m68k/lib/
Dchecksum.c40 unsigned long tmp1, tmp2; in csum_partial() local
118 "=&d" (tmp1), "=&d" (tmp2) in csum_partial()
140 unsigned long tmp1, tmp2; in csum_partial_copy_from_user() local
310 "=&d" (tmp1), "=d" (tmp2) in csum_partial_copy_from_user()
314 *csum_err = tmp2; in csum_partial_copy_from_user()
329 unsigned long tmp1, tmp2; in csum_partial_copy_nocheck() local
416 "=&d" (tmp1), "=&d" (tmp2) in csum_partial_copy_nocheck()
/Linux-v5.4/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-v5.4/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.4/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.4/arch/arm/net/
Dbpf_jit_32.c717 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_alu_r64() local
724 rs = arm_bpf_get_reg64(src, tmp2, ctx); in emit_a32_alu_r64()
732 rs = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_alu_r64()
826 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_lsh_r64() local
831 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_lsh_r64()
836 emit(ARM_RSB_I(tmp2[0], rt, 32), ctx); in emit_a32_lsh_r64()
839 emit(ARM_ORR_SR(ARM_IP, ARM_LR, rd[1], SRTYPE_LSR, tmp2[0]), ctx); in emit_a32_lsh_r64()
850 const s8 *tmp2 = bpf2a32[TMP_REG_2]; in emit_a32_arsh_r64() local
855 rt = arm_bpf_get_reg32(src_lo, tmp2[1], ctx); in emit_a32_arsh_r64()
860 emit(ARM_SUBS_I(tmp2[0], rt, 32), ctx); in emit_a32_arsh_r64()
[all …]
/Linux-v5.4/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.4/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.4/arch/csky/abiv2/
Dfpu.c157 unsigned long tmp1, tmp2; in save_to_user_fp() local
163 tmp2 = mfcr("cr<2, 2>"); in save_to_user_fp()
166 user_fp->fesr = tmp2; in save_to_user_fp()
207 : "=a"(tmp1), "=a"(tmp2), "=a"(tmp3), in save_to_user_fp()
219 unsigned long tmp1, tmp2; in restore_from_user_fp() local
225 tmp2 = user_fp->fesr; in restore_from_user_fp()
228 mtcr("cr<2, 2>", tmp2); in restore_from_user_fp()
269 : "=a"(tmp1), "=a"(tmp2), "=a"(tmp3), in restore_from_user_fp()
/Linux-v5.4/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-v5.4/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()
/Linux-v5.4/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-v5.4/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()

123456