| /linux/lib/crypto/riscv/ |
| H A D | poly1305-riscv.pl | 54 my ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$t0,$t1,$t2); 85 andi $tmp0,$inp,7 # $inp % 8 87 slli $tmp0,$tmp0,3 # byte to bit offset 92 beqz $tmp0,.Laligned_key 95 neg $tmp1,$tmp0 # implicit &63 in sll 96 srl $in0,$in0,$tmp0 98 srl $in1,$in1,$tmp0 105 li $tmp0,1 106 slli $tmp0,$tmp0,32 # 0x0000000100000000 107 addi $tmp0,$tmp0,-63 # 0x00000000ffffffc1 [all …]
|
| /linux/lib/crypto/mips/ |
| H A D | poly1305-mips.pl | 76 my ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$at,$t0,$t1); 129 andi $tmp0,$inp,7 # $inp % 8 130 dsubu $inp,$inp,$tmp0 # align $inp 131 sll $tmp0,$tmp0,3 # byte to bit offset 134 beqz $tmp0,.Laligned_key 137 subu $tmp1,$zero,$tmp0 139 dsllv $in0,$in0,$tmp0 141 dsllv $in1,$in1,$tmp0 144 dsrlv $in0,$in0,$tmp0 146 dsrlv $in1,$in1,$tmp0 [all …]
|
| /linux/arch/x86/lib/ |
| H A D | memmove_32.S | 23 .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/arch/loongarch/include/asm/ |
| H A D | asmmacro.h | 70 .macro fpu_restore_csr thread tmp0 tmp1 72 ld.w \tmp0, \thread, THREAD_FCSR 74 ldptr.w \tmp0, \thread, THREAD_FCSR 76 movgr2fcsr fcsr0, \tmp0 79 andi \tmp0, \tmp0, FPU_CSR_TM 80 beqz \tmp0, 2f 82 ldptr.w \tmp0, \thread, THREAD_FTOP 83 andi \tmp0, \tmp0, 0x7 85 alsl.d \tmp1, \tmp0, \tmp1, 3 108 .macro fpu_save_cc thread tmp0 tmp1 [all …]
|
| /linux/lib/crypto/x86/ |
| H A D | sha512-ssse3-asm.S | 71 tmp0 = %rax define 118 mov e_64, tmp0 # tmp = e 120 ror $23, tmp0 # 41 # tmp = e ror 23 122 xor e_64, tmp0 # tmp = (e ror 23) ^ e 126 ror $4, tmp0 # 18 # tmp = ((e ror 23) ^ e) ror 4 127 xor e_64, tmp0 # tmp = (((e ror 23) ^ e) ror 4) ^ e 130 ror $14, tmp0 # 14 # tmp = ((((e ror23)^e)ror4)^e)ror14 = S1(e) 131 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e) 132 mov a_64, tmp0 # tmp = a 134 and c_64, tmp0 # tmp = a & c [all …]
|
| H A D | sha512-avx-asm.S | 71 tmp0 = %rax define 124 mov e_64, tmp0 # tmp = e 126 RORQ tmp0, 23 # 41 # tmp = e ror 23 128 xor e_64, tmp0 # tmp = (e ror 23) ^ e 132 RORQ tmp0, 4 # 18 # tmp = ((e ror 23) ^ e) ror 4 133 xor e_64, tmp0 # tmp = (((e ror 23) ^ e) ror 4) ^ e 136 RORQ tmp0, 14 # 14 # tmp = ((((e ror23)^e)ror4)^e)ror14 = S1(e) 137 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e) 138 mov a_64, tmp0 # tmp = a 140 and c_64, tmp0 # tmp = a & c [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | fpu.S | 100 .macro sc_save_fcc thread tmp0 tmp1 101 movcf2gr \tmp0, $fcc0 102 move \tmp1, \tmp0 103 movcf2gr \tmp0, $fcc1 104 bstrins.w \tmp1, \tmp0, 15, 8 105 movcf2gr \tmp0, $fcc2 106 bstrins.w \tmp1, \tmp0, 23, 16 107 movcf2gr \tmp0, $fcc3 108 bstrins.w \tmp1, \tmp0, 31, 24 110 movcf2gr \tmp0, $fcc4 [all …]
|
| /linux/arch/arm/include/asm/ |
| H A D | uaccess-asm.h | 131 .macro uaccess_entry, tsk, tmp0, tmp1, tmp2, disable 132 DACR( mrc p15, 0, \tmp0, c3, c0, 0) 133 DACR( str \tmp0, [sp, #SVC_DACR]) 134 PAN( mrc p15, 0, \tmp0, c2, c0, 2) 135 PAN( str \tmp0, [sp, #SVC_TTBCR]) 143 bic \tmp2, \tmp0, #domain_mask(DOMAIN_KERNEL) 151 .macro uaccess_exit, tsk, tmp0, tmp1 152 DACR( ldr \tmp0, [sp, #SVC_DACR]) 153 DACR( mcr p15, 0, \tmp0, c3, c0, 0) 154 PAN( ldr \tmp0, [sp, #SVC_TTBCR]) [all …]
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | radeon_monitor.c | 169 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/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
| H A D | arith.fuc | 55 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/drivers/clk/sophgo/ |
| H A D | clk-sg2042-pll.c | 194 u64 tmp0; in sg2042_pll_get_postdiv_1_2() local 208 tmp0 = prate; in sg2042_pll_get_postdiv_1_2() 209 do_div(tmp0, refdiv); in sg2042_pll_get_postdiv_1_2() 212 tmp0 *= fbdiv; in sg2042_pll_get_postdiv_1_2() 215 tmp0 = div64_ul(tmp0, rate); in sg2042_pll_get_postdiv_1_2() 218 if (tmp0 <= 7) { in sg2042_pll_get_postdiv_1_2() 220 *postdiv1 = tmp0; in sg2042_pll_get_postdiv_1_2() 227 if (tmp0 > postdiv1_2[index][POSTDIV_RESULT_INDEX]) { in sg2042_pll_get_postdiv_1_2()
|
| /linux/lib/crypto/arm/ |
| H A D | sha1-armv7-neon.S | 67 #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/arch/x86/crypto/ |
| H A D | sm4-aesni-avx2-asm_64.S | 76 #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;
|
| H A D | sm4-aesni-avx-asm_64.S | 60 #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;
|
| H A D | aria-gfni-avx512-asm_64.S | 44 #define filter_8bit(x, lo_t, hi_t, mask4bit, tmp0) \ argument 45 vpandq x, mask4bit, tmp0; \ 49 vpshufb tmp0, lo_t, tmp0; \ 51 vpxorq tmp0, x, x;
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | mmap.c | 24 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/arch/arm64/crypto/ |
| H A D | aes-neon.S | 158 .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/drivers/media/dvb-frontends/ |
| H A D | cxd2820r_core.c | 52 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()
|
| H A D | m88rs2000.c | 476 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/drivers/rtc/ |
| H A D | rtc-m48t86.c | 198 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()
|
| /linux/drivers/iio/ |
| H A D | industrialio-core.c | 656 int tmp0, tmp1; in __iio_format_value() local 683 tmp0 = (int)div_s64_rem(tmp2, 1000000000, &tmp1); in __iio_format_value() 684 if ((tmp2 < 0) && (tmp0 == 0)) in __iio_format_value() 687 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value() 691 tmp0 = (int)div_s64_rem(tmp2, 1000000000LL, &tmp1); in __iio_format_value() 692 if (tmp0 == 0 && tmp2 < 0) in __iio_format_value() 695 return sysfs_emit_at(buf, offset, "%d.%09u", tmp0, in __iio_format_value()
|
| /linux/drivers/iio/adc/ |
| H A D | ad4000.c | 535 int val, tmp0, tmp1; in ad4000_fill_scale_tbl() local 558 tmp0 = div_s64_rem(tmp2, NANO, &tmp1); in ad4000_fill_scale_tbl() 561 st->scale_tbl[0][0] = tmp0; /* Integer part */ in ad4000_fill_scale_tbl() 565 st->scale_tbl[1][0] = tmp0; in ad4000_fill_scale_tbl()
|
| H A D | mcp3564.c | 1090 int tmp0; in mcp3564_fill_scale_tbls() local 1096 div_u64_rem(tmp1, NANO, &tmp0); in mcp3564_fill_scale_tbls() 1099 tmp0 = (int)div_u64(tmp1, mcp3564_hwgain_frac[2 * i]); in mcp3564_fill_scale_tbls() 1101 adc->scale_tbls[i][1] = tmp0; in mcp3564_fill_scale_tbls()
|
| H A D | ad4170-4.c | 468 unsigned int tmp0, tmp1, i; in ad4170_fill_sps_tbl() local 476 tmp0 = div_u64_rem(st->mclk_hz, 32 * ad4170_sinc3_filt_fs_tbl[i], in ad4170_fill_sps_tbl() 480 st->sps_tbl[AD4170_SINC5_AVG][i][0] = tmp0; /* Integer part */ in ad4170_fill_sps_tbl() 484 st->sps_tbl[AD4170_SINC3][i][0] = tmp0; /* Integer part */ in ad4170_fill_sps_tbl() 489 tmp0 = div_u64_rem(st->mclk_hz, 32 * ad4170_sinc5_filt_fs_tbl[i], in ad4170_fill_sps_tbl() 493 st->sps_tbl[AD4170_SINC5][i][0] = tmp0; /* Integer part */ in ad4170_fill_sps_tbl()
|
| /linux/lib/crypto/ |
| H A D | curve25519-fiat32.c | 801 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()
|