/linux-6.12.1/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 | sm4-ce-asm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 ld1 {v24.16b-v27.16b}, [ptr], #64; \ 9 ld1 {v28.16b-v31.16b}, [ptr]; 12 sm4e b0.4s, v24.4s; \ 13 sm4e b0.4s, v25.4s; \ 14 sm4e b0.4s, v26.4s; \ 15 sm4e b0.4s, v27.4s; \ 16 sm4e b0.4s, v28.4s; \ 17 sm4e b0.4s, v29.4s; \ 18 sm4e b0.4s, v30.4s; \ [all …]
|
D | sm4-neon-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * https://tools.ietf.org/id/draft-ribose-cfrg-sm4-10.html 35 ld1 {v16.16b-v19.16b}, [x5], #64; \ 36 ld1 {v20.16b-v23.16b}, [x5], #64; \ 37 ld1 {v24.16b-v27.16b}, [x5], #64; \ 38 ld1 {v28.16b-v31.16b}, [x5]; 41 zip1 RTMP0.4s, s0.4s, s1.4s; \ 42 zip1 RTMP1.4s, s2.4s, s3.4s; \ 43 zip2 RTMP2.4s, s0.4s, s1.4s; \ 44 zip2 RTMP3.4s, s2.4s, s3.4s; \ [all …]
|
D | sm4-ce-gcm-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * SM4-GCM AEAD Algorithm using ARMv8 Crypto Extensions 14 #include "sm4-ce-asm.h" 16 .arch armv8-a+crypto 19 .set .Lv\b\().4s, \b 37 * output: r0:r1 (low 128-bits in r0, high in r1) 40 ext T0.16b, m1.16b, m1.16b, #8; \ 45 eor T0.16b, T0.16b, T1.16b; \ 46 ext T1.16b, RZERO.16b, T0.16b, #8; \ 47 ext T0.16b, T0.16b, RZERO.16b, #8; \ [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 12 .irp b, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 13 .set .Lv\b\().4s, \b 17 .inst 0xce60c000 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 21 .inst 0xce60c400 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 25 .inst 0xce400000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16) 29 .inst 0xce408000 | .L\rd | (.L\rn << 5) | ((\imm2) << 12) | (.L\rm << 16) 33 .inst 0xce408400 | .L\rd | (.L\rn << 5) | ((\imm2) << 12) | (.L\rm << 16) 37 .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 | 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 | sm4-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * https://tools.ietf.org/id/draft-ribose-cfrg-sm4-10.html 13 #include "sm4-ce-asm.h" 15 .arch armv8-a+crypto 17 .irp b, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, \ 19 .set .Lv\b\().4s, \b 27 .inst 0xce60c800 | (.L\vm << 16) | (.L\vn << 5) | .L\vd 45 * x0: 128-bit key 51 ld1 {v0.16b}, [x0]; 52 rev32 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 …]
|
/linux-6.12.1/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 /* Double Precision Float - double buf[32] */ [all …]
|
/linux-6.12.1/arch/arm64/kernel/vdso/ |
D | vgetrandom-chacha.S | 1 // SPDX-License-Identifier: GPL-2.0 27 * number of blocks of output with nonce 0, taking an input key and 8-bytes 30 * This implementation avoids d8-d15 because they are callee-save in user 39 * x1: 32-byte key input 40 * x2: 8-byte counter input/output 41 * x3: number of 64-byte block to write to output 45 /* copy0 = "expand 32-byte k" */ 52 ld1 { copy1.4s, copy2.4s }, [x1] 57 uzp1 one_v.4s, one_v.4s, one_v.4s 61 mov state0.16b, copy0.16b [all …]
|
/linux-6.12.1/Documentation/driver-api/media/drivers/ccs/ |
D | ccs-regs.asc | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 2 # Copyright (C) 2019--2020 Intel Corporation 5 # - f field LSB MSB rflags 6 # - e enum value # after a field 7 # - e enum value [LSB MSB] 8 # - b bool bit 9 # - l arg name min max elsize [discontig...] 12 # 8, 16, 32 register bits (default is 8) 19 module_model_id 0x0000 16 23 - e GRBG 0 [all …]
|
/linux-6.12.1/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 movl (RID2,RID1,4), dst ## d; \ 91 op1 (RID1,RID2,4), dst ## d; \ [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_surfacedefs.h | 2 * Copyright 2008-2021 VMware, Inc. 3 * SPDX-License-Identifier: GPL-2.0 OR MIT 28 * svga3d_surfacedefs.h -- 71 SVGA3DBLOCKDESC_BUFFER = 1 << 4, 93 SVGA3DBLOCKDESC_SRGB = 1 << 16, 335 4, 336 4, 338 { { 0 }, { 8 }, { 16 }, { 24 } } }, 343 4, 344 4, [all …]
|
/linux-6.12.1/arch/powerpc/crypto/ |
D | chacha-p10le-8x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 14 # 1. a += b; d ^= a; d <<<= 16; 17 # 4. c += d; b ^= c; b <<<= 7 19 # row1 = (row1 + row2), row4 = row1 xor row4, row4 rotate each word by 16 24 # 4 blocks (a b c d) 43 #include <asm/asm-offsets.h> 44 #include <asm/asm-compat.h> 55 li 16, \OFFSET 56 stvx \VRS, 16, \FRAME [all …]
|
D | poly1305-p10le_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 10 # Poly1305 - this version mainly using vector/VSX/Scalar 11 # - 26 bits limbs 12 # - Handle multiple 64 byte blcok. 14 # Block size 16 bytes 17 # p = 2^130 - 5 25 # 07/22/21 - this revison based on the above sum of products. Setup r^4, r^3, r^2, r and s3, s2, … 28 # setup r^4, r^3, r^2, r vectors 29 # vs [r^1, r^3, r^2, r^4] [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/include/dt-bindings/memory/ |
D | mt8186-memory-port.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/memory/mtk-memory-port.h> 14 * MM IOMMU supports 16GB dma address. We separate it to four ranges: 15 * 0 ~ 4G; 4G ~ 8G; 8G ~ 12G; 12G ~ 16G, we could adjust these masters 18 * b) The iova of any master can NOT cross the 4G/8G/12G boundary. 22 * modules dma-address-region larbs-ports 23 * disp 0 ~ 4G larb0/1/2 24 * vcodec 4G ~ 8G larb4/7 26 * N/A 12G ~ 16G 28 * CCU1 0x24400_0000 ~ 0x247ff_ffff larb14: port 4/5 [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_ondisk.h | 1 // SPDX-License-Identifier: GPL-2.0 26 XFS_CHECK_STRUCT_SIZE(struct xfs_acl, 4); in xfs_check_ondisk_structs() 32 XFS_CHECK_STRUCT_SIZE(struct xfs_bmbt_rec, 16); in xfs_check_ondisk_structs() 33 XFS_CHECK_STRUCT_SIZE(struct xfs_bmdr_block, 4); in xfs_check_ondisk_structs() 42 XFS_CHECK_STRUCT_SIZE(struct xfs_inobt_key, 4); in xfs_check_ondisk_structs() 43 XFS_CHECK_STRUCT_SIZE(struct xfs_inobt_rec, 16); in xfs_check_ondisk_structs() 44 XFS_CHECK_STRUCT_SIZE(struct xfs_refcount_key, 4); in xfs_check_ondisk_structs() 51 XFS_CHECK_STRUCT_SIZE(xfs_alloc_ptr_t, 4); in xfs_check_ondisk_structs() 53 XFS_CHECK_STRUCT_SIZE(xfs_inobt_ptr_t, 4); in xfs_check_ondisk_structs() 54 XFS_CHECK_STRUCT_SIZE(xfs_refcount_ptr_t, 4); in xfs_check_ondisk_structs() [all …]
|