Searched refs:tmp2 (Results 1 - 135 of 135) sorted by relevance

/linux-4.1.27/arch/sparc/include/asm/
H A Dhead_64.h36 #define BRANCH_IF_CHEETAH_BASE(tmp1,tmp2,label) \
38 sethi %hi(__CHEETAH_ID), %tmp2; \
40 or %tmp2, %lo(__CHEETAH_ID), %tmp2;\
41 cmp %tmp1, %tmp2; \
45 #define BRANCH_IF_JALAPENO(tmp1,tmp2,label) \
47 sethi %hi(__JALAPENO_ID), %tmp2; \
49 or %tmp2, %lo(__JALAPENO_ID), %tmp2;\
50 cmp %tmp1, %tmp2; \
54 #define BRANCH_IF_CHEETAH_PLUS_OR_FOLLOWON(tmp1,tmp2,label) \
56 srlx %tmp1, (32 + 16), %tmp2; \
57 cmp %tmp2, CHEETAH_MANUF; \
60 srlx %tmp1, (32 + 16), %tmp2; \
61 cmp %tmp2, CHEETAH_PLUS_IMPL; \
65 #define BRANCH_IF_ANY_CHEETAH(tmp1,tmp2,label) \
67 srlx %tmp1, (32 + 16), %tmp2; \
68 cmp %tmp2, CHEETAH_MANUF; \
71 srlx %tmp1, (32 + 16), %tmp2; \
72 cmp %tmp2, CHEETAH_IMPL; \
H A Dspinlock_64.h73 unsigned long tmp1, tmp2; arch_spin_lock_flags() local
88 : "=&r" (tmp1), "=&r" (tmp2) arch_spin_lock_flags()
97 unsigned long tmp1, tmp2; arch_read_lock() local
113 : "=&r" (tmp1), "=&r" (tmp2) arch_read_lock()
120 int tmp1, tmp2; arch_read_trylock() local
132 : "=&r" (tmp1), "=&r" (tmp2) arch_read_trylock()
141 unsigned long tmp1, tmp2; arch_read_unlock() local
150 : "=&r" (tmp1), "=&r" (tmp2) arch_read_unlock()
157 unsigned long mask, tmp1, tmp2; arch_write_lock() local
175 : "=&r" (tmp1), "=&r" (tmp2) arch_write_lock()
191 unsigned long mask, tmp1, tmp2, result; arch_write_trylock() local
206 : "=&r" (tmp1), "=&r" (tmp2), "=&r" (result) arch_write_trylock()
H A Dcmpxchg_64.h11 unsigned long tmp1, tmp2; xchg32() local
20 : "=&r" (val), "=&r" (tmp1), "=&r" (tmp2) xchg32()
28 unsigned long tmp1, tmp2; xchg64() local
37 : "=&r" (val), "=&r" (tmp1), "=&r" (tmp2) xchg64()
H A Dpgtsrmmu.h126 #define WINDOW_FLUSH(tmp1, tmp2) \
128 98: ld [%g6 + TI_UWINMASK], tmp2; \
129 orcc %g0, tmp2, %g0; \
/linux-4.1.27/arch/blackfin/include/asm/
H A Dtimex.h18 unsigned long tmp, tmp2; get_cycles() local
19 __asm__ __volatile__("%0 = cycles; %1 = cycles2;" : "=d"(tmp), "=d"(tmp2)); get_cycles()
20 return tmp | ((cycles_t)tmp2 << 32); get_cycles()
/linux-4.1.27/arch/arm64/lib/
H A 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
120 add tmp2, tmp2, #8
121 subs tmp3, tmp1, tmp2
122 csel pos, tmp1, tmp2, hi /*Choose the maximum. */
149 orr tmp2, data1, #REP8_7f
150 bic has_nul, tmp1, tmp2
171 orr tmp2, data1, #REP8_7f
172 bic has_nul, tmp1, tmp2
181 orr tmp2, data1, #REP8_7f
182 bic has_nul, tmp1, tmp2
213 CPU_BE( orr tmp2, tmp3, #REP8_7f )
214 CPU_BE( bic has_nul, tmp1, tmp2 )
H A 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
164 add tmp2, tmp2, #8
165 subs tmp3, tmp1, tmp2
166 csel pos, tmp1, tmp2, hi /*Choose the maximum. */
202 orr tmp2, data1, #REP8_7f
205 bics has_nul, tmp1, tmp2
225 orr tmp2, data1, #REP8_7f
226 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
236 orr tmp2, data1, #REP8_7f
239 bics has_nul, tmp1, tmp2
271 CPU_BE( orr tmp2, tmp3, #REP8_7f )
272 CPU_BE( bic has_nul, tmp1, tmp2 )
H A 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
H A 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
148 csel pos, tmp1, tmp2, hi /*Choose the maximum.*/
H A Dmemset.S45 tmp2 .req x4 label
83 neg tmp2, dst
84 ands tmp2, tmp2, #15
93 sub count, count, tmp2
94 add dst, dst, tmp2
180 neg tmp2, dst
181 ands tmp2, tmp2, zva_bits_x
184 sub tmp1, count, tmp2
200 subs tmp2, tmp2, #64
205 add dst, dst, tmp2
H A 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
H A Dmemmove.S45 tmp2 .req x4 label
72 ands tmp2, src, #15 /* Bytes to reach alignment. */
74 sub count, count, tmp2
80 tbz tmp2, #0, 1f
84 tbz tmp2, #1, 2f
88 tbz tmp2, #2, 3f
92 tbz tmp2, #3, .LSrcAligned
H A Dmemcpy.S44 tmp2 .req x4 label
65 neg tmp2, src
66 ands tmp2, tmp2, #15/* Bytes to reach alignment. */
68 sub count, count, tmp2
75 tbz tmp2, #0, 1f
79 tbz tmp2, #1, 2f
83 tbz tmp2, #2, 3f
87 tbz tmp2, #3, .LSrcAligned
/linux-4.1.27/arch/arm/include/asm/
H A Dtls.h9 .macro switch_tls_none, base, tp, tpuser, tmp1, tmp2
12 .macro switch_tls_v6k, base, tp, tpuser, tmp1, tmp2
13 mrc p15, 0, \tmp2, c13, c0, 2 @ get the user r/w register variable
16 str \tmp2, [\base, #TI_TP_VALUE + 4] @ save it variable
19 .macro switch_tls_v6, base, tp, tpuser, tmp1, tmp2
22 mov \tmp2, #0xffff0fff variable
24 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0
25 mrcne p15, 0, \tmp2, c13, c0, 2 @ get the user r/w register variable
28 strne \tmp2, [\base, #TI_TP_VALUE + 4] @ save it variable
31 .macro switch_tls_software, base, tp, tpuser, tmp1, tmp2
H A Dspinlock.h214 unsigned long tmp, tmp2; arch_read_lock() local
224 : "=&r" (tmp), "=&r" (tmp2) arch_read_lock()
233 unsigned long tmp, tmp2; arch_read_unlock() local
244 : "=&r" (tmp), "=&r" (tmp2) arch_read_unlock()
/linux-4.1.27/arch/tile/lib/
H A Dmemcpy_64.c99 op_t tmp0 = 0, tmp1 = 0, tmp2, tmp3; memcpy() local
118 tmp2 = LD8(src8++); memcpy()
127 tmp2 = LD8(src8++); memcpy()
139 tmp2 = LD8(src8++); memcpy()
144 tmp1 = __insn_dblalign(tmp1, tmp2, srci); memcpy()
148 tmp2 = __insn_dblalign(tmp2, tmp3, srci); memcpy()
149 ST8(dst8++, tmp2); memcpy()
184 tmp2 = LD8(src8++); memcpy()
193 tmp1 = __insn_dblalign(tmp1, tmp2, srci); memcpy()
194 tmp2 = __insn_dblalign(tmp2, tmp3, srci); memcpy()
205 ST8(dst8++, tmp2); memcpy()
250 op_t tmp0, tmp1, tmp2, tmp3; memcpy() local
280 tmp2 = LD8(src8++); memcpy()
293 ST8(dst8++, tmp2); memcpy()
/linux-4.1.27/drivers/media/common/b2c2/
H A Dflexcop-sram.c239 u8 tmp1, tmp2;
245 tmp2 = 0xa5;
248 sram_write(adapter, addr, &tmp2, 1);
251 tmp2 = 0;
254 sram_read(adapter, addr, &tmp2, 1);
255 sram_read(adapter, addr, &tmp2, 1);
257 dprintk("%s: wrote 0xa5, read 0x%2x\n", __func__, tmp2);
259 if (tmp2 != 0xa5)
262 tmp2 = 0x5a;
265 sram_write(adapter, addr, &tmp2, 1);
268 tmp2 = 0;
271 sram_read(adapter, addr, &tmp2, 1);
272 sram_read(adapter, addr, &tmp2, 1);
274 dprintk("%s: wrote 0x5a, read 0x%2x\n", __func__, tmp2);
276 if (tmp2 != 0x5a)
315 write_reg_dw(adapter, 0x71c, tmp2);
/linux-4.1.27/arch/s390/lib/
H A Duaccess.c24 unsigned long tmp1, tmp2; copy_from_user_mvcos() local
55 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) copy_from_user_mvcos()
63 unsigned long tmp1, tmp2; copy_from_user_mvcp() local
100 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) copy_from_user_mvcp()
117 unsigned long tmp1, tmp2; copy_to_user_mvcos() local
138 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) copy_to_user_mvcos()
146 unsigned long tmp1, tmp2; copy_to_user_mvcs() local
173 : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) copy_to_user_mvcs()
190 unsigned long tmp1, tmp2; copy_in_user_mvcos() local
204 : "+a" (size), "+a" (to), "+a" (from), "+a" (tmp1), "=a" (tmp2) copy_in_user_mvcos()
252 unsigned long tmp1, tmp2; clear_user_mvcos() local
272 : "+a" (size), "+a" (to), "+a" (tmp1), "=a" (tmp2) clear_user_mvcos()
279 unsigned long tmp1, tmp2; clear_user_xc() local
308 : "+a" (size), "+a" (to), "=a" (tmp1), "=a" (tmp2) clear_user_xc()
325 unsigned long tmp1, tmp2; strnlen_user_srst() local
338 : "+a" (size), "+a" (src), "=a" (tmp1), "=a" (tmp2) strnlen_user_srst()
/linux-4.1.27/scripts/
H A 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-4.1.27/arch/arm/mach-tegra/
H A Dsleep.h92 .macro check_cpu_part_num part_num, tmp1, tmp2
95 mov32 \tmp2, \part_num variable
96 cmp \tmp1, \tmp2
100 .macro exit_smp, tmp1, tmp2
106 check_cpu_part_num 0xc09, \tmp1, \tmp2
110 moveq \tmp2, #0xf variable
111 moveq \tmp2, \tmp2, lsl \tmp1 variable
113 streq \tmp2, [\tmp1] @ invalidate SCU tags for CPU
/linux-4.1.27/lib/
H A Drbtree.c205 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; ____rb_erase_color() local
237 tmp2 = sibling->rb_left; ____rb_erase_color()
238 if (!tmp2 || rb_is_black(tmp2)) { ____rb_erase_color()
278 sibling->rb_left = tmp1 = tmp2->rb_right; ____rb_erase_color()
279 tmp2->rb_right = sibling; ____rb_erase_color()
280 parent->rb_right = tmp2; ____rb_erase_color()
284 augment_rotate(sibling, tmp2); ____rb_erase_color()
286 sibling = tmp2; ____rb_erase_color()
300 parent->rb_right = tmp2 = sibling->rb_left; ____rb_erase_color()
303 if (tmp2) ____rb_erase_color()
304 rb_set_parent(tmp2, parent); ____rb_erase_color()
323 tmp2 = sibling->rb_right; ____rb_erase_color()
324 if (!tmp2 || rb_is_black(tmp2)) { ____rb_erase_color()
339 sibling->rb_right = tmp1 = tmp2->rb_left; ____rb_erase_color()
340 tmp2->rb_left = sibling; ____rb_erase_color()
341 parent->rb_left = tmp2; ____rb_erase_color()
345 augment_rotate(sibling, tmp2); ____rb_erase_color()
347 sibling = tmp2; ____rb_erase_color()
350 parent->rb_left = tmp2 = sibling->rb_right; ____rb_erase_color()
353 if (tmp2) ____rb_erase_color()
354 rb_set_parent(tmp2, parent); ____rb_erase_color()
/linux-4.1.27/kernel/
H A Duser-return-notifier.c37 struct hlist_node *tmp2; fire_user_return_notifiers() local
41 hlist_for_each_entry_safe(urn, tmp2, head, link) fire_user_return_notifiers()
/linux-4.1.27/arch/arm/kernel/
H A Ddebug.S28 .macro addruart_current, rx, tmp1, tmp2
29 addruart \tmp1, \tmp2, \rx
33 movne \rx, \tmp2
37 .macro addruart_current, rx, tmp1, tmp2
H A Dentry-common.S19 .macro arch_ret_to_user, tmp1, tmp2
/linux-4.1.27/arch/arm/mach-davinci/
H A Dmux.c67 unsigned tmp1, tmp2; davinci_cfg_reg() local
76 tmp2 = (cfg->mode << cfg->mask_offset); davinci_cfg_reg()
77 reg |= tmp2; davinci_cfg_reg()
79 if (tmp1 != tmp2) davinci_cfg_reg()
/linux-4.1.27/arch/m68k/lib/
H A Dchecksum.c44 unsigned long tmp1, tmp2; csum_partial() local
106 "clrl %4\n\t" /* clear tmp2 for rest bytes */ csum_partial()
122 "=&d" (tmp1), "=&d" (tmp2) csum_partial()
141 * statements so we have to use tmp2 for the error csum_partial_copy_from_user()
144 unsigned long tmp1, tmp2; csum_partial_copy_from_user() local
224 "clrl %5\n\t" /* clear tmp2 for rest bytes */ csum_partial_copy_from_user()
314 "=&d" (tmp1), "=d" (tmp2) csum_partial_copy_from_user()
318 *csum_err = tmp2; csum_partial_copy_from_user()
333 unsigned long tmp1, tmp2; csum_partial_copy_nocheck() local
402 "clrl %5\n\t" /* clear tmp2 for rest bytes */ csum_partial_copy_nocheck()
420 "=&d" (tmp1), "=&d" (tmp2) csum_partial_copy_nocheck()
/linux-4.1.27/arch/arm64/include/asm/
H A Dspinlock.h178 unsigned int tmp, tmp2; arch_read_lock() local
188 : "=&r" (tmp), "=&r" (tmp2), "+Q" (rw->lock) arch_read_lock()
195 unsigned int tmp, tmp2; arch_read_unlock() local
202 : "=&r" (tmp), "=&r" (tmp2), "+Q" (rw->lock) arch_read_unlock()
209 unsigned int tmp, tmp2 = 1; arch_read_trylock() local
217 : "=&r" (tmp), "+r" (tmp2), "+Q" (rw->lock) arch_read_trylock()
221 return !tmp2; arch_read_trylock()
/linux-4.1.27/arch/mips/mm/
H A Dsc-ip22.c88 unsigned long addr, tmp1, tmp2; indy_sc_enable() local
114 : "=r" (tmp1), "=r" (tmp2), "=r" (addr)); indy_sc_enable()
119 unsigned long tmp1, tmp2, tmp3; indy_sc_disable() local
144 : "=r" (tmp1), "=r" (tmp2), "=r" (tmp3)); indy_sc_disable()
/linux-4.1.27/arch/sh/lib/
H A Dio.c25 int tmp2, tmp3, tmp4, tmp5, tmp6; __raw_readsl() local
55 "=&r" (tmp2), "=&r" (tmp3), "=&r" (tmp4), __raw_readsl()
/linux-4.1.27/arch/sparc/math-emu/
H A Dsfp-util_64.h44 UDItype tmp1, tmp2, tmp3, tmp4; \
69 "=&r" (tmp1), "=&r" (tmp2), "=&r" (tmp3), "=&r" (tmp4) \
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dec100.c94 u8 tmp, tmp2; ec100_set_frontend() local
124 tmp2 = 0x55; ec100_set_frontend()
128 tmp2 = 0x64; ec100_set_frontend()
133 tmp2 = 0x72; ec100_set_frontend()
139 ret = ec100_write_reg(state, 0x1c, tmp2); ec100_set_frontend()
217 u8 tmp, tmp2; ec100_read_ber() local
225 ret = ec100_read_reg(state, 0x66, &tmp2); ec100_read_ber()
229 ber2 = (tmp2 << 8) | tmp; ec100_read_ber()
H A Dtda1004x.c1138 int tmp2; tda1004x_read_ucblocks() local
1154 tmp2 = tda1004x_read_byte(state, TDA1004X_UNCOR); tda1004x_read_ucblocks()
1155 if (tmp2 < 0) tda1004x_read_ucblocks()
1157 tmp2 &= 0x7f; tda1004x_read_ucblocks()
1158 if ((tmp2 < tmp) || (tmp2 == 0)) tda1004x_read_ucblocks()
H A Dstv0367.c1278 u8 tmp, tmp2; stv0367ter_lock_algo() local
1320 tmp2 = stv0367_readreg(state, R367TER_STATUS); stv0367ter_lock_algo()
1323 mode, tmp, tmp2); stv0367ter_lock_algo()
1326 tmp2 = stv0367_readreg(state, R367TER_I2CRPT); stv0367ter_lock_algo()
1327 dprintk("PRVIT=0x%x I2CRPT=0x%x\n", tmp, tmp2); stv0367ter_lock_algo()
/linux-4.1.27/arch/arc/include/asm/
H A Dchecksum.h44 unsigned int tmp, tmp2, sum; ip_fast_csum() local
61 : "=&r"(sum), "=r"(tmp), "=&r"(tmp2), "+&r" (ptr) ip_fast_csum()
H A Duaccess.h170 unsigned long tmp1, tmp2, tmp3, tmp4; __arc_copy_from_user() local
245 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) __arc_copy_from_user()
269 "=r"(tmp1), "=r"(tmp2) __arc_copy_from_user()
384 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) __arc_copy_from_user()
400 unsigned long tmp1, tmp2, tmp3, tmp4; __arc_copy_to_user() local
470 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) __arc_copy_to_user()
494 "=r"(tmp1), "=r"(tmp2) __arc_copy_to_user()
609 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) __arc_copy_to_user()
/linux-4.1.27/arch/alpha/lib/
H A Ddivide.S57 #define tmp2 $4 define
111 DIV_ONLY(stq tmp2,32($30))
137 2: DIV_ONLY(addq quotient,mask,tmp2)
141 DIV_ONLY(cmovne compare,tmp2,quotient)
150 DIV_ONLY(ldq tmp2,32($30))
H A Dev6-divide.S67 #define tmp2 $4 define
123 DIV_ONLY(stq tmp2,32($30)) # L : L U U L
165 DIV_ONLY(addq quotient,mask,tmp2) # E :
174 DIV_ONLY(cmovne compare,tmp2,quotient) # E : Latency 2, extra map slot
201 DIV_ONLY(ldq tmp2,32($30)) # L :
/linux-4.1.27/arch/ia64/lib/
H A Ddo_csum.S105 #define tmp2 r27 define
148 adds tmp2=-1,tmp1 // last-1
152 and last=-8,tmp2 // address of word containing last byte
161 shl tmp2=firstoff,3 // number of bits
168 shl hmask=hmask,tmp2 // build head mask, mask off [0,first1off[
263 shr.u tmp2=result1[0],32
265 add result1[0]=tmp1,tmp2
268 shr.u tmp2=result1[0],16
270 add result1[0]=tmp1,tmp2
273 shr.u tmp2=result1[0],16
275 add result1[0]=tmp1,tmp2
278 shr.u tmp2=result1[0],16
280 add ret0=tmp1,tmp2
/linux-4.1.27/drivers/ide/
H A Daec62xx.c91 u8 tmp0 = 0, tmp1 = 0, tmp2 = 0; aec6210_set_mode() local
103 tmp2 = 0x00; aec6210_set_mode()
107 tmp2 = ((ultra_conf << (2*drive->dn)) | (tmp1 & ~(3 << (2*drive->dn)))); aec6210_set_mode()
108 pci_write_config_byte(dev, 0x54, tmp2); aec6210_set_mode()
118 u8 tmp1 = 0, tmp2 = 0; aec6260_set_mode() local
132 tmp2 = ((ultra_conf << (4*unit)) | (tmp1 & ~(7 << (4*unit)))); aec6260_set_mode()
133 pci_write_config_byte(dev, (0x44|hwif->channel), tmp2); aec6260_set_mode()
/linux-4.1.27/arch/x86/include/asm/
H A Dpvclock.h27 u32 tmp1, tmp2; pvclock_scale_delta() local
46 : "=A" (product), "=r" (tmp1), "=r" (tmp2) pvclock_scale_delta()
/linux-4.1.27/arch/sh/kernel/
H A Dio.c28 int tmp2, tmp3, tmp4, tmp5, tmp6; memcpy_fromio() local
54 "=&r" (tmp2), "=&r" (tmp3), "=&r" (tmp4), memcpy_fromio()
/linux-4.1.27/arch/m32r/include/asm/
H A Dspinlock.h43 unsigned long tmp1, tmp2; arch_spin_trylock() local
62 : "=&r" (oldval), "=&r" (tmp1), "=&r" (tmp2) arch_spin_trylock()
205 unsigned long tmp0, tmp1, tmp2; arch_write_lock() local
247 : "=&r" (tmp0), "=&r" (tmp1), "=&r" (tmp2) arch_write_lock()
280 unsigned long tmp0, tmp1, tmp2; arch_write_unlock() local
293 : "=&r" (tmp0), "=&r" (tmp1), "=&r" (tmp2) arch_write_unlock()
/linux-4.1.27/arch/alpha/kernel/
H A Dtraps.c463 long error, tmp1, tmp2, tmp3, tmp4; do_entUna() local
490 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) do_entUna()
494 una_reg(reg) = tmp1|tmp2; do_entUna()
510 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) do_entUna()
514 una_reg(reg) = (int)(tmp1|tmp2); do_entUna()
530 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) do_entUna()
534 una_reg(reg) = tmp1|tmp2; do_entUna()
563 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), do_entUna()
593 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), do_entUna()
623 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), do_entUna()
780 unsigned long tmp1, tmp2, tmp3, tmp4; do_entUnaUser() local
843 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) do_entUnaUser()
847 *reg_addr = tmp1|tmp2; do_entUnaUser()
863 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) do_entUnaUser()
867 alpha_write_fp_reg(reg, s_mem_to_reg((int)(tmp1|tmp2))); do_entUnaUser()
883 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) do_entUnaUser()
887 alpha_write_fp_reg(reg, tmp1|tmp2); do_entUnaUser()
903 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) do_entUnaUser()
907 *reg_addr = (int)(tmp1|tmp2); do_entUnaUser()
923 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2) do_entUnaUser()
927 *reg_addr = tmp1|tmp2; do_entUnaUser()
956 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), do_entUnaUser()
990 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), do_entUnaUser()
1024 : "=r"(error), "=&r"(tmp1), "=&r"(tmp2), do_entUnaUser()
/linux-4.1.27/fs/cifs/
H A Dcifs_debug.c112 struct list_head *tmp1, *tmp2, *tmp3; cifs_debug_data_proc_show() local
156 list_for_each(tmp2, &server->smb_ses_list) { cifs_debug_data_proc_show()
157 ses = list_entry(tmp2, struct cifs_ses, cifs_debug_data_proc_show()
261 struct list_head *tmp1, *tmp2, *tmp3; cifs_stats_proc_write() local
279 list_for_each(tmp2, &server->smb_ses_list) { cifs_stats_proc_write()
280 ses = list_entry(tmp2, struct cifs_ses, cifs_stats_proc_write()
301 struct list_head *tmp1, *tmp2, *tmp3; cifs_stats_proc_show() local
336 list_for_each(tmp2, &server->smb_ses_list) { cifs_stats_proc_show()
337 ses = list_entry(tmp2, struct cifs_ses, cifs_stats_proc_show()
H A Dsmb2misc.c505 struct list_head *tmp, *tmp1, *tmp2; smb2_is_valid_lease_break() local
529 list_for_each(tmp2, &ses->tcon_list) { smb2_is_valid_lease_break()
530 tcon = list_entry(tmp2, struct cifs_tcon, smb2_is_valid_lease_break()
553 struct list_head *tmp, *tmp1, *tmp2; smb2_is_valid_oplock_break() local
583 list_for_each(tmp2, &tcon->openFileList) { smb2_is_valid_oplock_break()
584 cfile = list_entry(tmp2, struct cifsFileInfo, smb2_is_valid_oplock_break()
H A Dmisc.c401 struct list_head *tmp, *tmp1, *tmp2; is_valid_oplock_break() local
469 list_for_each(tmp2, &tcon->openFileList) { is_valid_oplock_break()
470 netfile = list_entry(tmp2, struct cifsFileInfo, is_valid_oplock_break()
H A Dconnect.c304 struct list_head *tmp, *tmp2; cifs_reconnect() local
335 list_for_each(tmp2, &ses->tcon_list) { cifs_reconnect()
336 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); cifs_reconnect()
365 list_for_each_safe(tmp, tmp2, &server->pending_mid_q) { cifs_reconnect()
375 list_for_each_safe(tmp, tmp2, &retry_list) { cifs_reconnect()
731 struct list_head *tmp, *tmp2; clean_demultiplex_info() local
735 list_for_each_safe(tmp, tmp2, &server->pending_mid_q) { clean_demultiplex_info()
744 list_for_each_safe(tmp, tmp2, &dispose_list) { clean_demultiplex_info()
/linux-4.1.27/arch/sh/boards/mach-migor/
H A Dlcd_qvga.c45 unsigned long tmp1, tmp2; adjust_reg18() local
48 tmp2 = (data<<2 | 0x00000200) & 0x0003FE00; adjust_reg18()
49 return tmp1 | tmp2; adjust_reg18()
/linux-4.1.27/arch/xtensa/include/asm/
H A Dspinlock.h189 unsigned long tmp1, tmp2; arch_read_unlock() local
197 : "=&a" (tmp1), "=&a" (tmp2) arch_read_unlock()
/linux-4.1.27/drivers/watchdog/
H A Dbooke_wdt.c62 unsigned long tmp2 = ppc_tb_freq; period_to_sec() local
67 tmp2 = tmp2 / 5 * 2; period_to_sec()
69 do_div(tmp, tmp2); period_to_sec()
/linux-4.1.27/drivers/cpufreq/
H A Dgx-suspmod.c338 u8 tmp1, tmp2; cpufreq_gx_verify() local
353 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); cpufreq_gx_verify()
359 tmp_freq = gx_validate_speed(policy->max, &tmp1, &tmp2); cpufreq_gx_verify()
379 u8 tmp1, tmp2; cpufreq_gx_target() local
387 tmp_freq = gx_validate_speed(target_freq, &tmp1, &tmp2); cpufreq_gx_target()
390 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2); cpufreq_gx_target()
394 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2); cpufreq_gx_target()
/linux-4.1.27/arch/arm64/kernel/
H A Dhead.S299 * Corrupts: tmp1, tmp2
302 .macro create_table_entry, tbl, virt, shift, ptrs, tmp1, tmp2
305 add \tmp2, \tbl, #PAGE_SIZE
306 orr \tmp2, \tmp2, #PMD_TYPE_TABLE // address of next table and entry type
307 str \tmp2, [\tbl, \tmp1, lsl #3]
316 * Corrupts: tmp1, tmp2
318 .macro create_pgd_entry, tbl, virt, tmp1, tmp2
319 create_table_entry \tbl, \virt, PGDIR_SHIFT, PTRS_PER_PGD, \tmp1, \tmp2
321 create_table_entry \tbl, \virt, TABLE_SHIFT, PTRS_PER_PTE, \tmp1, \tmp2
/linux-4.1.27/drivers/net/
H A Dmii.c170 u32 advert2 = 0, tmp2 = 0; mii_ethtool_sset() local
185 tmp2 = advert2 & ~(ADVERTISE_1000HALF | ADVERTISE_1000FULL); mii_ethtool_sset()
190 tmp2 |= mii_ethtool_sset()
196 if ((mii->supports_gmii) && (advert2 != tmp2)) mii_ethtool_sset()
197 mii->mdio_write(dev, mii->phy_id, MII_CTRL1000, tmp2); mii_ethtool_sset()
/linux-4.1.27/arch/score/kernel/
H A Dptrace.c178 unsigned int tmp, tmp2; user_enable_single_step() local
207 tmp2 = tmp & 0x7FFF; user_enable_single_step()
208 tmp = (((tmp >> 16) & 0x3FF) << 15) | tmp2; user_enable_single_step()
213 tmp2 = tmp & 0x3FF; user_enable_single_step()
214 tmp = (((tmp >> 16) & 0x3FF) << 10) | tmp2; /* 20bit */ user_enable_single_step()
/linux-4.1.27/sound/pci/ice1712/
H A Ddelta.c318 unsigned char tmp, tmp2; delta_1010_set_rate_val() local
325 tmp2 = tmp & ~ICE1712_DELTA_DFS; delta_1010_set_rate_val()
327 tmp2 |= ICE1712_DELTA_DFS; delta_1010_set_rate_val()
328 if (tmp != tmp2) delta_1010_set_rate_val()
329 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp2); delta_1010_set_rate_val()
338 unsigned char tmp, tmp2; delta_ak4524_set_rate_val() local
348 tmp2 = tmp & ~ICE1712_DELTA_DFS; delta_ak4524_set_rate_val()
350 tmp2 |= ICE1712_DELTA_DFS; delta_ak4524_set_rate_val()
351 if (tmp == tmp2) delta_ak4524_set_rate_val()
H A Daureon.c1290 unsigned int tmp, tmp2; aureon_set_headphone_amp() local
1292 tmp2 = tmp = snd_ice1712_gpio_read(ice); aureon_set_headphone_amp()
1305 if (tmp != tmp2) { aureon_set_headphone_amp()
/linux-4.1.27/arch/arm64/net/
H A Dbpf_jit_comp.c152 const u8 tmp2 = bpf2a64[TMP_REG_2]; build_prologue() local
162 emit(A64_PUSH(tmp1, tmp2, A64_SP), ctx); build_prologue()
184 const u8 tmp2 = bpf2a64[TMP_REG_2]; build_epilogue() local
195 emit(A64_POP(tmp1, tmp2, A64_SP), ctx); build_epilogue()
220 const u8 tmp2 = bpf2a64[TMP_REG_2]; build_insn() local
407 emit_a64_mov_i(is64, tmp2, imm, ctx); build_insn()
408 emit(A64_UDIV(is64, tmp, dst, tmp2), ctx); build_insn()
409 emit(A64_MUL(is64, tmp, tmp, tmp2), ctx); build_insn()
/linux-4.1.27/arch/frv/include/asm/
H A Dchecksum.h140 unsigned long tmp, tmp2; csum_ipv6_magic() local
172 : "=r" (sum), "=&r" (tmp), "=r" (tmp2) csum_ipv6_magic()
/linux-4.1.27/scripts/genksyms/
H A Dgenksyms.c514 struct string_list *tmp, **tmp2; print_list() local
528 tmp2 = e - 1; print_list()
530 (*tmp2--) = list; print_list()
532 *(tmp2--) = list; print_list()
544 struct string_list *tmp, **tmp2; expand_and_crc_sym() local
556 tmp2 = e - 1; expand_and_crc_sym()
558 *(tmp2--) = list; expand_and_crc_sym()
560 *(tmp2--) = list; expand_and_crc_sym()
/linux-4.1.27/crypto/
H A Dcts.c81 u8 tmp[bsize], tmp2[bsize]; cts_cbc_encrypt() local
113 sg_set_buf(&sgdst[0], tmp2, bsize); cts_cbc_encrypt()
116 memcpy(d, tmp2, bsize); cts_cbc_encrypt()
120 memcpy(desc->info, tmp2, bsize); cts_cbc_encrypt()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dmux.c356 unsigned tmp1, tmp2; omap1_cfg_reg() local
366 tmp2 = (cfg->mask << cfg->mask_offset); omap1_cfg_reg()
367 reg |= tmp2; omap1_cfg_reg()
369 if (tmp1 != tmp2) omap1_cfg_reg()
/linux-4.1.27/arch/x86/crypto/
H A Dglue_helper-asm-avx2.S52 #define add2_le128(x, minus_one, minus_two, tmp1, tmp2) \
54 vpcmpeqq minus_two, x, tmp2; \
56 vpor tmp2, tmp1, tmp1; \
H A Dtwofish-x86_64-asm_64-3way.S88 #define do16bit_ror(rot, op1, op2, T0, T1, tmp1, tmp2, ab, dst) \
89 movzbl ab ## bl, tmp2 ## d; \
92 op1##l T0(CTX, tmp2, 4), dst ## d; \
H A Dcamellia-x86_64-asm_64.S94 #define xor2ror16(T0, T1, tmp1, tmp2, ab, dst) \
95 movzbl ab ## bl, tmp2 ## d; \
98 xorq T0(, tmp2, 8), dst; \
H A Dcamellia-aesni-avx2-asm_64.S1058 #define add2_le128(x, minus_one, minus_two, tmp1, tmp2) \
1060 vpcmpeqq minus_two, x, tmp2; \
1062 vpor tmp2, tmp1, tmp1; \
/linux-4.1.27/arch/mips/include/asm/
H A Dspinlock.h145 int tmp, tmp2, tmp3; arch_spin_trylock() local
169 [my_ticket] "=&r" (tmp2), arch_spin_trylock()
193 [my_ticket] "=&r" (tmp2), arch_spin_trylock()
/linux-4.1.27/drivers/video/fbdev/i810/
H A Di810_accel.c438 u32 tmp1, tmp2; i810fb_init_ringbuffer() local
447 tmp2 = i810_readl(IRING + 8, mmio) & ~RBUFFER_START_MASK; i810fb_init_ringbuffer()
449 i810_writel(IRING + 8, mmio, tmp2 | tmp1); i810fb_init_ringbuffer()
453 tmp2 = (par->iring.size - I810_PAGESIZE) & RBUFFER_SIZE_MASK; i810fb_init_ringbuffer()
454 i810_writel(IRING + 12, mmio, tmp1 | tmp2); i810fb_init_ringbuffer()
H A Di810_main.c231 u32 tmp1, tmp2; i810_load_pll() local
235 tmp2 = i810_readl(DCLK_2D, mmio); i810_load_pll()
236 tmp2 &= ~MN_MASK; i810_load_pll()
237 i810_writel(DCLK_2D, mmio, tmp1 | tmp2); i810_load_pll()
240 tmp2 = i810_readl(DCLK_0DS, mmio); i810_load_pll()
241 tmp2 &= ~(P_OR << 16); i810_load_pll()
242 i810_writel(DCLK_0DS, mmio, (tmp1 << 16) | tmp2); i810_load_pll()
462 u32 tmp1, tmp2; i810_restore_pll() local
466 tmp2 = i810_readl(DCLK_2D, mmio); i810_restore_pll()
468 tmp2 &= MN_MASK; i810_restore_pll()
469 i810_writel(DCLK_2D, mmio, tmp1 | tmp2); i810_restore_pll()
472 tmp2 = i810_readl(DCLK_1D, mmio); i810_restore_pll()
474 tmp2 &= MN_MASK; i810_restore_pll()
475 i810_writel(DCLK_1D, mmio, tmp1 | tmp2); i810_restore_pll()
482 u32 tmp1, tmp2; i810_restore_dac() local
486 tmp2 = i810_readl(PIXCONF, mmio); i810_restore_dac()
488 tmp2 &= ~DAC_BIT; i810_restore_dac()
489 i810_writel(PIXCONF, mmio, tmp1 | tmp2); i810_restore_dac()
/linux-4.1.27/drivers/net/wireless/b43/
H A Dphy_lp.c214 u16 tmp, tmp2; lpphy_baseband_rev0_1_init() local
344 tmp2 = (tmp & 0x03E0) >> 5; lpphy_baseband_rev0_1_init()
345 tmp2 |= tmp2 << 5; lpphy_baseband_rev0_1_init()
346 b43_phy_write(dev, B43_LPPHY_4C3, tmp2); lpphy_baseband_rev0_1_init()
348 tmp2 = (tmp & 0x1F00) >> 8; lpphy_baseband_rev0_1_init()
349 tmp2 |= tmp2 << 5; lpphy_baseband_rev0_1_init()
350 b43_phy_write(dev, B43_LPPHY_4C4, tmp2); lpphy_baseband_rev0_1_init()
352 tmp2 = tmp & 0x00FF; lpphy_baseband_rev0_1_init()
353 tmp2 |= tmp << 8; lpphy_baseband_rev0_1_init()
354 b43_phy_write(dev, B43_LPPHY_4C5, tmp2); lpphy_baseband_rev0_1_init()
1713 int prod, ipwr, qpwr, prod_msb, q_msb, tmp1, tmp2, tmp3, tmp4, ret; lpphy_calc_rx_iq_comp() local
1747 tmp2 = q_msb - 11; lpphy_calc_rx_iq_comp()
1749 if (tmp2 >= 0) lpphy_calc_rx_iq_comp()
1750 tmp4 = (qpwr << (31 - q_msb)) / (ipwr >> tmp2); lpphy_calc_rx_iq_comp()
1752 tmp4 = (qpwr << (31 - q_msb)) / (ipwr << -tmp2); lpphy_calc_rx_iq_comp()
2416 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; lpphy_b2062_tune() local
2441 tmp2 = lpphy->pdiv * 1000; lpphy_b2062_tune()
2445 tmp3 = tmp2 * channel2freq_lp(channel); lpphy_b2062_tune()
2509 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6; lpphy_b2063_tune() local
2566 tmp2 = ((val3 * 62500) % freqref) << 4; lpphy_b2063_tune()
2567 while (tmp2 >= freqref) { lpphy_b2063_tune()
2569 tmp2 -= freqref; lpphy_b2063_tune()
2574 b43_radio_write(dev, B2063_PLL_JTAG_PLL_SG3, (tmp2 >> 8) & 0xFF); lpphy_b2063_tune()
2575 b43_radio_write(dev, B2063_PLL_JTAG_PLL_SG4, tmp2 & 0xFF); lpphy_b2063_tune()
H A Dphy_g.c1265 u32 tmp1 = 0, tmp2 = 0; b43_radio_init2050() local
1435 tmp2 += b43_phy_read(dev, B43_PHY_LO_LEAKAGE); b43_radio_init2050()
1446 tmp2++; b43_radio_init2050()
1447 tmp2 >>= 8; b43_radio_init2050()
1448 if (tmp1 < tmp2) b43_radio_init2050()
H A Dphy_n.c332 u16 reg, tmp, tmp2, val; b43_nphy_rf_ctl_intc_override_rev7() local
370 tmp2 = 0x0004; b43_nphy_rf_ctl_intc_override_rev7()
374 tmp2 = 0x0001; b43_nphy_rf_ctl_intc_override_rev7()
378 b43_phy_mask(dev, reg, ~tmp2); b43_nphy_rf_ctl_intc_override_rev7()
383 tmp2 = 0x0008; b43_nphy_rf_ctl_intc_override_rev7()
387 tmp2 = 0x0002; b43_nphy_rf_ctl_intc_override_rev7()
391 b43_phy_mask(dev, reg, ~tmp2); b43_nphy_rf_ctl_intc_override_rev7()
6046 enum ieee80211_band tmp2; b43_phy_initn() local
6140 tmp2 = b43_current_band(dev->wl); b43_phy_initn()
/linux-4.1.27/arch/powerpc/kernel/
H A Dptrace32.c151 unsigned long tmp2; compat_arch_ptrace() local
152 ret = ptrace_get_reg(child, numReg, &tmp2); compat_arch_ptrace()
155 tmp = tmp2; compat_arch_ptrace()
H A Dirq.c152 u64 tmp, tmp2; __check_irq_replay() local
153 lv1_get_version_info(&tmp, &tmp2); __check_irq_replay()
/linux-4.1.27/arch/ia64/kernel/
H A Dperfmon_mckinley.h58 unsigned long tmp1, tmp2, ival = *val; pfm_mck_reserved() local
64 tmp2 = PMC_DFL_VAL(cnum) & ~PMC_RSVD_MASK(cnum); pfm_mck_reserved()
66 *val = tmp1 | tmp2; pfm_mck_reserved()
H A Dperfmon_montecito.h136 unsigned long tmp1, tmp2, ival = *val; pfm_mont_reserved() local
142 tmp2 = PMC_DFL_VAL(cnum) & ~PMC_RSVD_MASK(cnum); pfm_mont_reserved()
144 *val = tmp1 | tmp2; pfm_mont_reserved()
/linux-4.1.27/arch/mn10300/kernel/
H A Dirq.c84 u16 tmp2; mn10300_cpupic_mask_ack() local
87 tmp2 = GxICR(irq); mn10300_cpupic_mask_ack()
/linux-4.1.27/drivers/net/ethernet/amd/
H A Dam79c961a.c105 register unsigned int tmp asm("r2"), tmp2 asm("r3"); am_writebuffer()
108 : "+r" (buf), "=&r" (tmp), "=&r" (tmp2)); am_writebuffer()
117 : "+r" (offset), "=&r" (tmp), "=&r" (tmp2)); am_writebuffer()
143 register unsigned int tmp asm("r2"), tmp2 asm("r3"), tmp3; am_readbuffer()
152 : "=&r" (offset), "=&r" (buf), "=r" (tmp), "=r" (tmp2), "=r" (tmp3) am_readbuffer()
H A Dsun3lance.c314 unsigned short tmp1, tmp2; lance_probe() local
329 tmp2 = ioaddr_probe[1]; lance_probe()
336 ioaddr_probe[1] = tmp2; lance_probe()
/linux-4.1.27/arch/cris/arch-v32/drivers/mach-fs/
H A Dgpio.c303 unsigned long tmp2; gpio_pa_interrupt() local
334 tmp2 = REG_TYPE_CONV(unsigned long, reg_gio_rw_intr_mask, intr_mask); gpio_pa_interrupt()
335 tmp2 &= ~tmp; gpio_pa_interrupt()
341 tmp2 |= (1 << CONFIG_ETRAX_VIRTUAL_GPIO_INTERRUPT_PA_PIN); gpio_pa_interrupt()
343 intr_mask = REG_TYPE_CONV(reg_gio_rw_intr_mask, unsigned long, tmp2); gpio_pa_interrupt()
/linux-4.1.27/arch/arm/crypto/
H A Dsha1-armv7-neon.S74 #define tmp2 q10 define
166 vadd.u32 tmp2, W6, curK; \
169 vst1.32 {tmp2, tmp3}, [RWK]; \
199 vadd.u32 tmp2, W6, curK; \
208 vst1.32 {tmp2, tmp3}, [RWK]; \
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dconfig.c636 struct list_head *tmp2; lnet_parse_route() local
677 tmp2 = &nets; /* expanding nets */ lnet_parse_route()
683 tmp2 = &gateways; /* expanding gateways */ lnet_parse_route()
692 list_add_tail(tmp1, tmp2); lnet_parse_route()
694 while (tmp1 != tmp2) { lnet_parse_route()
740 list_for_each(tmp2, &gateways) { lnet_parse_route()
741 ltb = list_entry(tmp2, struct lnet_text_buf_t, lnet_parse_route()
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
H A Dphy.c993 s32 tmp1 = 0, tmp2 = 0; simularity_compare() local
1009 tmp2 = resulta[c2][i] | 0xFFFFFC00; simularity_compare()
1011 tmp2 = resulta[c2][i]; simularity_compare()
1014 tmp2 = resulta[c2][i]; simularity_compare()
1017 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); simularity_compare()
/linux-4.1.27/scripts/kconfig/
H A Dexpr.c566 struct expr *tmp, *tmp1, *tmp2; expr_eliminate_dups2() local
585 tmp2 = expr_copy(e2); expr_eliminate_dups2()
586 tmp = expr_extract_eq_and(&tmp1, &tmp2); expr_eliminate_dups2()
592 expr_free(tmp2); expr_eliminate_dups2()
600 tmp2 = expr_copy(e2); expr_eliminate_dups2()
601 tmp = expr_extract_eq_or(&tmp1, &tmp2); expr_eliminate_dups2()
607 expr_free(tmp2); expr_eliminate_dups2()
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_parameters.c1061 char *tmp1 = NULL, *tmp2 = NULL; iscsi_check_valuelist_for_support() local
1080 tmp2 = strchr(acceptor_values, ','); iscsi_check_valuelist_for_support()
1081 if (tmp2) iscsi_check_valuelist_for_support()
1082 *tmp2 = '\0'; iscsi_check_valuelist_for_support()
1084 if (tmp2) iscsi_check_valuelist_for_support()
1085 *tmp2 = ','; iscsi_check_valuelist_for_support()
1088 if (tmp2) iscsi_check_valuelist_for_support()
1089 *tmp2++ = ','; iscsi_check_valuelist_for_support()
1091 acceptor_values = tmp2; iscsi_check_valuelist_for_support()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_modes.c236 int tmp1, tmp2; drm_cvt_mode() local
246 tmp2 = (vdisplay_rnd + 2 * vmargin + CVT_MIN_V_PORCH) * 2 + drm_cvt_mode()
248 hperiod = tmp1 * 2 / (tmp2 * vfieldrate); drm_cvt_mode()
302 int tmp1, tmp2; drm_cvt_mode() local
306 tmp2 = vdisplay_rnd + 2 * vmargin; drm_cvt_mode()
307 hperiod = tmp1 / (tmp2 * vfieldrate); drm_cvt_mode()
398 unsigned int tmp1, tmp2; drm_gtf_mode_complex() local
444 tmp2 = (vdisplay_rnd + 2 * top_margin + GTF_MIN_V_PORCH) * drm_gtf_mode_complex()
446 hfreq_est = (tmp2 * 1000 * vfieldrate_rqd) / tmp1; drm_gtf_mode_complex()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.c367 u32 opcode, new, old, tmp1, tmp2; sym_fw_bind_script() local
426 tmp2 = cur[2]; sym_fw_bind_script()
427 if ((tmp1 ^ tmp2) & 3) { sym_fw_bind_script()
/linux-4.1.27/fs/jfs/
H A Djfs_dmap.h66 signed char tmp1, tmp2; TREEMAX() local
69 tmp2 = max(*(cp), *(cp+1)); TREEMAX()
71 return max(tmp1, tmp2); TREEMAX()
H A Djfs_dmap.c3075 signed char tmp1, tmp2; dbMaxBud() local
3093 tmp2 = max(budtab[cp[0]], budtab[cp[1]]); dbMaxBud()
3094 return (max(tmp1, tmp2)); dbMaxBud()
/linux-4.1.27/drivers/iio/frequency/
H A Dad9523.c411 long tmp1, tmp2; ad9523_set_clock_provider() local
420 tmp2 = st->vco_out_freq[AD9523_VCO2] / freq; ad9523_set_clock_provider()
422 tmp2 *= freq; ad9523_set_clock_provider()
423 use_alt_clk_src = (abs(tmp1 - freq) > abs(tmp2 - freq)); ad9523_set_clock_provider()
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dmach64_ct.c284 u8 tmp, tmp2; aty_set_pll_ct() local
316 tmp2 = par->clk_wr_offset << 1; aty_set_pll_ct()
318 tmp &= ~(0x03U << tmp2); aty_set_pll_ct()
319 tmp |= ((pll->ct.vclk_post_div & 0x03U) << tmp2); aty_set_pll_ct()
H A Dradeon_pm.c1434 u32 tmp, tmp2; radeon_pm_reset_pad_ctlr_strength() local
1443 tmp2 = INREG(PAD_CTLR_STRENGTH); radeon_pm_reset_pad_ctlr_strength()
1444 if (tmp != tmp2) { radeon_pm_reset_pad_ctlr_strength()
1445 tmp = tmp2; radeon_pm_reset_pad_ctlr_strength()
2215 u32 tmp, tmp2;
2410 tmp2 = INREG(TMDS_TRANSMITTER_CNTL);
2416 OUTREG(TMDS_TRANSMITTER_CNTL, tmp2);
2492 tmp2 = INREG(FP_GEN_CNTL);
2500 tmp2 &= ~2;
2501 tmp2 |= FP_TMDS_EN;
2502 OUTREG(FP_GEN_CNTL, tmp2);
2504 tmp2 |= FP_FPON;
2505 OUTREG(FP_GEN_CNTL, tmp2);
/linux-4.1.27/drivers/platform/x86/
H A Dhp-wmi.c508 long unsigned int tmp2; set_postcode() local
510 ret = kstrtoul(buf, 10, &tmp2); set_postcode()
511 if (ret || tmp2 != 1) set_postcode()
515 tmp = (u32) tmp2; set_postcode()
/linux-4.1.27/arch/parisc/mm/
H A Dinit.c405 unsigned long tmp2; map_pages() local
473 for (tmp2 = start_pte; tmp2 < PTRS_PER_PTE; tmp2++, pg_table++) { map_pages()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dpgtable-ppc32.h174 unsigned long tmp2; pte_update() local
187 : "=&r" (old), "=&r" (tmp), "=m" (*p), "=&r" (tmp2) pte_update()
/linux-4.1.27/tools/perf/util/
H A Dannotate.c812 char *line = NULL, *parsed_line, *tmp, *tmp2, *c; symbol__parse_objdump_line() local
853 line_ip = strtoull(tmp, &tmp2, 16); symbol__parse_objdump_line()
854 if (*tmp2 != ':' || tmp == tmp2 || tmp2[1] == '\0') symbol__parse_objdump_line()
866 parsed_line = tmp2 + 1; symbol__parse_objdump_line()
/linux-4.1.27/arch/mn10300/mm/
H A Dmisalignment.c835 u32 tmp, tmp2, x; test_misalignment() local
929 tmp2 = 2; test_misalignment()
937 : "+r"(q), "+d"(tmp), "+d"(tmp2), "=d"(x) test_misalignment()
945 tmp2 = 2; test_misalignment()
953 : "+a"(q), "+d"(tmp), "+d"(tmp2), "=d"(x) test_misalignment()
/linux-4.1.27/arch/cris/arch-v32/drivers/mach-a3/
H A Dgpio.c263 unsigned long tmp2; gpio_interrupt() local
294 tmp2 = REG_TYPE_CONV(unsigned long, reg_gio_rw_intr_mask, intr_mask); gpio_interrupt()
295 tmp2 &= ~tmp; gpio_interrupt()
301 tmp2 |= (1 << CONFIG_ETRAX_VIRTUAL_GPIO_INTERRUPT_PA_PIN); gpio_interrupt()
303 intr_mask = REG_TYPE_CONV(reg_gio_rw_intr_mask, unsigned long, tmp2); gpio_interrupt()
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Ddevice-init.c39 u64 tmp2; ps3_register_lpm_devices() local
70 lv1_get_logical_partition_id(&tmp2); ps3_register_lpm_devices()
72 if (tmp1 != tmp2) { ps3_register_lpm_devices()
/linux-4.1.27/security/apparmor/
H A Dpolicy_unpack.c451 u64 tmp2 = 0; unpack_rlimits() local
453 if (!unpack_u64(e, &tmp2, NULL)) unpack_rlimits()
455 profile->rlimits.limits[a].rlim_max = tmp2; unpack_rlimits()
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Duaccess.h104 * char tmp2; __do_strncpy_from_user()
107 * while ((*dst++ = (tmp2 = *src++)) != 0 __do_strncpy_from_user()
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Duaccess.h110 * char tmp2; __do_strncpy_from_user()
113 * while ((*dst++ = (tmp2 = *src++)) != 0 __do_strncpy_from_user()
/linux-4.1.27/sound/oss/
H A Dad1848.c1537 unsigned char tmp1 = 0xff, tmp2 = 0xff; ad1848_detect() local
1636 if ((tmp1 = ad_read(devc, 0)) != 0xaa || (tmp2 = ad_read(devc, 1)) != 0x45) ad1848_detect()
1638 if (tmp2 == 0x65) /* AD1847 has couple of bits hardcoded to 1 */ ad1848_detect()
1642 DDB(printk("ad1848 detect error - step B (%x/%x)\n", tmp1, tmp2)); ad1848_detect()
1650 if ((tmp1 = ad_read(devc, 0)) != 0x45 || (tmp2 = ad_read(devc, 1)) != 0xaa) ad1848_detect()
1652 if (tmp2 == 0x8a) /* AD1847 has few bits hardcoded to 1 */ ad1848_detect()
1656 DDB(printk("ad1848 detect error - step C (%x/%x)\n", tmp1, tmp2)); ad1848_detect()
1700 if ((tmp1 = ad_read(devc, i)) != (tmp2 = ad_read(devc, i + 16))) ad1848_detect()
1702 DDB(printk("ad1848 detect step F(%d/%x/%x) - OPTi chip???\n", i, tmp1, tmp2)); ad1848_detect()
1915 if ((tmp1 = ad_read(devc, i)) != (tmp2 = ad_read(devc, i + 16))) { ad1848_detect()
1916 DDB(printk("ad1848 detect step H(%d/%x/%x) - SoundPro chip?\n", i, tmp1, tmp2)); ad1848_detect()
/linux-4.1.27/arch/x86/crypto/sha-mb/
H A Dsha1_mb_mgr_submit_avx2.S65 tmp2 = %rcx define
H A Dsha1_mb_mgr_flush_avx2.S75 #define tmp2 %rbx define
/linux-4.1.27/arch/arm/mach-at91/
H A Dpm_suspend.S24 tmp2 .req r5 label
/linux-4.1.27/sound/pci/cs46xx/
H A Ddsp_spos_scb_lib.c622 unsigned int tmp1, tmp2; cs46xx_dsp_create_src_task_scb() local
651 tmp2 = tmp1 / 48000; cs46xx_dsp_create_src_task_scb()
652 phiIncr += tmp2; cs46xx_dsp_create_src_task_scb()
653 tmp1 -= tmp2 * 48000; cs46xx_dsp_create_src_task_scb()
H A Dcs46xx_lib.c725 unsigned int tmp1, tmp2; snd_cs46xx_set_play_sample_rate() local
751 tmp2 = tmp1 / 48000; snd_cs46xx_set_play_sample_rate()
752 phiIncr += tmp2; snd_cs46xx_set_play_sample_rate()
753 tmp1 -= tmp2 * 48000; snd_cs46xx_set_play_sample_rate()
771 unsigned int phiIncr, coeffIncr, tmp1, tmp2; snd_cs46xx_set_capture_sample_rate() local
824 tmp2 = tmp1 / rate; snd_cs46xx_set_capture_sample_rate()
825 phiIncr += tmp2; snd_cs46xx_set_capture_sample_rate()
826 tmp1 -= tmp2 * rate; snd_cs46xx_set_capture_sample_rate()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
H A Dphy.c2008 s32 tmp1 = 0, tmp2 = 0; _rtl8723be_phy_simularity_compare() local
2022 tmp2 = result[c2][i] | 0xFFFFFC00; _rtl8723be_phy_simularity_compare()
2024 tmp2 = result[c2][i]; _rtl8723be_phy_simularity_compare()
2027 tmp2 = result[c2][i]; _rtl8723be_phy_simularity_compare()
2030 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); _rtl8723be_phy_simularity_compare()
/linux-4.1.27/drivers/net/ethernet/microchip/
H A Denc28j60.c821 u16 tmp1, tmp2; enc28j60_dump_tsv() local
828 tmp2 = tsv[5]; enc28j60_dump_tsv()
829 tmp2 <<= 8; enc28j60_dump_tsv()
830 tmp2 |= tsv[4]; enc28j60_dump_tsv()
833 " TotByteOnWire: %d\n", tmp1, tsv[2] & 0x0f, tmp2); enc28j60_dump_tsv()
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Dradio.c1504 u32 tmp2 = 0; b43legacy_radio_init2050() local
1675 tmp2 += b43legacy_phy_read(dev, 0x002D); b43legacy_radio_init2050()
1683 tmp2++; b43legacy_radio_init2050()
1684 tmp2 >>= 8; b43legacy_radio_init2050()
1685 if (tmp1 < tmp2) b43legacy_radio_init2050()
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_lnode.c140 struct list_head *tmp1, *tmp2; csio_ln_lookup_by_vnpi() local
159 list_for_each(tmp2, &sln->cln_head) { csio_ln_lookup_by_vnpi()
160 cln = (struct csio_lnode *) tmp2; csio_ln_lookup_by_vnpi()
180 struct list_head *tmp1, *tmp2; csio_lnode_lookup_by_wwpn() local
199 list_for_each(tmp2, &sln->cln_head) { csio_lnode_lookup_by_wwpn()
200 cln = (struct csio_lnode *) tmp2; csio_lnode_lookup_by_wwpn()
/linux-4.1.27/sound/pci/emu10k1/
H A Demu10k1_main.c714 u32 tmp, tmp2, reg; emu1010_firmware_thread() local
783 snd_emu1010_fpga_read(emu, EMU_DOCK_MINOR_REV, &tmp2); emu1010_firmware_thread()
785 tmp, tmp2); emu1010_firmware_thread()
839 u32 tmp, tmp2, reg; snd_emu10k1_emu1010_init() local
933 snd_emu1010_fpga_read(emu, EMU_HANA_MINOR_REV, &tmp2); snd_emu10k1_emu1010_init()
934 dev_info(emu->card->dev, "emu1010: Hana version: %u.%u\n", tmp, tmp2); snd_emu10k1_emu1010_init()
/linux-4.1.27/arch/sparc/kernel/
H A Dtime_64.c286 unsigned long ret, tmp1, tmp2, tmp3; __hbird_read_stick() local
301 "=&r" (tmp1), "=&r" (tmp2), "=&r" (tmp3) __hbird_read_stick()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dni_labpc_common.c509 int tmp, tmp2; labpc_ai_cmdtest() local
601 tmp2 = cmd->scan_begin_arg; labpc_ai_cmdtest()
604 if (tmp != cmd->convert_arg || tmp2 != cmd->scan_begin_arg) labpc_ai_cmdtest()
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c589 unsigned long tmp2, tmp3; pch_gbe_mac_set_pause_packet() local
592 tmp2 = hw->mac.addr[1]; pch_gbe_mac_set_pause_packet()
593 tmp2 = (tmp2 << 8) | hw->mac.addr[0]; pch_gbe_mac_set_pause_packet()
594 tmp2 = PCH_GBE_PAUSE_PKT2_VALUE | (tmp2 << 16); pch_gbe_mac_set_pause_packet()
602 iowrite32(tmp2, &hw->reg->PAUSE_PKT2); pch_gbe_mac_set_pause_packet()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
H A Dphy.c2452 s32 tmp1, tmp2; _rtl92ee_phy_simularity_compare() local
2466 tmp2 = result[c2][i] | 0xFFFFFC00; _rtl92ee_phy_simularity_compare()
2468 tmp2 = result[c2][i]; _rtl92ee_phy_simularity_compare()
2471 tmp2 = result[c2][i]; _rtl92ee_phy_simularity_compare()
2474 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); _rtl92ee_phy_simularity_compare()
/linux-4.1.27/drivers/parport/
H A Dparport_pc.c2437 u8 tmp, tmp2, siofunc; sio_via_probe() local
2490 tmp2 = inb(VIA_CONFIG_DATA); sio_via_probe()
2493 ppcontrol = tmp2; sio_via_probe()
2499 tmp2 &= ~(VIA_PARPORT_BIDIR|VIA_PARPORT_ECPEPP); sio_via_probe()
2500 tmp2 |= ppcontrol; sio_via_probe()
2502 outb(tmp2, VIA_CONFIG_DATA); sio_via_probe()
/linux-4.1.27/arch/x86/kvm/
H A Dlapic.c1084 u32 tmp1, tmp2, tdcr; update_divide_count() local
1088 tmp2 = ((tmp1 & 0x3) | ((tmp1 & 0x8) >> 1)) + 1; update_divide_count()
1089 apic->divide_count = 0x1 << (tmp2 & 0x7); update_divide_count()
/linux-4.1.27/drivers/video/fbdev/
H A Dtridentfb.c786 unsigned char tmp, tmp2; get_memsize() local
830 tmp2 = vga_mm_rseq(par->io_virt, 0xC1); get_memsize()
831 switch (tmp2) { get_memsize()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dmcg.c783 struct mcast_req *tmp1, *tmp2; search_relocate_mgid0_group() local
789 list_for_each_entry_safe(tmp1, tmp2, &group->pending_list, group_list) { search_relocate_mgid0_group()
/linux-4.1.27/arch/metag/lib/
H A Dusercopy.c1315 * char tmp2; __strncpy_from_user()
1318 * while ((*dst++ = (tmp2 = *src++)) != 0 __strncpy_from_user()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dci_dpm.c2471 u32 tmp, tmp2; ci_register_patching_mc_arb() local
2480 tmp2 = (((0x31 * engine_clock) / 125000) - 1) & 0xff; ci_register_patching_mc_arb()
2482 *dram_timimg2 |= tmp2 << 16; ci_register_patching_mc_arb()
2484 tmp2 = (((0x36 * engine_clock) / 137500) - 1) & 0xff; ci_register_patching_mc_arb()
2486 *dram_timimg2 |= tmp2 << 16; ci_register_patching_mc_arb()
H A Dsi.c5158 u32 tmp, tmp2; si_set_uvd_dcm() local
5166 tmp2 = DYN_OR_EN | DYN_RR_EN | G_DIV_ID(7); si_set_uvd_dcm()
5169 tmp2 = 0; si_set_uvd_dcm()
5173 WREG32_UVD_CTX(UVD_CGC_CTRL2, tmp2); si_set_uvd_dcm()
H A Dr300_reg.h1074 * - fglrx set FPI2_UNKNOWN_31 on a "MAD fragment.color, tmp0, tmp1, tmp2"
H A Dcik.c6408 u32 data, orig, tmp, tmp2; cik_enable_cgcg() local
6421 tmp2 = BPM_ADDR_MASK | CGCG_OVERRIDE_0 | CGLS_ENABLE; cik_enable_cgcg()
6422 WREG32(RLC_SERDES_WR_CTRL, tmp2); cik_enable_cgcg()
/linux-4.1.27/drivers/usb/misc/sisusbvga/
H A Dsisusb.c1601 u8 tmp1, tmp2, i, j; sisusb_verify_mclk() local
1606 ret |= READB(ramptr + 16, &tmp2); sisusb_verify_mclk()
1607 if ((tmp1 != 0xaa) || (tmp2 != 0x55)) { sisusb_verify_mclk()
/linux-4.1.27/net/bluetooth/
H A Dsmp.c1197 * In ASCII they spell out to 'tmp2' and 'brle'. sc_generate_ltk()
1199 const u8 tmp2[4] = { 0x32, 0x70, 0x6d, 0x74 }; sc_generate_ltk() local
1214 if (smp_h6(smp->tfm_cmac, key->val, tmp2, smp->tk)) sc_generate_ltk()
/linux-4.1.27/drivers/md/
H A Dmd.c831 mdp_super_t *tmp1, *tmp2; sb_equal() local
834 tmp2 = kmalloc(sizeof(*tmp2),GFP_KERNEL); sb_equal()
836 if (!tmp1 || !tmp2) { sb_equal()
843 *tmp2 = *sb2; sb_equal()
849 tmp2->nr_disks = 0; sb_equal()
851 ret = (memcmp(tmp1, tmp2, MD_SB_GENERIC_CONSTANT_WORDS * 4) == 0); sb_equal()
854 kfree(tmp2); sb_equal()
/linux-4.1.27/drivers/staging/speakup/
H A Dmain.c743 u_char tmp2; get_line() local
748 buf[i] = (u_char) get_char(vc, (u_short *) tmp, &tmp2); get_line()
/linux-4.1.27/drivers/net/ppp/
H A Dppp_generic.c2152 struct sk_buff *tmp2; skb_queue_walk_safe() local
2154 skb_queue_reverse_walk_from_safe(list, p, tmp2) { skb_queue_reverse_walk_from_safe()
/linux-4.1.27/drivers/clk/
H A Dclk.c2274 struct hlist_node *tmp2; __clk_init() local
2413 hlist_for_each_entry_safe(orphan, tmp2, &clk_orphan_list, child_node) { __clk_init()
/linux-4.1.27/net/mac80211/
H A Dcfg.c2699 struct ieee80211_roc_work *dep, *tmp2; ieee80211_cancel_roc() local
2701 list_for_each_entry_safe(dep, tmp2, &roc->dependents, list) { ieee80211_cancel_roc()
/linux-4.1.27/drivers/scsi/
H A Dncr53c8xx.c3526 ncrcmd opcode, new, old, tmp1, tmp2; ncr_script_copy_and_bind() local
3571 tmp2 = src[1]; ncr_script_copy_and_bind()
3573 if ((tmp2 & RELOC_MASK) == RELOC_KVAR) ncr_script_copy_and_bind()
3574 tmp2 = 0; ncr_script_copy_and_bind()
3576 if ((tmp1 ^ tmp2) & 3) { ncr_script_copy_and_bind()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c9293 u16 tmp1, mod_abs, tmp2; bnx2x_8727_config_init() local
9358 MDIO_PMA_DEVAD, MDIO_PMA_REG_8727_OPT_CFG_REG, &tmp2); bnx2x_8727_config_init()
9359 tmp2 |= 0x1000; bnx2x_8727_config_init()
9360 tmp2 &= 0xFFEF; bnx2x_8727_config_init()
9362 MDIO_PMA_DEVAD, MDIO_PMA_REG_8727_OPT_CFG_REG, tmp2); bnx2x_8727_config_init()
9365 &tmp2); bnx2x_8727_config_init()
9368 (tmp2 & 0x7fff)); bnx2x_8727_config_init()
/linux-4.1.27/net/wireless/
H A Dnl80211.c5679 int n_channels = 0, tmp1, tmp2; validate_scan_freqs() local
5692 nla_for_each_nested(attr2, freqs, tmp2) nla_for_each_nested()

Completed in 2302 milliseconds