| /kernel/linux/linux-4.19/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 | ghash-ce-core.S | 7 * under the terms of the GNU General Public License version 2 as published 66 pmull \rd\().1q, \rn\().1d, \rm\().1d 70 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 75 ext t5.8b, \ad\().8b, \ad\().8b, #2 // A2 98 __pmull_p8_tail \rq, \ad\().16b, SHASH.16b, 16b, 2, sh1, sh2, sh3, sh4 109 pmull\t \rq\().8h, \ad, \bd // D = A*B 115 uzp1 t4.2d, t3.2d, t5.2d 116 uzp2 t3.2d, t3.2d, t5.2d 117 uzp1 t6.2d, t7.2d, t9.2d 118 uzp2 t7.2d, t7.2d, t9.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 | crc32-ce-core.S | 7 * it under the terms of the GNU General Public License version 2 as 16 * it under the terms of the GNU General Public License version 2 only, 22 * General Public License version 2 for more details (a copy is included 26 * version 2 along with this program; If not, see http://www.gnu.org/licenses 40 * PCLMULQDQ is a new instruction in Intel SSE4.2, the reference can be found 44 * Volume 2B: Instruction Set Reference, N-Z 148 pmull2 v5.1q, v1.2d, vCONSTANT.2d 149 pmull2 v6.1q, v2.2d, vCONSTANT.2d 150 pmull2 v7.1q, v3.2d, vCONSTANT.2d 151 pmull2 v8.1q, v4.2d, vCONSTANT.2d [all …]
|
| /kernel/linux/linux-5.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 46 ld1 { v0.1d- v3.1d}, [x0] 47 ld1 { v4.1d- v7.1d}, [x8], #32 48 ld1 { v8.1d-v11.1d}, [x8], #32 49 ld1 {v12.1d-v15.1d}, [x8], #32 50 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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/shaders/clear_kernel/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-4.19/arch/x86/crypto/ |
| D | des3_ede-asm_64.S | 8 * the Free Software Foundation; either version 2 of the License, or 89 movl val##d, RT0d; \ 99 orl RT0d, val##d; 102 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \ 103 do_permutation(left##d, right##d, 16, 0x0000ffff); \ 104 do_permutation(right##d, left##d, 2, 0x33333333); \ 105 do_permutation(right##d, left##d, 8, 0x00ff00ff); \ 107 movl left##d, RW0d; \ 108 roll $1, right##d; \ 109 xorl right##d, RW0d; \ [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/drivers/video/fbdev/ |
| D | c2p_core.h | 20 static inline void _transp(u32 d[], unsigned int i1, unsigned int i2, in _transp() argument 23 u32 t = (d[i1] ^ (d[i2] >> shift)) & mask; in _transp() 25 d[i1] ^= t; in _transp() 26 d[i2] ^= t << shift; in _transp() 38 case 2: in get_mask() 60 static 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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/crypto/ |
| D | des_generic.c | 10 * the Free Software Foundation; either version 2 of the License, or 590 #define ROUND(L, R, A, B, K, d) \ argument 591 B = K[0]; A = K[1]; K += d; \ 604 * PC2 lookup tables are organized as 2 consecutive sets of 4 interleaved 608 * After PC1 each of the variables a,b,c,d contains a 7 bit subset of C_i 612 #define T1(x) pt[2 * (x) + 0] 613 #define T2(x) pt[2 * (x) + 1] 614 #define T3(x) pt[2 * (x) + 2] 615 #define T4(x) pt[2 * (x) + 3] 617 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/dvb-usb/ |
| D | dw2102.c | 12 * Free Software Foundation, version 2. 82 MODULE_PARM_DESC(debug, "set debugging level (1=info 2=xfer 4=rc(or-able))." 88 MODULE_PARM_DESC(demod, "demod to probe (1=cx24116 2=stv0903+stv6110 4=stv0903+stb6100(or-able))."); 122 struct dvb_usb_device *d = i2c_get_adapdata(adap); in dw2102_i2c_transfer() local 127 if (!d) in dw2102_i2c_transfer() 129 if (mutex_lock_interruptible(&d->i2c_mutex) < 0) in dw2102_i2c_transfer() 133 case 2: in dw2102_i2c_transfer() 137 dw210x_op_rw(d->udev, 0xb5, value + i, 0, in dw2102_i2c_transfer() 138 buf6, 2, DW210X_READ_MSG); in dw2102_i2c_transfer() 148 buf6[2] = msg[0].buf[1]; in dw2102_i2c_transfer() [all …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/arch/powerpc/crypto/ |
| D | md5-asm.S | 8 * Software Foundation; either version 2 of the License, or (at your option) 70 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 74 andc rT1,d,b; /* 1: f' = ~b and d */ \ 80 addis w1,w1,k1h; /* 2: wk = w + k */ \ 82 addi w1,w1,k1l; /* 2: wk = w + k' */ \ 84 add d,d,w1; /* 2: a = a + wk */ \ 86 and rT0,a,b; /* 2: f = b and c */ \ 87 andc rT1,c,a; /* 2: f' = ~b and d */ \ 88 or rT0,rT0,rT1; /* 2: f = f or f' */ \ 89 add d,d,rT0; /* 2: a = a + f */ \ [all …]
|