/linux/drivers/pinctrl/sunplus/ |
H A D | sppctl_sp7021.c | 14 #define D(x, y) ((x) * 8 + (y)) macro 15 #define P(x, y) PINCTRL_PIN(D(x, y), D_PIS(x, y)) 18 D_PIS(0, 0), D_PIS(0, 1), D_PIS(0, 2), D_PIS(0, 3), 20 D_PIS(1, 0), D_PIS(1, 1), D_PIS(1, 2), D_PIS(1, 3), 22 D_PIS(2, 0), D_PIS(2, 1), D_PIS(2, 2), D_PIS(2, 3), 23 D_PIS(2, 4), D_PIS(2, 5), D_PIS(2, 6), D_PIS(2, 7), 24 D_PIS(3, 0), D_PIS(3, 1), D_PIS(3, 2), D_PIS(3, 3), 26 D_PIS(4, 0), D_PIS(4, 1), D_PIS(4, 2), D_PIS(4, 3), 28 D_PIS(5, 0), D_PIS(5, 1), D_PIS(5, 2), D_PIS(5, 3), 30 D_PIS(6, 0), D_PIS(6, 1), D_PIS(6, 2), D_PIS(6, 3), [all …]
|
/linux/arch/arm64/crypto/ |
H A 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 …]
|
H A D | ghash-ce-core.S | 64 pmull \rd\().1q, \rn\().1d, \rm\().1d 68 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 73 ext t5.8b, \ad\().8b, \ad\().8b, #2 // A2 96 __pmull_p8_tail \rq, \ad\().16b, SHASH.16b, 16b, 2, sh1, sh2, sh3, sh4 107 pmull\t \rq\().8h, \ad, \bd // D = A*B 113 uzp1 t4.2d, t3.2d, t5.2d 114 uzp2 t3.2d, t3.2d, t5.2d 115 uzp1 t6.2d, t7.2d, t9.2d 116 uzp2 t7.2d, t7.2d, t9.2d 131 zip2 t5.2d, t4.2d, t3.2d [all …]
|
H A 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 …]
|
H A D | sm4-neon-core.S | 45 zip1 s0.2d, RTMP0.2d, RTMP1.2d; \ 46 zip2 s1.2d, RTMP0.2d, RTMP1.2d; \ 47 zip1 s2.2d, RTMP2.2d, RTMP3.2d; \ 48 zip2 s3.2d, RTMP2.2d, RTMP3.2d; 59 zip1 s0.2d, RTMP0.2d, RTMP1.2d; \ 60 zip2 s1.2d, RTMP0.2d, RTMP1.2d; \ 61 zip1 s2.2d, RTMP2.2d, RTMP3.2d; \ 62 zip2 s3.2d, RTMP2.2d, RTMP3.2d; \ 63 zip1 s4.2d, RTMP4.2d, RTMP5.2d; \ 64 zip2 s5.2d, RTMP4.2d, RTMP5.2d; \ [all …]
|
H A D | nh-neon-core.S | 50 mov T4.d[0], T0.d[1] 51 mov T5.d[0], T1.d[1] 52 mov T6.d[0], T2.d[1] 53 mov T7.d[0], T3.d[1] 54 umlal PASS0_SUMS.2d, T0.2s, T4.2s 55 umlal PASS1_SUMS.2d, T1.2s, T5.2s 56 umlal PASS2_SUMS.2d, T2.2s, T6.2s 57 umlal PASS3_SUMS.2d, T3.2s, T7.2s 69 movi PASS0_SUMS.2d, #0 70 movi PASS1_SUMS.2d, #0 [all …]
|
H A D | sm4-ce-gcm-core.S | 18 .irp b, 0, 1, 2, 3, 24, 25, 26, 27, 28, 29, 30, 31 41 pmull r0.1q, m0.1d, m1.1d; \ 42 pmull T1.1q, m0.1d, T0.1d; \ 43 pmull2 T0.1q, m0.2d, T0.2d; \ 44 pmull2 r1.1q, m0.2d, m1.2d; \ 59 pmull r0.1q, m0.1d, m1.1d; \ 60 pmull r2.1q, m2.1d, m3.1d; \ 61 pmull r4.1q, m4.1d, m5.1d; \ 62 pmull r6.1q, m6.1d, m7.1d; \ 63 pmull T1.1q, m0.1d, T0.1d; \ [all …]
|
H A 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/drivers/gpu/drm/imagination/ |
H A D | pvr_rogue_fwif_sf.h | 80 "Kick 3D: FWCtx 0x%08.8x @ %d, RTD 0x%08x. Partial render:%d, CSW resume:%d, prio:%d" }, 81 { ROGUE_FW_LOG_CREATESFID(2, ROGUE_FW_GROUP_MAIN, 2), 82 "3D finished, HWRTData0State=%x, HWRTData1State=%x" }, 84 "Kick 3D TQ: FWCtx 0x%08.8x @ %d, CSW resume:%d, prio: %d" }, 86 "3D Transfer finished" }, 88 "Kick Compute: FWCtx 0x%08.8x @ %d, prio: %d" }, 92 … "Kick TA: FWCtx 0x%08.8x @ %d, RTD 0x%08x. First kick:%d, Last kick:%d, CSW resume:%d, prio:%d" }, 99 { ROGUE_FW_LOG_CREATESFID(11, ROGUE_FW_GROUP_MAIN, 2), 102 "Kick TLA: FWCtx 0x%08.8x @ %d, prio:%d" }, 106 "cCCB Woff update = %d, DM = %d, FWCtx = 0x%08.8x" }, [all …]
|
/linux/include/math-emu/ |
H A 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/drivers/gpu/drm/i915/gt/shaders/clear_kernel/ |
H A 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 …]
|
H A 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/arch/x86/crypto/ |
H A 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/arch/powerpc/crypto/ |
H A D | md5-asm.S | 61 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 65 andc rT1,d,b; /* 1: f' = ~b and d */ \ 71 addis w1,w1,k1h; /* 2: wk = w + k */ \ 73 addi w1,w1,k1l; /* 2: wk = w + k' */ \ 75 add d,d,w1; /* 2: a = a + wk */ \ 77 and rT0,a,b; /* 2: f = b and c */ \ 78 andc rT1,c,a; /* 2: f' = ~b and d */ \ 79 or rT0,rT0,rT1; /* 2: f = f or f' */ \ 80 add d,d,rT0; /* 2: a = a + f */ \ 82 rotrwi d,d,q; /* 2: a = a rotl x */ \ [all …]
|
H A 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/lib/crypto/ |
H A 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/drivers/media/usb/dvb-usb/ |
H A D | dw2102.c | 78 MODULE_PARM_DESC(debug, "set debugging level (1=info 2=xfer 4=rc(or-able))." 84 MODULE_PARM_DESC(demod, "demod to probe (1=cx24116 2=stv0903+stv6110 4=stv0903+stb6100(or-able))."); 117 struct dvb_usb_device *d = i2c_get_adapdata(adap); in dw2102_i2c_transfer() local 122 if (!d) in dw2102_i2c_transfer() 124 if (mutex_lock_interruptible(&d->i2c_mutex) < 0) in dw2102_i2c_transfer() 128 case 2: in dw2102_i2c_transfer() 136 dw210x_op_rw(d->udev, 0xb5, value + i, 0, in dw2102_i2c_transfer() 137 buf6, 2, DW210X_READ_MSG); in dw2102_i2c_transfer() 144 if (msg[0].len < 2) { in dw2102_i2c_transfer() 151 buf6[2] = msg[0].buf[1]; in dw2102_i2c_transfer() [all …]
|
H A 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/drivers/video/fbdev/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/linux/arch/sparc/crypto/ |
H A 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/tools/testing/selftests/powerpc/ptrace/ |
H A 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/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
H A D | ia_css_debug.c | 8 * version 2, as published by the Free Software Foundation. 225 return "user-def-8-type-2"; in debug_stream_format2str() 318 ia_css_debug_dtrace(2, "FIFO channel: %s\n", descr); in debug_print_fifo_channel_state() 319 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "source valid", in debug_print_fifo_channel_state() 321 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "fifo accept", in debug_print_fifo_channel_state() 323 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "fifo valid", in debug_print_fifo_channel_state() 325 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "sink accept", in debug_print_fifo_channel_state() 382 ia_css_debug_dtrace(2, "id = %d\n", info->sp.id); in debug_binary_info_print() 383 ia_css_debug_dtrace(2, "mode = %d\n", info->sp.pipeline.mode); in debug_binary_info_print() 384 ia_css_debug_dtrace(2, "max_input_width = %d\n", info->sp.input.max_width); in debug_binary_info_print() [all …]
|
/linux/sound/usb/ |
H A 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 …]
|