Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/x86/crypto/
Dsha512-avx-asm.S71 tmp0 = %rax define
128 mov e_64, tmp0 # tmp = e
130 RORQ tmp0, 23 # 41 # tmp = e ror 23
132 xor e_64, tmp0 # tmp = (e ror 23) ^ e
136 RORQ tmp0, 4 # 18 # tmp = ((e ror 23) ^ e) ror 4
137 xor e_64, tmp0 # tmp = (((e ror 23) ^ e) ror 4) ^ e
140 RORQ tmp0, 14 # 14 # tmp = ((((e ror23)^e)ror4)^e)ror14 = S1(e)
141 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
142 mov a_64, tmp0 # tmp = a
144 and c_64, tmp0 # tmp = a & c
[all …]
Dsha512-ssse3-asm.S71 tmp0 = %rax define
122 mov e_64, tmp0 # tmp = e
124 ror $23, tmp0 # 41 # tmp = e ror 23
126 xor e_64, tmp0 # tmp = (e ror 23) ^ e
130 ror $4, tmp0 # 18 # tmp = ((e ror 23) ^ e) ror 4
131 xor e_64, tmp0 # tmp = (((e ror 23) ^ e) ror 4) ^ e
134 ror $14, tmp0 # 14 # tmp = ((((e ror23)^e)ror4)^e)ror14 = S1(e)
135 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
136 mov a_64, tmp0 # tmp = a
138 and c_64, tmp0 # tmp = a & c
[all …]
Dglue_helper-asm-avx2.S106 #define gf128mul_x2_ble(iv, mask1, mask2, tmp0, tmp1) \ argument
107 vpsrad $31, iv, tmp0; \
110 vpshufd $0x13, tmp0, tmp0; \
112 vpand mask2, tmp0, tmp0; \
114 vpxor tmp0, iv, iv; \
Dcamellia-aesni-avx2-asm_64.S25 #define filter_8bit(x, lo_t, hi_t, mask4bit, tmp0) \ argument
26 vpand x, mask4bit, tmp0; \
30 vpshufb tmp0, lo_t, tmp0; \
32 vpxor tmp0, x, x;
1212 #define gf128mul_x2_ble(iv, mask1, mask2, tmp0, tmp1) \ argument
1213 vpsrad $31, iv, tmp0; \
1216 vpshufd $0x13, tmp0, tmp0; \
1218 vpand mask2, tmp0, tmp0; \
1220 vpxor tmp0, iv, iv; \
Dcamellia-aesni-avx-asm_64.S34 #define filter_8bit(x, lo_t, hi_t, mask4bit, tmp0) \ argument
35 vpand x, mask4bit, tmp0; \
39 vpshufb tmp0, lo_t, tmp0; \
41 vpxor tmp0, x, x;
/kernel/linux/linux-5.10/arch/arm/include/asm/
Duaccess-asm.h86 .macro uaccess_entry, tsk, tmp0, tmp1, tmp2, disable
90 DACR( mrc p15, 0, \tmp0, c3, c0, 0)
91 DACR( str \tmp0, [sp, #SVC_DACR])
100 bic \tmp2, \tmp0, #domain_mask(DOMAIN_KERNEL)
108 .macro uaccess_exit, tsk, tmp0, tmp1
110 DACR( ldr \tmp0, [sp, #SVC_DACR])
112 DACR( mcr p15, 0, \tmp0, c3, c0, 0)
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dmmap.c24 void *bss_mmaped = NULL, *map_mmaped = NULL, *tmp0, *tmp1, *tmp2; in test_mmap() local
186 tmp0 = mmap(NULL, 4 * page_size, PROT_READ, MAP_SHARED | MAP_ANONYMOUS, in test_mmap()
188 if (CHECK(tmp0 == MAP_FAILED, "adv_mmap0", "errno %d\n", errno)) in test_mmap()
192 tmp1 = mmap(tmp0, 3 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
194 if (CHECK(tmp0 != tmp1, "adv_mmap1", "tmp0: %p, tmp1: %p\n", tmp0, tmp1)) { in test_mmap()
195 munmap(tmp0, 4 * page_size); in test_mmap()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dassembler.h362 .macro tcr_compute_pa_size, tcr, pos, tmp0, tmp1
363 mrs \tmp0, ID_AA64MMFR0_EL1
365 ubfx \tmp0, \tmp0, #ID_AA64MMFR0_PARANGE_SHIFT, #3
367 cmp \tmp0, \tmp1
368 csel \tmp0, \tmp1, \tmp0, hi
369 bfi \tcr, \tmp0, \pos, #3
/kernel/linux/linux-5.10/drivers/ide/
Daec62xx.c92 u8 tmp0 = 0, tmp1 = 0, tmp2 = 0; in aec6210_set_mode() local
99 tmp0 = pci_bus_clock_list(speed, bus_clock); in aec6210_set_mode()
100 d_conf = ((tmp0 & 0xf0) << 4) | (tmp0 & 0xf); in aec6210_set_mode()
/kernel/linux/linux-5.10/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.c475 u8 tmp0, tmp1; in m88rs2000_read_ber() local
478 tmp0 = m88rs2000_readreg(state, 0xd8); in m88rs2000_read_ber()
479 if ((tmp0 & 0x10) != 0) { in m88rs2000_read_ber()
491 m88rs2000_writereg(state, 0xd8, (tmp0 & ~8) | 0x30); in m88rs2000_read_ber()
492 m88rs2000_writereg(state, 0xd8, (tmp0 & ~8) | 0x30); in m88rs2000_read_ber()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-m48t86.c198 unsigned char tmp0, tmp1; in m48t86_verify_chip() local
200 tmp0 = m48t86_readb(&pdev->dev, offset0); in m48t86_verify_chip()
209 m48t86_writeb(&pdev->dev, tmp0, offset0); in m48t86_verify_chip()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dsetup.c451 unsigned long tmp0, tmp1, tmp2, tmp3; in cpu_reset() local
531 : "=&a"(tmp0), "=&a"(tmp1), "=&a"(tmp2), in cpu_reset()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
Dfman_tgec.c226 u32 tmp0, tmp1; in set_mac_address() local
228 tmp0 = (u32)(adr[0] | adr[1] << 8 | adr[2] << 16 | adr[3] << 24); in set_mac_address()
230 iowrite32be(tmp0, &regs->mac_addr_0); in set_mac_address()
Dfman_memac.c359 u32 tmp0, tmp1; in add_addr_in_paddr() local
361 tmp0 = (u32)(adr[0] | adr[1] << 8 | adr[2] << 16 | adr[3] << 24); in add_addr_in_paddr()
365 iowrite32be(tmp0, &regs->mac_addr0.mac_addr_l); in add_addr_in_paddr()
368 iowrite32be(tmp0, &regs->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-core.c596 int tmp0, tmp1; in __iio_format_value() local
621 tmp0 = (int)div_s64_rem(tmp, 1000000000, &tmp1); in __iio_format_value()
622 return scnprintf(buf, len, "%d.%09u", tmp0, abs(tmp1)); in __iio_format_value()
625 tmp0 = (int)div_s64_rem(tmp, 1000000000LL, &tmp1); in __iio_format_value()
626 return scnprintf(buf, len, "%d.%09u", tmp0, abs(tmp1)); in __iio_format_value()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c142 double tmp0 = (max_num_sw * swath_height) / (l_sw - (prefill - 3.0) / 2.0); in get_vratio_pre() local
144 if (tmp0 > vratio_pre) in get_vratio_pre()
145 vratio_pre = tmp0; in get_vratio_pre()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dqm.c483 unsigned long tmp0 = 0, tmp1 = 0; in qm_mb_write() local
494 : "=&r" (tmp0), in qm_mb_write()