Home
last modified time | relevance | path

Searched refs:tmp0 (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/arch/mips/crypto/
Dpoly1305-mips.pl76 my ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$at,$t0,$t1);
131 andi $tmp0,$inp,7 # $inp % 8
132 dsubu $inp,$inp,$tmp0 # align $inp
133 sll $tmp0,$tmp0,3 # byte to bit offset
136 beqz $tmp0,.Laligned_key
139 subu $tmp1,$zero,$tmp0
141 dsllv $in0,$in0,$tmp0
143 dsllv $in1,$in1,$tmp0
146 dsrlv $in0,$in0,$tmp0
148 dsrlv $in1,$in1,$tmp0
[all …]
/linux-6.6.21/arch/x86/lib/
Dmemmove_32.S23 .set tmp0, %edx define
60 movl src, tmp0
61 xorl dest, tmp0
62 andl $0xff, tmp0
70 movl 0*4(src), tmp0
72 movl tmp0, 0*4(dest)
74 movl 2*4(src), tmp0
76 movl tmp0, 2*4(dest)
87 movl -4(src, n), tmp0
91 movl tmp0, (tmp1)
[all …]
/linux-6.6.21/arch/x86/crypto/
Dsha512-avx-asm.S72 tmp0 = %rax define
125 mov e_64, tmp0 # tmp = e
127 RORQ tmp0, 23 # 41 # tmp = e ror 23
129 xor e_64, tmp0 # tmp = (e ror 23) ^ e
133 RORQ tmp0, 4 # 18 # tmp = ((e ror 23) ^ e) ror 4
134 xor e_64, tmp0 # tmp = (((e ror 23) ^ e) ror 4) ^ e
137 RORQ tmp0, 14 # 14 # tmp = ((((e ror23)^e)ror4)^e)ror14 = S1(e)
138 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
139 mov a_64, tmp0 # tmp = a
141 and c_64, tmp0 # tmp = a & c
[all …]
Dsha512-ssse3-asm.S72 tmp0 = %rax define
119 mov e_64, tmp0 # tmp = e
121 ror $23, tmp0 # 41 # tmp = e ror 23
123 xor e_64, tmp0 # tmp = (e ror 23) ^ e
127 ror $4, tmp0 # 18 # tmp = ((e ror 23) ^ e) ror 4
128 xor e_64, tmp0 # tmp = (((e ror 23) ^ e) ror 4) ^ e
131 ror $14, tmp0 # 14 # tmp = ((((e ror23)^e)ror4)^e)ror14 = S1(e)
132 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
133 mov a_64, tmp0 # tmp = a
135 and c_64, tmp0 # tmp = a & c
[all …]
Dsm4-aesni-avx2-asm_64.S76 #define transform_pre(x, lo_t, hi_t, mask4bit, tmp0) \ argument
77 vpand x, mask4bit, tmp0; \
81 vpshufb tmp0, lo_t, tmp0; \
83 vpxor tmp0, x, x;
87 #define transform_post(x, lo_t, hi_t, mask4bit, tmp0) \ argument
88 vpandn mask4bit, x, tmp0; \
92 vpshufb tmp0, lo_t, tmp0; \
94 vpxor tmp0, x, x;
Dsm4-aesni-avx-asm_64.S60 #define transform_pre(x, lo_t, hi_t, mask4bit, tmp0) \ argument
61 vpand x, mask4bit, tmp0; \
65 vpshufb tmp0, lo_t, tmp0; \
67 vpxor tmp0, x, x;
72 #define transform_post(x, lo_t, hi_t, mask4bit, tmp0) \ argument
73 vpandn mask4bit, x, tmp0; \
77 vpshufb tmp0, lo_t, tmp0; \
79 vpxor tmp0, x, x;
Dcamellia-aesni-avx-asm_64.S33 #define filter_8bit(x, lo_t, hi_t, mask4bit, tmp0) \ argument
34 vpand x, mask4bit, tmp0; \
38 vpshufb tmp0, lo_t, tmp0; \
40 vpxor tmp0, x, x;
Dcamellia-aesni-avx2-asm_64.S24 #define filter_8bit(x, lo_t, hi_t, mask4bit, tmp0) \ argument
25 vpand x, mask4bit, tmp0; \
29 vpshufb tmp0, lo_t, tmp0; \
31 vpxor tmp0, x, x;
/linux-6.6.21/arch/loongarch/include/asm/
Dasmmacro.h58 .macro fpu_restore_csr thread tmp0 tmp1
59 ldptr.w \tmp0, \thread, THREAD_FCSR
60 movgr2fcsr fcsr0, \tmp0
63 andi \tmp0, \tmp0, FPU_CSR_TM
64 beqz \tmp0, 2f
66 ldptr.w \tmp0, \thread, THREAD_FTOP
67 andi \tmp0, \tmp0, 0x7
69 alsl.d \tmp1, \tmp0, \tmp1, 3
91 .macro fpu_save_cc thread tmp0 tmp1
92 movcf2gr \tmp0, $fcc0
[all …]
/linux-6.6.21/arch/loongarch/kernel/
Dfpu.S98 .macro sc_save_fcc base, tmp0, tmp1
99 movcf2gr \tmp0, $fcc0
100 move \tmp1, \tmp0
101 movcf2gr \tmp0, $fcc1
102 bstrins.d \tmp1, \tmp0, 15, 8
103 movcf2gr \tmp0, $fcc2
104 bstrins.d \tmp1, \tmp0, 23, 16
105 movcf2gr \tmp0, $fcc3
106 bstrins.d \tmp1, \tmp0, 31, 24
107 movcf2gr \tmp0, $fcc4
[all …]
/linux-6.6.21/arch/arm/include/asm/
Duaccess-asm.h86 .macro uaccess_entry, tsk, tmp0, tmp1, tmp2, disable
87 DACR( mrc p15, 0, \tmp0, c3, c0, 0)
88 DACR( str \tmp0, [sp, #SVC_DACR])
96 bic \tmp2, \tmp0, #domain_mask(DOMAIN_KERNEL)
104 .macro uaccess_exit, tsk, tmp0, tmp1
105 DACR( ldr \tmp0, [sp, #SVC_DACR])
106 DACR( mcr p15, 0, \tmp0, c3, c0, 0)
/linux-6.6.21/drivers/video/fbdev/aty/
Dradeon_monitor.c169 unsigned long tmp, tmp0; in radeon_get_panel_info_BIOS() local
212 tmp0 = BIOS_IN16(tmp+64+i*2); in radeon_get_panel_info_BIOS()
213 if (tmp0 == 0) in radeon_get_panel_info_BIOS()
215 pr_debug(" %d x %d\n", BIOS_IN16(tmp0), BIOS_IN16(tmp0+2)); in radeon_get_panel_info_BIOS()
216 if ((BIOS_IN16(tmp0) == rinfo->panel_info.xres) && in radeon_get_panel_info_BIOS()
217 (BIOS_IN16(tmp0+2) == rinfo->panel_info.yres)) { in radeon_get_panel_info_BIOS()
218 rinfo->panel_info.hblank = (BIOS_IN16(tmp0+17) - BIOS_IN16(tmp0+19)) * 8; in radeon_get_panel_info_BIOS()
219 rinfo->panel_info.hOver_plus = ((BIOS_IN16(tmp0+21) - in radeon_get_panel_info_BIOS()
220 BIOS_IN16(tmp0+19) -1) * 8) & 0x7fff; in radeon_get_panel_info_BIOS()
221 rinfo->panel_info.hSync_width = BIOS_IN8(tmp0+23) * 8; in radeon_get_panel_info_BIOS()
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Darith.fuc55 push $r3 // tmp0
68 mulu $r3 $r1 $r13 // tmp0 = A_hi * B_lo
70 and $r3 0xffff // tmp0 = tmp0_lo
77 mulu $r3 $r14 $r2 // tmp0 = A_lo * B_hi
79 and $r3 0xffff // tmp0 = tmp0_lo
86 mulu $r3 $r1 $r2 // tmp0 = A_hi * B_hi
/linux-6.6.21/arch/arm/crypto/
Dsha1-armv7-neon.S67 #define tmp0 q8 macro
156 vadd.u32 tmp0, W0, curK; \
162 vst1.32 {tmp0, tmp1}, [RWK]!; \
179 vadd.u32 tmp0, W0, curK; \
197 vst1.32 {tmp0, tmp1}, [RWK]!; \
209 veor tmp0, tmp0; \
214 vext.8 tmp0, W_m04, tmp0, #4; \
217 veor tmp0, tmp0, W_m16; \
222 veor W, W, tmp0; \
225 vshl.u32 tmp0, W, #1; \
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dmmap.c24 void *bss_mmaped = NULL, *map_mmaped = NULL, *tmp0, *tmp1, *tmp2; in test_mmap() local
200 tmp0 = mmap(NULL, 4 * page_size, PROT_READ, MAP_SHARED | MAP_ANONYMOUS, in test_mmap()
202 if (CHECK(tmp0 == MAP_FAILED, "adv_mmap0", "errno %d\n", errno)) in test_mmap()
206 tmp1 = mmap(tmp0, 3 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
208 if (CHECK(tmp0 != tmp1, "adv_mmap1", "tmp0: %p, tmp1: %p\n", tmp0, tmp1)) { in test_mmap()
209 munmap(tmp0, 4 * page_size); in test_mmap()
/linux-6.6.21/arch/arm64/crypto/
Daes-neon.S158 .macro mul_by_x_2x, out0, out1, in0, in1, tmp0, tmp1, const
159 sshr \tmp0\().16b, \in0\().16b, #7
162 and \tmp0\().16b, \tmp0\().16b, \const\().16b
165 eor \out0\().16b, \out0\().16b, \tmp0\().16b
169 .macro mul_by_x2_2x, out0, out1, in0, in1, tmp0, tmp1, const
170 ushr \tmp0\().16b, \in0\().16b, #6
173 pmul \tmp0\().16b, \tmp0\().16b, \const\().16b
176 eor \out0\().16b, \out0\().16b, \tmp0\().16b
/linux-6.6.21/arch/arm64/include/asm/
Dassembler.h370 .macro tcr_compute_pa_size, tcr, pos, tmp0, tmp1
371 mrs \tmp0, ID_AA64MMFR0_EL1
373 ubfx \tmp0, \tmp0, #ID_AA64MMFR0_EL1_PARANGE_SHIFT, #3
375 cmp \tmp0, \tmp1
376 csel \tmp0, \tmp1, \tmp0, hi
377 bfi \tcr, \tmp0, \pos, #3
/linux-6.6.21/drivers/media/dvb-frontends/
Dcxd2820r_core.c52 u8 tmp0, tmp1; in cxd2820r_gpio() local
60 tmp0 = 0x00; in cxd2820r_gpio()
65 tmp0 |= (2 << 6) >> (2 * i); in cxd2820r_gpio()
67 tmp0 |= (1 << 6) >> (2 * i); in cxd2820r_gpio()
81 dev_dbg(&client->dev, "gpio i=%d %02x %02x\n", i, tmp0, tmp1); in cxd2820r_gpio()
84 dev_dbg(&client->dev, "wr gpio=%02x %02x\n", tmp0, tmp1); in cxd2820r_gpio()
87 ret = regmap_update_bits(priv->regmap[0], 0x0089, 0xfc, tmp0); in cxd2820r_gpio()
Dm88rs2000.c476 u8 tmp0, tmp1; in m88rs2000_read_ber() local
479 tmp0 = m88rs2000_readreg(state, 0xd8); in m88rs2000_read_ber()
480 if ((tmp0 & 0x10) != 0) { in m88rs2000_read_ber()
492 m88rs2000_writereg(state, 0xd8, (tmp0 & ~8) | 0x30); in m88rs2000_read_ber()
493 m88rs2000_writereg(state, 0xd8, (tmp0 & ~8) | 0x30); in m88rs2000_read_ber()
/linux-6.6.21/drivers/rtc/
Drtc-m48t86.c199 unsigned char tmp0, tmp1; in m48t86_verify_chip() local
201 tmp0 = m48t86_readb(&pdev->dev, offset0); in m48t86_verify_chip()
210 m48t86_writeb(&pdev->dev, tmp0, offset0); in m48t86_verify_chip()
/linux-6.6.21/arch/xtensa/kernel/
Dsetup.c422 unsigned long tmp0, tmp1, tmp2, tmp3; in cpu_reset() local
502 : "=&a"(tmp0), "=&a"(tmp1), "=&a"(tmp2), in cpu_reset()
/linux-6.6.21/drivers/iio/
Dindustrialio-core.c637 int tmp0, tmp1; in __iio_format_value() local
665 tmp0 = (int)div_s64_rem(tmp2, 1000000000, &tmp1); in __iio_format_value()
666 if ((tmp2 < 0) && (tmp0 == 0)) in __iio_format_value()
669 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
673 tmp0 = (int)div_s64_rem(tmp2, 1000000000LL, &tmp1); in __iio_format_value()
674 if (tmp0 == 0 && tmp2 < 0) in __iio_format_value()
677 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
/linux-6.6.21/drivers/net/ethernet/freescale/fman/
Dfman_tgec.c201 u32 tmp0, tmp1; in set_mac_address() local
203 tmp0 = (u32)(adr[0] | adr[1] << 8 | adr[2] << 16 | adr[3] << 24); in set_mac_address()
205 iowrite32be(tmp0, &regs->mac_addr_0); in set_mac_address()
Dfman_memac.c304 u32 tmp0, tmp1; in add_addr_in_paddr() local
306 tmp0 = (u32)(adr[0] | adr[1] << 8 | adr[2] << 16 | adr[3] << 24); in add_addr_in_paddr()
310 iowrite32be(tmp0, &regs->mac_addr0.mac_addr_l); in add_addr_in_paddr()
313 iowrite32be(tmp0, &regs->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr()
/linux-6.6.21/lib/crypto/
Dcurve25519-fiat32.c801 fe tmp0, tmp1; in curve25519_generic() local
832 fe_sq_tl(&tmp0, &tmp1l); in curve25519_generic()
836 fe_mul_ttt(&x2, &tmp1, &tmp0); in curve25519_generic()
837 fe_sub(&tmp1l, &tmp1, &tmp0); in curve25519_generic()
841 fe_add(&tmp0l, &tmp0, &z3); in curve25519_generic()

12