| /kernel/linux/linux-5.10/arch/arm64/crypto/ |
| D | chacha-neon-core.S | 4 * Copyright (C) 2016-2018 Linaro, Ltd. <ard.biesheuvel@linaro.org> 11 * ChaCha20 256-bit cipher algorithm, RFC7539, x64 SSSE3 functions 29 * chacha_permute - permute one block 31 * Permute one 64-byte block where the state matrix is stored in the four NEON 32 * registers v0-v3. It performs matrix operations on four words in parallel, 42 ld1 {v12.4s}, [x10] 45 // x0 += x1, x3 = rotl32(x3 ^ x0, 16) 46 add v0.4s, v0.4s, v1.4s 47 eor v3.16b, v3.16b, v0.16b 51 add v2.4s, v2.4s, v3.4s [all …]
|
| D | sm3-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * sm3-ce-core.S - SM3 secure hash using ARMv8.2 Crypto Extensions 11 .irp b, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 12 .set .Lv\b\().4s, \b 16 .inst 0xce60c000 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 20 .inst 0xce60c400 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 24 .inst 0xce400000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16) 28 .inst 0xce408000 | .L\rd | (.L\rn << 5) | ((\imm2) << 12) | (.L\rm << 16) 32 .inst 0xce408400 | .L\rd | (.L\rn << 5) | ((\imm2) << 12) | (.L\rm << 16) 36 .inst 0xce408800 | .L\rd | (.L\rn << 5) | ((\imm2) << 12) | (.L\rm << 16) [all …]
|
| D | sha512-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sha512-ce-core.S - core SHA-384/SHA-512 transform using v8 Crypto Extensions 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 21 .inst 0xce608000 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 25 .inst 0xce608400 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 33 .inst 0xce608800 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 37 * The SHA-512 round constants 40 .align 4 85 ld1 {v\rc1\().2d}, [x4], #16 88 ext v6.16b, v\i2\().16b, v\i3\().16b, #8 [all …]
|
| D | sha256-core.S_shipped | 1 // SPDX-License-Identifier: GPL-2.0 11 // Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved. 30 // SHA256-hw SHA256(*) SHA512 31 // Apple A7 1.97 10.5 (+33%) 6.73 (-1%(**)) 32 // Cortex-A53 2.38 15.5 (+115%) 10.0 (+150%(***)) 33 // Cortex-A57 2.31 11.6 (+86%) 7.51 (+260%(***)) 35 // X-Gene 20.0 (+100%) 12.8 (+300%(***)) 40 // (**) The result is a trade-off: it's possible to improve it by 42 // on Cortex-A53 (or by 4 cycles per round). 43 // (***) Super-impressive coefficients over gcc-generated code are [all …]
|
| D | aes-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2013 - 2017 Linaro Ltd <ard.biesheuvel@linaro.org> 9 .arch armv8-a+crypto 13 ld1 {v0.16b}, [x2] 14 ld1 {v1.4s}, [x0], #16 18 mov v3.16b, v1.16b 20 0: mov v2.16b, v1.16b 21 ld1 {v3.4s}, [x0], #16 22 1: aese v0.16b, v2.16b 23 aesmc v0.16b, v0.16b [all …]
|
| D | sha2-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * sha2-ce-core.S - core SHA-224/SHA-256 transform using v8 Crypto Extensions 12 .arch armv8-a+crypto 30 mov dg2v.16b, dg0v.16b 32 add t1.4s, v\s0\().4s, \rc\().4s 33 sha256h dg0q, dg1q, t0.4s 34 sha256h2 dg1q, dg2q, t0.4s 37 add t0.4s, v\s0\().4s, \rc\().4s 39 sha256h dg0q, dg1q, t1.4s 40 sha256h2 dg1q, dg2q, t1.4s [all …]
|
| D | aes-ce-ccm-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * aesce-ccm-core.S - AES-CCM transform for ARMv8 with Crypto Extensions 5 * Copyright (C) 2013 - 2017 Linaro Ltd <ard.biesheuvel@linaro.org> 12 .arch armv8-a+crypto 20 ld1 {v0.16b}, [x0] /* load mac */ 22 sub w8, w8, #16 23 eor v1.16b, v1.16b, v1.16b 28 ext v1.16b, v1.16b, v1.16b, #1 /* rotate in the input bytes */ 31 eor v0.16b, v0.16b, v1.16b 32 1: ld1 {v3.4s}, [x4] /* load first round key */ [all …]
|
| D | ghash-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2014 - 2018 Linaro Ltd. <ard.biesheuvel@linaro.org> 60 .arch armv8-a+crypto 79 tbl t3.16b, {\ad\().16b}, perm1.16b // A1 80 tbl t5.16b, {\ad\().16b}, perm2.16b // A2 81 tbl t7.16b, {\ad\().16b}, perm3.16b // A3 95 __pmull_p8_tail \rq, \ad\().16b, SHASH.16b, 16b, 2, sh1, sh2, sh3, sh4 108 eor t3.16b, t3.16b, t4.16b // L = E + F 109 eor t5.16b, t5.16b, t6.16b // M = G + H 110 eor t7.16b, t7.16b, t8.16b // N = I + J [all …]
|
| D | aes-ce.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm64/crypto/aes-ce.S - AES cipher for ARMv8 with 6 * Copyright (C) 2013 - 2017 Linaro Ltd <ard.biesheuvel@linaro.org> 15 .arch armv8-a+crypto 32 ld1 {v17.4s-v18.4s}, [\rk], #32 33 1111: ld1 {v19.4s-v20.4s}, [\rk], #32 34 2222: ld1 {v21.4s-v24.4s}, [\rk], #64 35 ld1 {v25.4s-v28.4s}, [\rk], #64 36 ld1 {v29.4s-v31.4s}, [\rk] 58 aes\de \i0\().16b, \k\().16b [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/lib/ |
| D | reg.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 #include <ppc-asm.h> 11 /* Non volatile GPR - unsigned long buf[18] */ 15 ld 16, 2*8(3) 17 ld 18, 4*8(3) 29 ld 30, 16*8(3) 37 std 16, 2*8(3) 39 std 18, 4*8(3) 51 std 30, 16*8(3) 56 /* Single Precision Float - float buf[32] */ [all …]
|
| /kernel/linux/linux-5.10/arch/x86/crypto/ |
| D | cast5-avx-x86_64-asm_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Cast5 Cipher 16-way parallel algorithm (AVX/x86_64) 6 * <Johannes.Goetzfried@informatik.stud.uni-erlangen.de> 14 .file "cast5-avx-x86_64-asm_64.S" 23 #define kr (16*4) 24 #define rr ((16*4)+16) 26 /* s-boxes */ 33 16-way AVX cast5 88 shrq $16, src; \ 89 movl s1(, RID1, 4), dst ## d; \ [all …]
|
| /kernel/linux/linux-5.10/arch/csky/abiv1/ |
| D | memcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 25 cmplti r4, 4 36 cmplti r4, 16 42 ldw r5, (r3, 4) 46 stw r5, (r7, 4) 49 subi r4, 16 50 addi r3, 16 51 addi r7, 16 52 cmplti r4, 16 [all …]
|
| /kernel/linux/linux-5.10/arch/alpha/lib/ |
| D | ev6-memset.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memset.S 8 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> 13 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 15 * E - either cluster 16 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 17 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 48 * undertake a major re-write to interleave the constant materialization 49 * with other parts of the fall-through code. This is important, even 55 bis $16,$16,$0 # E : return value [all …]
|
| D | copy_user.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * Notably, we have to make sure that $0 is always up-to-date and 21 .long 99b - .; \ 22 lda $31, $exitin-99b($31); \ 28 .long 99b - .; \ 29 lda $31, $exitout-99b($31); \ 33 .align 4 39 and $16,7,$3 43 .align 4 46 EXO( ldq_u $2,0($16) ) [all …]
|
| D | clear_user.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * We have to make sure that $0 is always up-to-date and contains the 19 .long 99b - .; \ 20 lda $31, $exception-99b($31); \ 25 .align 4 33 and $1, 3, $4 # e0 : 34 beq $4, 1f # .. e1 : 36 0: EX( stq_u $31, 0($16) ) # e0 : zero one word 38 subq $4, 1, $4 # e0 : 39 addq $16, 8, $16 # .. e1 : [all …]
|
| D | ev6-memcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memcpy.S 4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> 8 * - memory accessed as aligned quadwords only 9 * - uses bcmpge to compare 8 bytes in parallel 14 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 16 * E - either cluster 17 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 18 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 21 * $1,$2, - scratch [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/device_include/ |
| D | svga3d_surfacedefs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 4 * Copyright 2008-2015 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 29 * svga3d_surfacedefs.h -- 49 * enum svga3d_block_desc - describes generic properties about formats. 74 SVGA3DBLOCKDESC_BUFFER = 1 << 4, 107 SVGA3DBLOCKDESC_SRGB = 1 << 16, 373 * struct svga3d_surface_desc - describes the actual pixel data. 402 {1, 1, 1}, 4, 4, 404 {{0}, {8}, {16}, {24}}}, [all …]
|
| /kernel/linux/linux-5.10/include/soc/mscc/ |
| D | ocelot_dev.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 14 #define DEV_CLOCK_CFG_PCS_RX_RST BIT(4) 20 #define DEV_PORT_MISC_FWD_ERROR_ENA BIT(4) 38 #define DEV_PTP_PREDICT_CFG_PTP_PHY_PREDICT_CFG(x) (((x) << 4) & GENMASK(11, 4)) 39 #define DEV_PTP_PREDICT_CFG_PTP_PHY_PREDICT_CFG_M GENMASK(11, 4) 40 #define DEV_PTP_PREDICT_CFG_PTP_PHY_PREDICT_CFG_X(x) (((x) & GENMASK(11, 4)) >> 4) 44 #define DEV_MAC_ENA_CFG_RX_ENA BIT(4) 48 #define DEV_MAC_MODE_CFG_GIGA_MODE_ENA BIT(4) 51 #define DEV_MAC_TAGS_CFG_TAG_ID(x) (((x) << 16) & GENMASK(31, 16)) 52 #define DEV_MAC_TAGS_CFG_TAG_ID_M GENMASK(31, 16) [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/copyloops/ |
| D | copyuser_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <asm/asm-compat.h> 9 #include <asm/feature-fixups.h> 17 #define sLd sld /* Shift towards low-numbered address. */ 18 #define sHd srd /* Shift towards high-numbered address. */ 20 #define sLd srd /* Shift towards low-numbered address. */ 21 #define sHd sld /* Shift towards high-numbered address. */ 39 100: EX_TABLE(100b, .Lld_exc - r3_offset) 43 100: EX_TABLE(100b, .Lst_exc - r3_offset) 56 /* first check for a 4kB copy on a 4kB boundary */ [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/lib/ |
| D | copyuser_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <asm/asm-compat.h> 9 #include <asm/feature-fixups.h> 17 #define sLd sld /* Shift towards low-numbered address. */ 18 #define sHd srd /* Shift towards high-numbered address. */ 20 #define sLd srd /* Shift towards low-numbered address. */ 21 #define sHd sld /* Shift towards high-numbered address. */ 39 100: EX_TABLE(100b, .Lld_exc - r3_offset) 43 100: EX_TABLE(100b, .Lst_exc - r3_offset) 56 /* first check for a 4kB copy on a 4kB boundary */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
| D | q_struct.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 124 CQE_RX_TCP_END_PKT_ERR = 4, 173 u64 cqe_type:4; /* W0 */ 179 u64 rss_alg:4; 180 u64 rsvd2:4; 181 u64 rb_cnt:4; 186 u64 l4_type:4; 187 u64 l3_type:4; 192 u64 pkt_len:16; /* W1 */ 202 u64 vlan_tci:16; [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/netlogic/ |
| D | xlr_net.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ 3 * Copyright (c) 2003-2012 Broadcom Corporation 12 /* PE-MCXMAC register and bit field definitions */ 18 #define O_MAC_CONFIG_1__hrrfn 16 22 #define O_MAC_CONFIG_1__txfc 4 29 #define W_MAC_CONFIG_2__prlen 4 33 #define O_MAC_CONFIG_2__flchk 4 39 #define O_IPG_IFG__ipgr2 16 47 #define W_HALF_DUPLEX__abebt 4 51 #define O_HALF_DUPLEX__edxsdfr 16 [all …]
|
| /kernel/linux/linux-5.10/arch/microblaze/lib/ |
| D | fastcopy.S | 2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> 3 * Copyright (C) 2008-2009 PetaLogix 4 * Copyright (C) 2008 Jim Law - Iris LP All rights reserved. 21 * Input : Operand1 in Reg r5 - destination address 22 * Operand2 in Reg r6 - source address 23 * Operand3 in Reg r7 - number of bytes to transfer 24 * Output: Result in Reg r3 - starting destinaition address 43 addi r4, r0, 4 /* n = 4 */ 44 cmpu r4, r4, r7 /* n = c - n (unsigned) */ 51 /* n = 4 - n (yields 3, 2, 1 transfers for 1, 2, 3 addr offset) */ [all …]
|
| /kernel/linux/linux-5.10/arch/alpha/kernel/ |
| D | sys_rawhide.c | 1 // SPDX-License-Identifier: GPL-2.0 40 static unsigned int hose_irq_masks[4] = { 43 static unsigned int cached_irq_masks[4]; 61 unsigned int irq = d->irq; in rawhide_enable_irq() 63 irq -= 16; in rawhide_enable_irq() 65 if (!hose_exists(hose)) /* if hose non-existent, exit */ in rawhide_enable_irq() 68 irq -= hose * 24; in rawhide_enable_irq() 82 unsigned int irq = d->irq; in rawhide_disable_irq() 84 irq -= 16; in rawhide_disable_irq() 86 if (!hose_exists(hose)) /* if hose non-existent, exit */ in rawhide_disable_irq() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/lib/ |
| D | usercopy_32.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * The non inlined parts of asm-i386/uaccess.h are here. 47 "3: lea 0(%2,%0,4),%0\n" \ 53 : "r"(size & 3), "0"(size / 4), "1"(addr), "a"(0)); \ 57 * clear_user - Zero a block of memory in user space. 77 * __clear_user - Zero a block of memory in user space, with less checking. 102 "1: movl 32(%4), %%eax\n" in __copy_user_intel() 105 "2: movl 64(%4), %%eax\n" in __copy_user_intel() 107 "3: movl 0(%4), %%eax\n" in __copy_user_intel() 108 "4: movl 4(%4), %%edx\n" in __copy_user_intel() [all …]
|