/Linux-v5.10/arch/arm64/crypto/ |
D | sha3-ce-core.S | 3 * sha3-ce-core.S - core SHA-3 transform using v8.2 Crypto Extensions 8 * it under the terms of the GNU General Public License version 2 as 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 16 .set .Lv\b\().2d, \b 21 * ARMv8.2 Crypto Extensions instructions 53 ld1 { v0.1d- v3.1d}, [x19] 54 ld1 { v4.1d- v7.1d}, [x8], #32 55 ld1 { v8.1d-v11.1d}, [x8], #32 56 ld1 {v12.1d-v15.1d}, [x8], #32 57 ld1 {v16.1d-v19.1d}, [x8], #32 [all …]
|
D | poly1305-core.S_shipped | 87 add x12,x12,x13,lsl#26 // base 2^26 -> base 2^64 97 add x9,x8,x8,lsr#2 // s1 = r1 + (r1 >> 2) 139 add x10,x10,x14,lsr#2 157 ldp x4,x5,[x0] // load hash base 2^64 175 add x12,x12,x13,lsl#26 // base 2^26 -> base 2^64 241 add x10,x10,x14,lsr#2 252 and x12,x4,#0x03ffffff // base 2^64 -> base 2^26 260 add w12,w13,w13,lsl#2 // r1*5 262 add w13,w14,w14,lsl#2 // r2*5 263 str w12,[x0,#16*2] // s1 [all …]
|
D | ghash-ce-core.S | 63 pmull \rd\().1q, \rn\().1d, \rm\().1d 67 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 72 ext t5.8b, \ad\().8b, \ad\().8b, #2 // A2 95 __pmull_p8_tail \rq, \ad\().16b, SHASH.16b, 16b, 2, sh1, sh2, sh3, sh4 106 pmull\t \rq\().8h, \ad, \bd // D = A*B 112 uzp1 t4.2d, t3.2d, t5.2d 113 uzp2 t3.2d, t3.2d, t5.2d 114 uzp1 t6.2d, t7.2d, t9.2d 115 uzp2 t7.2d, t7.2d, t9.2d 130 zip2 t5.2d, t4.2d, t3.2d [all …]
|
D | sha512-ce-core.S | 8 * it under the terms of the GNU General Public License version 2 as 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 17 .set .Lv\b\().2d, \b 85 ld1 {v\rc1\().2d}, [x4], #16 87 add v5.2d, v\rc0\().2d, v\in0\().2d 91 add v\i3\().2d, v\i3\().2d, v5.2d 94 sha512su0 v\in0\().2d, v\in1\().2d 96 sha512h q\i3, q6, v7.2d 98 sha512su1 v\in0\().2d, v\in2\().2d, v5.2d 100 add v\i4\().2d, v\i1\().2d, v\i3\().2d [all …]
|
D | nh-neon-core.S | 49 mov T4.d[0], T0.d[1] 50 mov T5.d[0], T1.d[1] 51 mov T6.d[0], T2.d[1] 52 mov T7.d[0], T3.d[1] 53 umlal PASS0_SUMS.2d, T0.2s, T4.2s 54 umlal PASS1_SUMS.2d, T1.2s, T5.2s 55 umlal PASS2_SUMS.2d, T2.2s, T6.2s 56 umlal PASS3_SUMS.2d, T3.2s, T7.2s 68 movi PASS0_SUMS.2d, #0 69 movi PASS1_SUMS.2d, #0 [all …]
|
D | crct10dif-ce-core.S | 8 // it under the terms of the GNU General Public License version 2 as 26 // General Public License (GPL) Version 2, available from the file 110 movi k32_48.2d, #0xffffffff 111 mov k32_48.h[2], k32_48.h[0] 112 ushr k00_16.2d, k32_48.2d, #32 117 dup perm1.2d, x5 119 ushr perm2.2d, perm1.2d, #8 120 ushr perm3.2d, perm1.2d, #16 121 ushr perm4.2d, perm1.2d, #24 122 sli perm2.2d, perm1.2d, #56 [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
D | ia_css_debug.c | 8 * version 2, as published by the Free Software Foundation. 304 return "user-def-8-type-2"; in debug_stream_format2str() 396 ia_css_debug_dtrace(2, "%s state:\n", cell); in debug_print_sp_state() 397 ia_css_debug_dtrace(2, "\t%-32s: 0x%X\n", "PC", state->pc); in debug_print_sp_state() 398 ia_css_debug_dtrace(2, "\t%-32s: 0x%X\n", "Status register", in debug_print_sp_state() 400 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "Is broken", state->is_broken); in debug_print_sp_state() 401 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "Is idle", state->is_idle); in debug_print_sp_state() 402 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "Is sleeping", in debug_print_sp_state() 404 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "Is stalling", in debug_print_sp_state() 414 ia_css_debug_dtrace(2, "%s state:\n", cell); in debug_print_isp_state() [all …]
|
/Linux-v5.10/include/math-emu/ |
D | double.h | 12 published by the Free Software Foundation; either version 2 of the 33 #define _FP_FRACTBITS_D (2 * _FP_W_TYPE_SIZE) 47 ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-2) % _FP_W_TYPE_SIZE) 73 #define FP_DECL_D(X) _FP_DECL(2,X) 74 #define FP_UNPACK_RAW_D(X,val) _FP_UNPACK_RAW_2(D,X,val) 75 #define FP_UNPACK_RAW_DP(X,val) _FP_UNPACK_RAW_2_P(D,X,val) 76 #define FP_PACK_RAW_D(val,X) _FP_PACK_RAW_2(D,val,X) 80 _FP_PACK_RAW_2_P(D,val,X); \ 85 _FP_UNPACK_RAW_2(D,X,val); \ 86 _FP_UNPACK_CANONICAL(D,2,X); \ [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/shaders/clear_kernel/ |
D | hsw.asm | 10 * 2. Write 32x16 block of all "0" to render target buffer which indirectly clears 15 mov(1) f0.1<1>UW g1.2<0,1,0>UW { align1 1N }; 31 * BTI 0: 2D Surface to help clear L3 (Render/Data Cache) 39 add(1) g1.2<1>UD g1.2<0,1,0>UD 0x00000001UD { align1 1N }; /* Loop count to del… 41 (+f0.0) jmpi(1) 352D { align1 WE_all 1N }; 45 * IVB: sr0.0 :: [15:13]: MBZ, 12: HSID (Half-Slice ID), [11:8]EUID, [2:0] ThreadSlotID 46 * HSW: sr0.0 :: 15: MBZ, [14:13]: SliceID, 12: HSID (Half-Slice ID), [11:8]EUID, [2:0] ThreadSlotID 49 shr(1) g3<1>D sr0<0,1,0>D 12D { align1 1N }; 50 and(1) g3<1>D g3<0,1,0>D 1D { align1 1N }; /* g3 has HSID */ 51 shr(1) g3.1<1>D sr0<0,1,0>D 13D { align1 1N }; [all …]
|
D | ivb.asm | 10 * 2. Write 32x16 block of all "0" to render target buffer which indirectly clears 15 mov(1) f0.1<1>UW g1.2<0,1,0>UW { align1 1N }; 31 * BTI 0: 2D Surface to help clear L3 (Render/Data Cache) 39 add(1) g1.2<1>UD g1.2<0,1,0>UD 0x00000001UD { align1 1N }; /* Loop count to del… 41 (+f0.0) jmpi(1) 44D { align1 WE_all 1N }; 45 * IVB: sr0.0 :: [15:13]: MBZ, 12: HSID (Half-Slice ID), [11:8]EUID, [2:0] ThreadSlotID 46 * HSW: sr0.0 :: 15: MBZ, [14:13]: SliceID, 12: HSID (Half-Slice ID), [11:8]EUID, [2:0] ThreadSlotID 49 shr(1) g3<1>D sr0<0,1,0>D 12D { align1 1N }; 50 and(1) g3<1>D g3<0,1,0>D 1D { align1 1N }; /* g3 has HSID */ 51 shr(1) g3.1<1>D sr0<0,1,0>D 13D { align1 1N }; [all …]
|
/Linux-v5.10/arch/x86/crypto/ |
D | des3_ede-asm_64.S | 80 movl val##d, RT0d; \ 90 orl RT0d, val##d; 93 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \ 94 do_permutation(left##d, right##d, 16, 0x0000ffff); \ 95 do_permutation(right##d, left##d, 2, 0x33333333); \ 96 do_permutation(right##d, left##d, 8, 0x00ff00ff); \ 98 movl left##d, RW0d; \ 99 roll $1, right##d; \ 100 xorl right##d, RW0d; \ 102 xorl RW0d, left##d; \ [all …]
|
/Linux-v5.10/lib/crypto/ |
D | des.c | 582 #define ROUND(L, R, A, B, K, d) \ argument 583 B = K[0]; A = K[1]; K += d; \ 596 * PC2 lookup tables are organized as 2 consecutive sets of 4 interleaved 600 * After PC1 each of the variables a,b,c,d contains a 7 bit subset of C_i 604 #define T1(x) pt[2 * (x) + 0] 605 #define T2(x) pt[2 * (x) + 1] 606 #define T3(x) pt[2 * (x) + 2] 607 #define T4(x) pt[2 * (x) + 3] 609 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument 619 * alternating zero-one patterns in the C and D registers after Permuted [all …]
|
/Linux-v5.10/arch/powerpc/crypto/ |
D | md5-asm.S | 65 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 69 andc rT1,d,b; /* 1: f' = ~b and d */ \ 75 addis w1,w1,k1h; /* 2: wk = w + k */ \ 77 addi w1,w1,k1l; /* 2: wk = w + k' */ \ 79 add d,d,w1; /* 2: a = a + wk */ \ 81 and rT0,a,b; /* 2: f = b and c */ \ 82 andc rT1,c,a; /* 2: f' = ~b and d */ \ 83 or rT0,rT0,rT1; /* 2: f = f or f' */ \ 84 add d,d,rT0; /* 2: a = a + f */ \ 86 rotrwi d,d,q; /* 2: a = a rotl x */ \ [all …]
|
D | sha1-spe-asm.S | 106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 110 andc rT1,d,b; /* 1: F" = ~B and D */ \ 114 rotrwi b,b,2; /* 1: B = B rotl 30 */ \ 116 LOAD_DATA(w1, off+4) /* 2: W */ \ 118 and rT1,a,b; /* 2: F' = B and C */ \ 120 andc rT2,c,a; /* 2: F" = ~B and D */ \ 121 add d,d,rK; /* 2: E = E + K */ \ 122 or rT2,rT2,rT1; /* 2: F = F' or F" */ \ 123 rotrwi rT0,e,27; /* 2: A' = A rotl 5 */ \ 124 add d,d,w1; /* 2: E = E + W */ \ [all …]
|
/Linux-v5.10/drivers/video/fbdev/ |
D | c2p_core.h | 22 static inline void _transp(u32 d[], unsigned int i1, unsigned int i2, in _transp() argument 25 u32 t = (d[i1] ^ (d[i2] >> shift)) & mask; in _transp() 27 d[i1] ^= t; in _transp() 28 d[i2] ^= t << shift; in _transp() 38 case 2: in get_mask() 60 static __always_inline void transp8(u32 d[], unsigned int n, unsigned int m) in transp8() argument 67 _transp(d, 0, 1, n, mask); in transp8() 69 _transp(d, 2, 3, n, mask); in transp8() 71 _transp(d, 4, 5, n, mask); in transp8() 73 _transp(d, 6, 7, n, mask); in transp8() [all …]
|
D | c2p_iplan2.c | 24 * - permutated planar data (2 planes per 32-bit word) on output 27 static void c2p_16x8(u32 d[4]) in c2p_16x8() 29 transp4(d, 8, 2); in c2p_16x8() 30 transp4(d, 1, 2); in c2p_16x8() 31 transp4x(d, 16, 2); in c2p_16x8() 32 transp4x(d, 2, 2); in c2p_16x8() 33 transp4(d, 4, 1); in c2p_16x8() 41 static const int perm_c2p_16x8[4] = { 1, 3, 0, 2 }; 48 static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) in store_iplan2() 52 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2() [all …]
|
D | atafb_utils.h | 55 " lsr.l #1,%1 ; jcc 1f ; move.b %2,-(%0)\n" in fb_memclear_small() 56 "1: lsr.l #1,%1 ; jcc 1f ; move.w %2,-(%0)\n" in fb_memclear_small() 57 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0)\n" in fb_memclear_small() 58 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0) ; move.l %2,-(%0)\n" in fb_memclear_small() 60 : "=a" (s), "=d" (count) in fb_memclear_small() 61 : "d" (0), "0" ((char *)s + count), "1" (count)); in fb_memclear_small() 65 " move.l %2,%%d4; move.l %2,%%d5; move.l %2,%%d6\n" in fb_memclear_small() 66 "2: movem.l %2/%%d4/%%d5/%%d6,-(%0)\n" in fb_memclear_small() 67 " dbra %1,2b\n" in fb_memclear_small() 69 : "=a" (s), "=d" (count) in fb_memclear_small() [all …]
|
/Linux-v5.10/arch/s390/include/asm/ |
D | kvm_para.h | 30 register long __rc asm("2"); in __kvm_hypercall0() 32 asm volatile ("diag 2,4,0x500\n" in __kvm_hypercall0() 33 : "=d" (__rc) : "d" (__nr): "memory", "cc"); in __kvm_hypercall0() 46 register unsigned long __p1 asm("2") = p1; in __kvm_hypercall1() 47 register long __rc asm("2"); in __kvm_hypercall1() 49 asm volatile ("diag 2,4,0x500\n" in __kvm_hypercall1() 50 : "=d" (__rc) : "d" (__nr), "0" (__p1) : "memory", "cc"); in __kvm_hypercall1() 64 register unsigned long __p1 asm("2") = p1; in __kvm_hypercall2() 66 register long __rc asm("2"); in __kvm_hypercall2() 68 asm volatile ("diag 2,4,0x500\n" in __kvm_hypercall2() [all …]
|
/Linux-v5.10/drivers/media/usb/dvb-usb/ |
D | dw2102.c | 79 MODULE_PARM_DESC(debug, "set debugging level (1=info 2=xfer 4=rc(or-able))." 85 MODULE_PARM_DESC(demod, "demod to probe (1=cx24116 2=stv0903+stv6110 4=stv0903+stb6100(or-able))."); 119 struct dvb_usb_device *d = i2c_get_adapdata(adap); in dw2102_i2c_transfer() local 124 if (!d) in dw2102_i2c_transfer() 126 if (mutex_lock_interruptible(&d->i2c_mutex) < 0) in dw2102_i2c_transfer() 130 case 2: in dw2102_i2c_transfer() 134 dw210x_op_rw(d->udev, 0xb5, value + i, 0, in dw2102_i2c_transfer() 135 buf6, 2, DW210X_READ_MSG); in dw2102_i2c_transfer() 145 buf6[2] = msg[0].buf[1]; in dw2102_i2c_transfer() 146 dw210x_op_rw(d->udev, 0xb2, 0, 0, in dw2102_i2c_transfer() [all …]
|
D | af9005-fe.c | 18 struct dvb_usb_device *d; member 49 static int af9005_write_word_agc(struct dvb_usb_device *d, u16 reghi, in af9005_write_word_agc() argument 54 if ((ret = af9005_write_ofdm_register(d, reglo, (u8) (value & 0xff)))) in af9005_write_word_agc() 56 return af9005_write_register_bits(d, reghi, pos, len, in af9005_write_word_agc() 60 static int af9005_read_word_agc(struct dvb_usb_device *d, u16 reghi, in af9005_read_word_agc() argument 66 if ((ret = af9005_read_ofdm_register(d, reglo, &temp0))) in af9005_read_word_agc() 68 if ((ret = af9005_read_ofdm_register(d, reghi, &temp1))) in af9005_read_word_agc() 74 case 2: in af9005_read_word_agc() 81 *value = ((u16) (temp1 & 0xC0) << 2) + (u16) temp0; in af9005_read_word_agc() 99 ret = af9005_read_register_bits(state->d, xd_p_fec_vtb_rsd_mon_en, in af9005_is_fecmon_available() [all …]
|
/Linux-v5.10/arch/sparc/crypto/ |
D | opcodes.h | 19 .word (F3F(2,0x36,0x147)|RS1(a)|RS2(b)|RD(c)); 30 #define AES_EROUND01(a,b,c,d) \ argument 31 .word (F3F(2, 0x19, 0)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 32 #define AES_EROUND23(a,b,c,d) \ argument 33 .word (F3F(2, 0x19, 1)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 34 #define AES_DROUND01(a,b,c,d) \ argument 35 .word (F3F(2, 0x19, 2)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 36 #define AES_DROUND23(a,b,c,d) \ argument 37 .word (F3F(2, 0x19, 3)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 38 #define AES_EROUND01_L(a,b,c,d) \ argument [all …]
|
/Linux-v5.10/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-vsx.h | 18 if (vsx[i] != load[2 * i + 1]) { in validate_vsx() 19 printf("vsx[%d]: %lx load[%d] %lx\n", in validate_vsx() 20 i, vsx[i], 2 * i + 1, load[2 * i + 1]); in validate_vsx() 28 * unsigned long vmx[32][2] 31 int validate_vmx(unsigned long vmx[][2], unsigned long *load) in validate_vmx() argument 37 if ((vmx[i][0] != load[64 + 2 * i]) || in validate_vmx() 38 (vmx[i][1] != load[65 + 2 * i])) { in validate_vmx() 39 printf("vmx[%d][0]: %lx load[%d] %lx\n", in validate_vmx() 40 i, vmx[i][0], 64 + 2 * i, in validate_vmx() 41 load[64 + 2 * i]); in validate_vmx() [all …]
|
/Linux-v5.10/tools/perf/arch/x86/tests/ |
D | intel-pt-pkt-decoder-test.c | 36 {8, {0x02, 0xa3, 2}, 0, {INTEL_PT_TNT, 1, 0xa302ULL << 47}, 0, 0 }, 42 {3, {0x2d, 1, 2}, 0, {INTEL_PT_TIP, 1, 0x201}, 0, 0 }, 43 {5, {0x4d, 1, 2, 3, 4}, 0, {INTEL_PT_TIP, 2, 0x4030201}, 0, 0 }, 44 {7, {0x6d, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP, 3, 0x60504030201}, 0, 0 }, 45 {7, {0x8d, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP, 4, 0x60504030201}, 0, 0 }, 46 {9, {0xcd, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_TIP, 6, 0x807060504030201}, 0, 0 }, 49 {3, {0x31, 1, 2}, 0, {INTEL_PT_TIP_PGE, 1, 0x201}, 0, 0 }, 50 {5, {0x51, 1, 2, 3, 4}, 0, {INTEL_PT_TIP_PGE, 2, 0x4030201}, 0, 0 }, 51 {7, {0x71, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP_PGE, 3, 0x60504030201}, 0, 0 }, 52 {7, {0x91, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP_PGE, 4, 0x60504030201}, 0, 0 }, [all …]
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | fcnal-test.sh | 9 # 2. client, server, no-server 26 # 172.16.2.1/32, 2001:db8:2::1/128 31 # eth1: 172.16.1.2/24, 2001:db8:1::2/64 33 # 172.16.2.2/32, 2001:db8:2::2/128 57 NSB_IP6=2001:db8:1::2 63 NSA_LO_IP6=2001:db8:2::1 64 NSB_LO_IP6=2001:db8:2::2 82 which ping6 > /dev/null 2>&1 && ping6=$(which ping6) || ping6=$(which ping) 90 local expected=$2 122 local rc=$2 [all …]
|
/Linux-v5.10/sound/usb/ |
D | validate.c | 28 const struct uac1_ac_header_descriptor *d = p; in validate_uac1_header() local 30 return d->bLength >= sizeof(*d) && in validate_uac1_header() 31 d->bLength >= sizeof(*d) + d->bInCollection; in validate_uac1_header() 38 const struct uac_mixer_unit_descriptor *d = p; in validate_mixer_unit() local 41 if (d->bLength < sizeof(*d) || !d->bNrInPins) in validate_mixer_unit() 43 len = sizeof(*d) + d->bNrInPins; in validate_mixer_unit() 51 len += 2 + 1; /* wChannelConfig, iChannelNames */ in validate_mixer_unit() 61 len += 2; /* wClusterDescrID */ in validate_mixer_unit() 65 return d->bLength >= len; in validate_mixer_unit() 72 const struct uac_processing_unit_descriptor *d = p; in validate_processing_unit() local [all …]
|