/openbmc/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 …]
|
/openbmc/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 | 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-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 | 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 …]
|
/openbmc/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. 303 return "user-def-8-type-2"; in debug_stream_format2str() 395 ia_css_debug_dtrace(2, "%s state:\n", cell); in debug_print_sp_state() 396 ia_css_debug_dtrace(2, "\t%-32s: 0x%X\n", "PC", state->pc); in debug_print_sp_state() 397 ia_css_debug_dtrace(2, "\t%-32s: 0x%X\n", "Status register", in debug_print_sp_state() 399 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "Is broken", state->is_broken); in debug_print_sp_state() 400 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "Is idle", state->is_idle); in debug_print_sp_state() 401 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "Is sleeping", in debug_print_sp_state() 403 ia_css_debug_dtrace(2, "\t%-32s: %d\n", "Is stalling", in debug_print_sp_state() 413 ia_css_debug_dtrace(2, "%s state:\n", cell); in debug_print_isp_state() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | crypto_helper.c | 24 uint64_t l[2]; 29 #define CR_ST_WORD(state, i) ((state).words[(3 - (i)) ^ 2]) 66 t.d[0] = st->d[1] ^ rk->d[1]; in HELPER() 67 t.d[1] = st->d[0] ^ rk->d[0]; in HELPER() 69 ad->d[0] = t.d[1]; in HELPER() 70 ad->d[1] = t.d[0]; in HELPER() 91 t.d[0] = st->d[1] ^ rk->d[1]; in HELPER() 92 t.d[1] = st->d[0] ^ rk->d[0]; in HELPER() 94 ad->d[0] = t.d[1]; in HELPER() 95 ad->d[1] = t.d[0]; in HELPER() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/tcltk/tk8/ |
H A D | confsearch.diff | 13 unix/tcl.m4 | 2 ++ 14 2 files changed, 3 insertions(+) 20 @@ -1431,6 +1431,7 @@ echo "$as_me: error: ${with_tclconfig} d 21 `ls -d /usr/local/lib 2>/dev/null` \ 22 `ls -d /usr/contrib/lib 2>/dev/null` \ 23 `ls -d /usr/pkg/lib 2>/dev/null` \ 24 + `ls -d /usr/share/tcltk/tcl8.6 2>/dev/null` \ 25 `ls -d /usr/lib/tcl8.6 2>/dev/null` \ 26 `ls -d /usr/lib 2>/dev/null` \ 27 `ls -d /usr/lib64 2>/dev/null` \ [all …]
|
/openbmc/qemu/target/i386/ |
H A D | ops_sse.h | 48 #define PACK_WIDTH (LANE_WIDTH / 2) 57 void glue(helper_psrlw, SUFFIX)(CPUX86State *env, Reg *d, Reg *s, Reg *c) in glue() 62 d->Q(i) = 0; in glue() 67 d->W(i) = FPSRL(s->W(i), shift); in glue() 72 void glue(helper_psllw, SUFFIX)(CPUX86State *env, Reg *d, Reg *s, Reg *c) in glue() 77 d->Q(i) = 0; in glue() 82 d->W(i) = FPSLL(s->W(i), shift); in glue() 87 void glue(helper_psraw, SUFFIX)(CPUX86State *env, Reg *d, Reg *s, Reg *c) in glue() 96 d->W(i) = FPSRAW(s->W(i), shift); in glue() 100 void glue(helper_psrld, SUFFIX)(CPUX86State *env, Reg *d, Reg *s, Reg *c) in glue() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/shaders/clear_kernel/ |
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 …]
|
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 …]
|
/openbmc/qemu/hw/display/ |
H A D | vga-helpers.h | 25 static inline void vga_draw_glyph_line(uint8_t *d, uint32_t font_data, in vga_draw_glyph_line() argument 28 ((uint32_t *)d)[0] = (-((font_data >> 7)) & xorcol) ^ bgcol; in vga_draw_glyph_line() 29 ((uint32_t *)d)[1] = (-((font_data >> 6) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 30 ((uint32_t *)d)[2] = (-((font_data >> 5) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 31 ((uint32_t *)d)[3] = (-((font_data >> 4) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 32 ((uint32_t *)d)[4] = (-((font_data >> 3) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 33 ((uint32_t *)d)[5] = (-((font_data >> 2) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 34 ((uint32_t *)d)[6] = (-((font_data >> 1) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 35 ((uint32_t *)d)[7] = (-((font_data >> 0) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 38 static void vga_draw_glyph8(uint8_t *d, int linesize, in vga_draw_glyph8() argument [all …]
|
/openbmc/qemu/disas/ |
H A D | sparc.c | 17 the Free Software Foundation; either version 2, or (at your option) 97 #define F_ALIAS 2 /* Alias for a "real" instruction. */ 117 2 rs2 register. 118 d rd register. 130 D crsd coprocessor register 142 k 2+14 bit PC relative immediate. (v9) 192 #define F2(x, y) (OP (x) | OP2(y)) /* Format 2 insns. */ 236 Software Foundation; either version 2, or (at your option) any later 357 { opcode, F3(2, op3, 0), F3(~2, ~op3, ~0)|ASI(~0), "1,2,d", 0, arch_mask }, \ 358 { opcode, F3(2, op3, 1), F3(~2, ~op3, ~1), "1,i,d", 0, arch_mask }, \ [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 | 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A 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() 138 dw210x_op_rw(d->udev, 0xb5, value + i, 0, in dw2102_i2c_transfer() 139 buf6, 2, DW210X_READ_MSG); in dw2102_i2c_transfer() 146 if (msg[0].len < 2) { in dw2102_i2c_transfer() 153 buf6[2] = msg[0].buf[1]; in dw2102_i2c_transfer() [all …]
|
/openbmc/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 …]
|