Home
last modified time | relevance | path

Searched refs:tmp2 (Results 26 – 50 of 179) sorted by relevance

12345678

/openbmc/linux/arch/csky/abiv2/
H A Dfpu.c152 unsigned long tmp1, tmp2; in save_to_user_fp() local
158 tmp2 = mfcr("cr<2, 2>"); in save_to_user_fp()
161 user_fp->fesr = tmp2; in save_to_user_fp()
202 : "=a"(tmp1), "=a"(tmp2), "=a"(tmp3), in save_to_user_fp()
214 unsigned long tmp1, tmp2; in restore_from_user_fp() local
220 tmp2 = user_fp->fesr; in restore_from_user_fp()
223 mtcr("cr<2, 2>", tmp2); in restore_from_user_fp()
264 : "=a"(tmp1), "=a"(tmp2), "=a"(tmp3), in restore_from_user_fp()
/openbmc/linux/arch/arc/include/asm/
H A 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()
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()
581 "=r"(tmp1), "=r"(tmp2), "=r"(tmp3), "=r"(tmp4) in raw_copy_to_user()
/openbmc/linux/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
/openbmc/linux/arch/loongarch/lib/
H A Dcsum.c60 __uint128_t tmp1, tmp2, tmp3, tmp4; in do_csum() local
63 tmp2 = *(__uint128_t *)(ptr + 2); in do_csum()
72 tmp2 += (tmp2 >> 64) | (tmp2 << 64); in do_csum()
75 tmp1 = ((tmp1 >> 64) << 64) | (tmp2 >> 64); in do_csum()
/openbmc/linux/arch/xtensa/lib/
H A Dumulsidi3.S199 .macro mul_mulsi3_body dst, src1, src2, tmp1, tmp2 argument
202 extui \tmp2, \src1, 0, 1
203 movnez \dst, \tmp1, \tmp2
206 extui \tmp2, \src1, 1, 1
207 movnez \dst, \tmp1, \tmp2
210 extui \tmp2, \src1, 2, 1
211 movnez \dst, \tmp1, \tmp2
214 extui \tmp2, \src1, 3, 1
215 movnez \dst, \tmp1, \tmp2
/openbmc/linux/arch/arm64/lib/
H A Dcsum.c63 __uint128_t tmp1, tmp2, tmp3, tmp4; in do_csum() local
66 tmp2 = *(__uint128_t *)(ptr + 2); in do_csum()
75 tmp2 += (tmp2 >> 64) | (tmp2 << 64); in do_csum()
78 tmp1 = ((tmp1 >> 64) << 64) | (tmp2 >> 64); in do_csum()
H A Dmemchr.S37 #define tmp2 x8 macro
53 orr tmp2, cur_word, #REP8_7f
54 bics tmp, tmp, tmp2
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmmap.c24 void *bss_mmaped = NULL, *map_mmaped = NULL, *tmp0, *tmp1, *tmp2; in test_mmap() local
221 tmp2 = mmap(tmp1 + page_size, page_size, PROT_READ, in test_mmap()
223 if (CHECK(tmp2 == MAP_FAILED, "adv_mmap3", "errno %d\n", errno)) { in test_mmap()
228 CHECK(tmp1 + page_size != tmp2, "adv_mmap4", in test_mmap()
229 "tmp1: %p, tmp2: %p\n", tmp1, tmp2); in test_mmap()
232 tmp2 = mmap(tmp1, 4 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
234 if (CHECK(tmp2 == MAP_FAILED, "adv_mmap5", "errno %d\n", errno)) { in test_mmap()
238 CHECK(tmp1 != tmp2, "adv_mmap6", "tmp1: %p, tmp2: %p\n", tmp1, tmp2); in test_mmap()
240 map_data = tmp2; in test_mmap()
250 munmap(tmp2, 4 * page_size); in test_mmap()
/openbmc/linux/arch/arm64/include/asm/
H A Del2_setup.h236 .macro __check_override idreg, fld, width, pass, fail, tmp1, tmp2
241 ldr \tmp2, [\tmp1, FTR_OVR_VAL_OFFSET]
243 ubfx \tmp2, \tmp2, #\fld, #\width
246 and \tmp2, \tmp2, \tmp1
247 csinv \tmp2, \tmp2, xzr, ne
248 cbnz \tmp2, \pass
253 .macro check_override idreg, fld, pass, fail, tmp1, tmp2
255 __check_override \idreg \fld 4 \pass \fail \tmp1 \tmp2
/openbmc/linux/arch/mips/mm/
H A Dsc-ip22.c102 unsigned long addr, tmp1, tmp2; in indy_sc_enable() local
128 : "=r" (tmp1), "=r" (tmp2), "=r" (addr)); in indy_sc_enable()
133 unsigned long tmp1, tmp2, tmp3; in indy_sc_disable() local
158 : "=r" (tmp1), "=r" (tmp2), "=r" (tmp3)); in indy_sc_disable()
/openbmc/linux/arch/arm/mach-davinci/
H A Dmux.c65 unsigned tmp1, tmp2; in davinci_cfg_reg() local
74 tmp2 = (cfg->mode << cfg->mask_offset); in davinci_cfg_reg()
75 reg |= tmp2; in davinci_cfg_reg()
77 if (tmp1 != tmp2) in davinci_cfg_reg()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dec100.c80 u8 tmp, tmp2; in ec100_set_frontend() local
110 tmp2 = 0x55; in ec100_set_frontend()
114 tmp2 = 0x64; in ec100_set_frontend()
119 tmp2 = 0x72; in ec100_set_frontend()
125 ret = ec100_write_reg(state, 0x1c, tmp2); in ec100_set_frontend()
203 u8 tmp, tmp2; in ec100_read_ber() local
211 ret = ec100_read_reg(state, 0x66, &tmp2); in ec100_read_ber()
215 ber2 = (tmp2 << 8) | tmp; in ec100_read_ber()
/openbmc/u-boot/arch/arm/lib/
H A Ddebug.S25 .macro addruart_current, rx, tmp1, tmp2
26 addruart \tmp1, \tmp2, \rx
30 movne \rx, \tmp2
34 .macro addruart_current, rx, tmp1, tmp2
35 addruart \rx, \tmp1, \tmp2
/openbmc/linux/arch/alpha/lib/
H A Ddivide.S59 #define tmp2 $4 macro
113 DIV_ONLY(stq tmp2,32($30))
139 2: DIV_ONLY(addq quotient,mask,tmp2)
143 DIV_ONLY(cmovne compare,tmp2,quotient)
152 DIV_ONLY(ldq tmp2,32($30))
/openbmc/qemu/docs/spin/
H A Dwin32-qemu-event.promela56 int tmp1, tmp2;
61 atomic { /* tmp2=cas(state, EV_FREE, EV_BUSY) */ \
62 tmp2 = state; \
63 if :: tmp2 == EV_FREE -> state = EV_BUSY; \
67 if :: tmp2 == EV_SET -> tmp1 = EV_SET; \
/openbmc/linux/arch/x86/crypto/
H A Dcurve25519-x86_64.c1006 fmul2(dc, dc, ab, tmp2); in point_add_and_double()
1015 fsqr2(dc1, ab1, tmp2); in point_add_and_double()
1016 fsqr2(nq_p1, nq_p1, tmp2); in point_add_and_double()
1024 fmul2(nq, dc1, ab1, tmp2); in point_add_and_double()
1025 fmul(z3, z3, x1, tmp2); in point_add_and_double()
1040 fsqr2(dc, ab, tmp2); in point_double()
1048 fmul2(nq, dc, ab, tmp2); in point_double()
1053 u64 tmp2[16U] = { 0U }; in montgomery_ladder() local
1106 point_double(nq1, tmp1, tmp2); in montgomery_ladder()
1107 point_double(nq1, tmp1, tmp2); in montgomery_ladder()
[all …]
/openbmc/linux/arch/arm/kernel/
H A Ddebug.S25 .macro addruart_current, rx, tmp1, tmp2
26 addruart \tmp1, \tmp2, \rx
30 movne \rx, \tmp2
34 .macro addruart_current, rx, tmp1, tmp2
35 addruart \rx, \tmp1, \tmp2
/openbmc/linux/drivers/cpufreq/
H A Dgx-suspmod.c334 u8 tmp1, tmp2; in cpufreq_gx_verify() local
349 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); in cpufreq_gx_verify()
355 tmp_freq = gx_validate_speed(policy->max, &tmp1, &tmp2); in cpufreq_gx_verify()
375 u8 tmp1, tmp2; in cpufreq_gx_target() local
383 tmp_freq = gx_validate_speed(target_freq, &tmp1, &tmp2); in cpufreq_gx_target()
386 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2); in cpufreq_gx_target()
390 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2); in cpufreq_gx_target()
/openbmc/linux/arch/arm/include/asm/
H A Dspinlock.h209 unsigned long tmp, tmp2; in arch_read_lock() local
220 : "=&r" (tmp), "=&r" (tmp2) in arch_read_lock()
229 unsigned long tmp, tmp2; in arch_read_unlock() local
240 : "=&r" (tmp), "=&r" (tmp2) in arch_read_unlock()
/openbmc/linux/drivers/watchdog/
H A Dbooke_wdt.c63 unsigned long tmp2 = ppc_tb_freq; in period_to_sec() local
68 tmp2 = tmp2 / 5 * 2; in period_to_sec()
70 do_div(tmp, tmp2); in period_to_sec()
/openbmc/linux/arch/sparc/include/asm/
H A Dcmpxchg_64.h23 unsigned long tmp1, tmp2; in xchg32() local
32 : "=&r" (val), "=&r" (tmp1), "=&r" (tmp2) in xchg32()
40 unsigned long tmp1, tmp2; in xchg64() local
49 : "=&r" (val), "=&r" (tmp1), "=&r" (tmp2) in xchg64()
H A Dpgtsrmmu.h89 #define WINDOW_FLUSH(tmp1, tmp2) \ argument
91 98: ld [%g6 + TI_UWINMASK], tmp2; \
92 orcc %g0, tmp2, %g0; \
H A Dtimer_64.h56 unsigned long tick, tmp1, tmp2; in get_tick() local
92 : "=&r" (tick), "=&r" (tmp1), "=&r" (tmp2) in get_tick()
/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c452 const u8 tmp2 = bpf2a64[TMP_REG_2]; in emit_lse_atomic() local
471 emit(A64_MVN(isdw, tmp2, src), ctx); in emit_lse_atomic()
485 emit(A64_MVN(isdw, tmp2, src), ctx); in emit_lse_atomic()
522 const u8 tmp2 = bpf2a64[TMP_REG_2]; in emit_ll_sc_atomic() local
544 emit(A64_ADD(isdw, tmp2, tmp2, src), ctx); in emit_ll_sc_atomic()
546 emit(A64_AND(isdw, tmp2, tmp2, src), ctx); in emit_ll_sc_atomic()
548 emit(A64_ORR(isdw, tmp2, tmp2, src), ctx); in emit_ll_sc_atomic()
550 emit(A64_EOR(isdw, tmp2, tmp2, src), ctx); in emit_ll_sc_atomic()
579 emit(A64_MOV(isdw, tmp2, src), ctx); in emit_ll_sc_atomic()
590 emit(A64_MOV(isdw, tmp2, r0), ctx); in emit_ll_sc_atomic()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dop_helper.c78 uint64_t tmp2 = tmp1; in helper_rotx() local
89 tmp2 |= 1LL << i; in helper_rotx()
91 tmp2 &= ~(1LL << i); in helper_rotx()
96 uint64_t tmp3 = tmp2; in helper_rotx()
105 if (tmp2 & (1LL << (i + 4))) { in helper_rotx()

12345678