| /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/lib/crypto/arm64/ |
| H A D | sha3-ce-core.S | 3 * 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 50 ld1 { v0.1d- v3.1d}, [x0] 51 ld1 { v4.1d- v7.1d}, [x8], #32 52 ld1 { v8.1d-v11.1d}, [x8], #32 53 ld1 {v12.1d-v15.1d}, [x8], #32 54 ld1 {v16.1d-v19.1d}, [x8], #32 [all …]
|
| H A D | sha512-ce-core.S | 8 * it under the terms of the GNU General Public License version 2 as 21 * of the SHA-2 family of algorithms, and also the Arm Architecture 76 ld1 {v\rc1\().2d}, [x4], #16 78 add v5.2d, v\rc0\().2d, v\in0\().2d 82 add v\i3\().2d, v\i3\().2d, v5.2d 85 sha512su0 v\in0\().2d, v\in1\().2d 87 sha512h q\i3, q6, v7.2d 89 sha512su1 v\in0\().2d, v\in2\().2d, v5.2d 91 add v\i4\().2d, v\i1\().2d, v\i3\().2d 92 sha512h2 q\i3, q\i1, v\i0\().2d [all …]
|
| /linux/arch/arm64/crypto/ |
| 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 | 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 …]
|
| /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/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 …]
|
| H A D | nh-avx2-x86_64.S | 108 // 2 or 3 strides remain; do 2 more. 121 // don't affect the result when processing them like 2 strides. 132 // PASS0_SUMS is (0A 0B 0C 0D) 133 // PASS1_SUMS is (1A 1B 1C 1D) 134 // PASS2_SUMS is (2A 2B 2C 2D) 135 // PASS3_SUMS is (3A 3B 3C 3D) 137 // (0A + 0B + 0C + 0D, 138 // 1A + 1B + 1C + 1D, 139 // 2A + 2B + 2C + 2D, 140 // 3A + 3B + 3C + 3D) [all …]
|
| /linux/lib/crypto/powerpc/ |
| 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 | 581 #define ROUND(L, R, A, B, K, d) \ argument 582 B = K[0]; A = K[1]; K += d; \ 595 * PC2 lookup tables are organized as 2 consecutive sets of 4 interleaved 599 * After PC1 each of the variables a,b,c,d contains a 7 bit subset of C_i 603 #define T1(x) pt[2 * (x) + 0] 604 #define T2(x) pt[2 * (x) + 1] 605 #define T3(x) pt[2 * (x) + 2] 606 #define T4(x) pt[2 * (x) + 3] 608 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument 618 * alternating zero-one patterns in the C and D registers after Permuted [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 …]
|
| /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/media/usb/dvb-usb/ |
| 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/Documentation/staging/ |
| H A D | lzo.rst | 51 length += constant (generally 2 or 3) 59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals 134 2-byte block from the dictionary within a 1kB distance. It is worth 135 noting that this instruction provides little savings since it uses 2 136 bytes to encode a copy of 2 other bytes but it encodes the number of 139 0 0 0 0 D D S S (0..15) : copy 2 bytes from <= 1kB distance 140 length = 2 143 distance = (H << 2) + D + 1 147 dictionary from a 2..3kB distance, and must be interpreted like this : 149 0 0 0 0 D D S S (0..15) : copy 3 bytes from 2..3 kB distance [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-picolcd_debugfs.c | 88 raw_data[2] = s < 20 ? s : 20; in picolcd_debug_eeprom_read() 89 if (*off + raw_data[2] > 0xff) in picolcd_debug_eeprom_read() 90 raw_data[2] = 0x100 - *off; in picolcd_debug_eeprom_read() 98 ret = resp->raw_data[2]; in picolcd_debug_eeprom_read() 127 raw_data[2] = min_t(size_t, 20, s); in picolcd_debug_eeprom_write() 128 if (*off + raw_data[2] > 0xff) in picolcd_debug_eeprom_write() 129 raw_data[2] = 0x100 - *off; in picolcd_debug_eeprom_write() 131 if (copy_from_user(raw_data+3, u, min((u8)20, raw_data[2]))) in picolcd_debug_eeprom_write() 141 if (memcmp(raw_data, resp->raw_data, 3+raw_data[2]) == 0) { in picolcd_debug_eeprom_write() 142 *off += raw_data[2]; in picolcd_debug_eeprom_write() [all …]
|
| /linux/arch/powerpc/crypto/ |
| H A D | aes-tab-4k.S | 25 #define R(a, b, c, d) \ argument 26 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a 34 .long R(ee, 77, 77, 99), R(f6, 7b, 7b, 8d) 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) 38 .long R(ce, 67, 67, a9), R(56, 2b, 2b, 7d) 40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) 41 .long R(8f, ca, ca, 45), R(1f, 82, 82, 9d) 42 .long R(89, c9, c9, 40), R(fa, 7d, 7d, 87) 50 .long R(3d, 93, 93, ae), R(4c, 26, 26, 6a) 56 .long R(62, 31, 31, 53), R(2a, 15, 15, 3f) [all …]
|
| /linux/drivers/media/usb/pwc/ |
| H A D | pwc-dec23.c | 3 Decompression for chipset version 2 et 3 127 p0[k + 0x10] = (2 * pw) + 0x80; in build_table_color() 131 p0[k + 0x50] = (-2 * pw) + 0x80; in build_table_color() 161 * if look_bits(2) == 0: # op == 2 in the lookup table 162 * skip_bits(2) 181 * op == 2 when (i%4)==0 258 {0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3,}, 259 {0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3,}, 263 {1, 3, 0, 2, 1, 3, 0, 2, 1, 3, 0, 2, 1, 3, 0, 2,}, 264 {0, 3, 3, 0, 1, 2, 2, 1, 2, 1, 1, 2, 3, 0, 0, 3,}, [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | lbt.S | 28 stptr.d t1, a0, THREAD_SCR0 30 stptr.d t1, a0, THREAD_SCR1 32 stptr.d t1, a0, THREAD_SCR2 34 stptr.d t1, a0, THREAD_SCR3 37 stptr.d t1, a0, THREAD_EFLAGS 46 ldptr.d t1, a0, THREAD_SCR0 # restore scr 48 ldptr.d t1, a0, THREAD_SCR1 50 ldptr.d t1, a0, THREAD_SCR2 52 ldptr.d t1, a0, THREAD_SCR3 55 ldptr.d t1, a0, THREAD_EFLAGS # restore eflags [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | core_mcpcia.c | 53 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 54 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 56 * | | |D|D|D|D|D|D|D|D|D|D|D|D|D|D|D|D|D|D|D|D|D|F|F|F|R|R|R|R|R|R|0|0| 61 * 7:2 Register number 65 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 66 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 68 * | | | | | | | | | | |B|B|B|B|B|B|B|B|D|D|D|D|D|F|F|F|R|R|R|R|R|R|0|1| 75 * 7:2 register number 82 * doesn't get shifted by 2 bits as we want to "drop" the bottom two 98 DBG_CFG(("conf_read(addr=0x%lx, type1=%d, hose=%d)\n", in conf_read() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | fdarray.c | 44 pr_debug("\nfdarray__filter()=%d != %d shouldn't have filtered anything", in test__fdarray__filter() 52 pr_debug("\nfdarray__filter()=%d != %d, should have filtered all fds", in test__fdarray__filter() 58 fda->entries[2].revents = POLLIN; in test__fdarray__filter() 60 pr_debug("\nfiltering all but fda->entries[2]:"); in test__fdarray__filter() 65 pr_debug("\nfdarray__filter()=%d != 1, should have left just one event", nr_fds); in test__fdarray__filter() 77 if (nr_fds != 2) { in test__fdarray__filter() 78 pr_debug("\nfdarray__filter()=%d != 2, should have left just two events", in test__fdarray__filter() 95 struct fdarray *fda = fdarray__new(2, 2); in test__fdarray__add() 104 pr_debug("\n%d: fda->entries[%d](%d) != %d!", \ in test__fdarray__add() 109 pr_debug("\n%d: fda->entries[%d].revents(%d) != %d!", \ in test__fdarray__add() [all …]
|