/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_regs.h | 10 1. Redistributions of source code must retain the above copyright notice, 38 #define V_CONGMODE(x) ((x) << S_CONGMODE) argument 39 #define F_CONGMODE V_CONGMODE(1U) 42 #define V_TNLFLMODE(x) ((x) << S_TNLFLMODE) argument 43 #define F_TNLFLMODE V_TNLFLMODE(1U) 46 #define V_FATLPERREN(x) ((x) << S_FATLPERREN) argument 47 #define F_FATLPERREN V_FATLPERREN(1U) 50 #define V_URGTNL(x) ((x) << S_URGTNL) argument 51 #define F_URGTNL V_URGTNL(1U) 54 #define V_NEWNOTIFY(x) ((x) << S_NEWNOTIFY) argument [all …]
|
H A D | cxgb_t3_cpl.h | 10 1. Redistributions of source code must retain the above copyright notice, 112 CPL_ERR_TCAM_PARITY = 1, 131 CPL_CONN_POLICY_ASK = 1, 138 ULP_MODE_TCP_DDP = 1, 145 ULP_CRC_HEADER = 1 << 0, 146 ULP_CRC_DATA = 1 << 1 177 RSS_HASH_2_TUPLE = 1, 188 #define V_OPCODE(x) ((x) << S_OPCODE) argument 189 #define G_OPCODE(x) (((x) >> S_OPCODE) & 0xFF) argument 190 #define G_TID(x) ((x) & 0xFFFFFF) argument [all …]
|
H A D | cxgb_sge_defs.h | 10 1. Redistributions of source code must retain the above copyright notice, 39 #define V_EC_CREDITS(x) ((x) << S_EC_CREDITS) argument 40 #define G_EC_CREDITS(x) (((x) >> S_EC_CREDITS) & M_EC_CREDITS) argument 43 #define V_EC_GTS(x) ((x) << S_EC_GTS) argument 44 #define F_EC_GTS V_EC_GTS(1U) 48 #define V_EC_INDEX(x) ((x) << S_EC_INDEX) argument 49 #define G_EC_INDEX(x) (((x) >> S_EC_INDEX) & M_EC_INDEX) argument 53 #define V_EC_SIZE(x) ((x) << S_EC_SIZE) argument 54 #define G_EC_SIZE(x) (((x) >> S_EC_SIZE) & M_EC_SIZE) argument 58 #define V_EC_BASE_LO(x) ((x) << S_EC_BASE_LO) argument [all …]
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_regs.h | 10 * 1. Redistributions of source code must retain the above copyright 114 #define NUM_PCIE_HMA_INSTANCES 1 120 #define NUM_PCIE_MAILBOX_INSTANCES 1 310 #define NUM_PCIE_T5_HMA_INSTANCES 1 391 #define NUM_PCIE_T6_CMD_INSTANCES 1 517 #define V_QID(x) ((x) << S_QID) argument 518 #define G_QID(x) (((x) >> S_QID) & M_QID) argument 521 #define V_DBPRIO(x) ((x) << S_DBPRIO) argument 522 #define F_DBPRIO V_DBPRIO(1U) 526 #define V_PIDX(x) ((x) << S_PIDX) argument [all …]
|
H A D | t4_msg.h | 10 * 1. Redistributions of source code must retain the above copyright 159 CPL_ERR_TCAM_PARITY = 1, 224 CPL_CONN_POLICY_ASK = 1, 239 ULP_CRC_HEADER = 1 << 0, 240 ULP_CRC_DATA = 1 << 1 256 TX_CSUM_UDP = 1, 270 PKTYPE_HASH_UCAST = 1, 293 RSS_HASH_IP = 1, /* IP or IPv6 2-tuple hash */ 305 LE_SZ_33 = 1, 318 #define V_CPL_OPCODE(x) ((x) << S_CPL_OPCODE) argument [all …]
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | t4_regs.h | 71 #define QID_V(x) ((x) << QID_S) argument 74 #define DBPRIO_V(x) ((x) << DBPRIO_S) argument 75 #define DBPRIO_F DBPRIO_V(1U) 78 #define PIDX_V(x) ((x) << PIDX_S) argument 83 #define DBTYPE_V(x) ((x) << DBTYPE_S) argument 84 #define DBTYPE_F DBTYPE_V(1U) 88 #define PIDX_T5_V(x) ((x) << PIDX_T5_S) argument 89 #define PIDX_T5_G(x) (((x) >> PIDX_T5_S) & PIDX_T5_M) argument 94 #define INGRESSQID_V(x) ((x) << INGRESSQID_S) argument 97 #define TIMERREG_V(x) ((x) << TIMERREG_S) argument [all …]
|
H A D | t4fw_api.h | 42 FW_EPERM = 1, /* operation not permitted */ 118 #define FW_WR_OP_V(x) ((x) << FW_WR_OP_S) argument 119 #define FW_WR_OP_G(x) (((x) >> FW_WR_OP_S) & FW_WR_OP_M) argument 123 #define FW_WR_ATOMIC_V(x) ((x) << FW_WR_ATOMIC_S) argument 129 #define FW_WR_FLUSH_V(x) ((x) << FW_WR_FLUSH_S) argument 133 #define FW_WR_COMPL_V(x) ((x) << FW_WR_COMPL_S) argument 134 #define FW_WR_COMPL_F FW_WR_COMPL_V(1U) 139 #define FW_WR_IMMDLEN_V(x) ((x) << FW_WR_IMMDLEN_S) argument 143 #define FW_WR_EQUIQ_V(x) ((x) << FW_WR_EQUIQ_S) argument 144 #define FW_WR_EQUIQ_F FW_WR_EQUIQ_V(1U) [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | bit_util.h | 44 size_t bit = ffs_lu(*bitmap) - 1; in cfs_lu() 45 *bitmap ^= ZU(1) << bit; in cfs_lu() 84 pow2_ceil_u64(uint64_t x) { in pow2_ceil_u64() argument 86 if(unlikely(x <= 1)) { in pow2_ceil_u64() 87 return x; in pow2_ceil_u64() 91 asm ("bsrq %1, %0" in pow2_ceil_u64() 93 : "r"(x-1) // Inputs. in pow2_ceil_u64() 96 msb_on_index = (63 ^ __builtin_clzll(x - 1)); in pow2_ceil_u64() 99 return 1ULL << (msb_on_index + 1); in pow2_ceil_u64() 101 x--; in pow2_ceil_u64() [all …]
|
/freebsd/contrib/netbsd-tests/bin/sh/ |
H A D | t_fsplit.sh | 9 # 1. Redistributions of source code must retain the above copyright 32 # In particular this means that in ${x-word}, 'word' must be expanded as if 33 # the "${x-" and "}" were absent from the input line. 35 # So: sh -c 'set ${x-a b c}; echo $#' should give 3. 36 # and: sh -c 'set -- ${x-}' echo $#' shold give 0 47 TEST=$((${TEST} + 1)) 54 result=$( ${TEST_SH} -c "unset x; $1" ) 64 case "$1" in 66 set -- "$(expr "$1" : '\(............\).*')..." "$2" ;; 73 atf_fail "Test ${TEST} '$1': expected [$2], found [$result]" [all …]
|
/freebsd/sys/dev/cxgbe/firmware/ |
H A D | t4fw_interface.h | 8 * 1. Redistributions of source code must retain the above copyright 37 FW_EPERM = 1, /* operation not permitted */ 167 #define V_FW_WR_OP(x) ((x) << S_FW_WR_OP) argument 168 #define G_FW_WR_OP(x) (((x) >> S_FW_WR_OP) & M_FW_WR_OP) argument 174 #define V_FW_WR_ATOMIC(x) ((x) << S_FW_WR_ATOMIC) argument 175 #define G_FW_WR_ATOMIC(x) \ argument 176 (((x) >> S_FW_WR_ATOMIC) & M_FW_WR_ATOMIC) 177 #define F_FW_WR_ATOMIC V_FW_WR_ATOMIC(1U) 184 #define V_FW_WR_FLUSH(x) ((x) << S_FW_WR_FLUSH) argument 185 #define G_FW_WR_FLUSH(x) \ argument [all …]
|
/freebsd/bin/sh/tests/builtins/ |
H A D | read1.0 | 3 echo "1 2 3" | { read a; echo "x${a}x"; } 4 echo "1 2 3" | { read a b; echo "x${a}x${b}x"; } 5 echo "1 2 3" | { read a b c; echo "x${a}x${b}x${c}x"; } 6 echo "1 2 3" | { read a b c d; echo "x${a}x${b}x${c}x${d}x"; } 8 echo " 1 2 3 " | { read a b c; echo "x${a}x${b}x${c}x"; } 9 echo " 1 2 3 " | { unset IFS; read a b c; echo "x${a}x${b}x${c}x"; } 10 echo " 1 2 3 " | { IFS=$(printf ' \t\n') read a b c; echo "x${a}x${b}x${c}x"; } 11 echo " 1 2 3 " | { IFS= read a b; echo "x${a}x${b}x"; } 13 echo " 1,2 3 " | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } 14 echo ", 2 ,3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } [all …]
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_dbg.c | 11 * 1. Redistributions of source code must retain the above copyright 61 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x 0x%08x\n", in qla_dump_buf32() 62 i, buf[0], buf[1], buf[2], buf[3]); in qla_dump_buf32() 68 case 1: in qla_dump_buf32() 69 device_printf(dev,"0x%08x: 0x%08x\n", i, buf[0]); in qla_dump_buf32() 72 device_printf(dev,"0x%08x: 0x%08x 0x%08x\n", i, buf[0], buf[1]); in qla_dump_buf32() 75 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x\n", in qla_dump_buf32() 76 i, buf[0], buf[1], buf[2]); in qla_dump_buf32() 100 device_printf(dev,"0x%08x: 0x%04x 0x%04x 0x%04x 0x%04x" in qla_dump_buf16() 101 " 0x%04x 0x%04x 0x%04x 0x%04x\n", i, buf[0], in qla_dump_buf16() [all …]
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_dbg.c | 11 * 1. Redistributions of source code must retain the above copyright 58 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x 0x%08x\n", in ql_dump_buf32() 59 i, buf[0], buf[1], buf[2], buf[3]); in ql_dump_buf32() 65 case 1: in ql_dump_buf32() 66 device_printf(dev,"0x%08x: 0x%08x\n", i, buf[0]); in ql_dump_buf32() 69 device_printf(dev,"0x%08x: 0x%08x 0x%08x\n", i, buf[0], buf[1]); in ql_dump_buf32() 72 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x\n", in ql_dump_buf32() 73 i, buf[0], buf[1], buf[2]); in ql_dump_buf32() 97 device_printf(dev,"0x%08x: 0x%04x 0x%04x 0x%04x 0x%04x" in ql_dump_buf16() 98 " 0x%04x 0x%04x 0x%04x 0x%04x\n", i, buf[0], in ql_dump_buf16() [all …]
|
/freebsd/contrib/bc/gen/ |
H A D | lib2.bc | 36 define p(x,y){ 38 if(y==0)return 1@scale 39 if(x==0){ 41 return 1/0 44 if(y==a)return(x^a)@scale 46 if(x<1){ 49 z=x 50 x=1/ [all...] |
/freebsd/sys/dev/qlxge/ |
H A D | qls_dbg.c | 11 * 1. Redistributions of source code must retain the above copyright 60 device_printf(dev,"0x%08x:\t0x%08x, 0x%08x, 0x%08x, 0x%08x,\n", in qls_dump_buf32() 61 i, buf[0], buf[1], buf[2], buf[3]); in qls_dump_buf32() 67 case 1: in qls_dump_buf32() 68 device_printf(dev,"0x%08x: 0x%08x\n", i, buf[0]); in qls_dump_buf32() 71 device_printf(dev,"0x%08x: 0x%08x 0x%08x\n", i, buf[0], buf[1]); in qls_dump_buf32() 74 device_printf(dev,"0x%08x: 0x%08x 0x%08x 0x%08x\n", in qls_dump_buf32() 75 i, buf[0], buf[1], buf[2]); in qls_dump_buf32() 102 device_printf(dev,"0x%08x: 0x%04x 0x%04x 0x%04x 0x%04x" in qls_dump_buf16() 103 " 0x%04x 0x%04x 0x%04x 0x%04x\n", i, buf[0], in qls_dump_buf16() [all …]
|
/freebsd/crypto/openssl/crypto/chacha/asm/ |
H A D | chacha-armv8.pl | 23 # Replace 3xNEON+1xIALU code path with 4+1. 4+1 is actually fastest 34 # IALU/gcc-4.9 4xNEON+1xIALU 6xNEON+2xIALU 40 # X-Gene 9.50/+46% 8.20 8.90(*) 45 # (*) slower than 4+1:-( 52 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 57 open OUT,"| \"$^X\" $xlate $flavour \"$output\"" 64 $arg = "#$arg" if ($arg*1 eq $arg); 68 my ($out,$inp,$len,$key,$ctr) = map("x$_",(0..4)); 70 my @x=map("x$_",(5..17,19..21)); 71 my @d=map("x$_",(22..28,30)); [all …]
|
H A D | chacha-ia64.pl | 21 my @x = map("r$_",(38..53)); 60 movl @k[1]=0x3320646e };; 70 mov @x[0]=@k[0] };; 73 mov @x[1]=@k[1] };; 76 mov @x[2]=@k[2] } 77 { .mmi; mov @x[3]=@k[3] 78 mov @x[4]=@k[4] 79 mov @x[5]=@k[5] };; 80 { .mmi; mov @x[6]=@k[6] 81 mov @x[7]=@k[7] [all …]
|
H A D | chacha-ppc.pl | 23 # Add VSX 2.07 code path. Original 3xAltiVec+1xIALU is well-suited for 25 # cycle. But POWER8 (and POWER9) can issue a pair, and vector-only 4x 32 # IALU/gcc-4.x 3xAltiVec+1xIALU 4xVSX 68 $LITTLE_ENDIAN = ($flavour=~/le$/) ? 1 : 0; 70 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 75 open STDOUT,"| $^X $xlate $flavour \"$output\"" 90 my @x=map("r$_",(16..31)); 96 my ($a1,$b1,$c1,$d1)=map(($_&~3)+(($_+1)&3),($a0,$b0,$c0,$d0)); 97 my ($a2,$b2,$c2,$d2)=map(($_&~3)+(($_+1)&3),($a1,$b1,$c1,$d1)); 98 my ($a3,$b3,$c3,$d3)=map(($_&~3)+(($_+1)&3),($a2,$b2,$c2,$d2)); [all …]
|
H A D | chacha-c64xplus.pl | 32 @X= ("A16","B16","A17","B17","A18","B18","A19","B19", 39 # yes, overlaps with @DAT, used only in 2x interleave code path... 74 || [A0] LDW *${KEYB}[1],@Y[5] 76 || [A0] MVK 0x0000646e,@Y[1] 80 || [A0] MVKH 0x33200000,@Y[1] 90 || LDW *${COUNTERB}[1],@Y[13] 98 DMV @Y[2],@Y[0],@X[2]:@X[0] ; copy block 99 || DMV @Y[3],@Y[1],@X[3]:@X[1] 101 ||[!A1] STDW @Y[3]:@Y[1],*SP[2] 102 DMV @Y[6],@Y[4],@X[6]:@X[4] [all …]
|
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha512-ia64.pl | 34 # operations, X[16] values are *maintained* with copies of lower 53 # (*) 2 cycles on Itanium 1 and 1 cycle on Itanium 2. But I schedule 55 # because on Itanium 1 stall on MM result is accompanied by 92 @sigma0=(1, 8, 7); 117 for (@ARGV) { $big_endian=1 if (/\-DB_ENDIAN/); 120 { $big_endian=(unpack('L',pack('N',1))==1); } 137 ctx=r31; // 1st arg 151 $ADDP ctx=0,r32 // 1st arg 161 add r9=1*$SZ,ctx } 183 cmp.eq p9,p0=1,r8 } [all …]
|
/freebsd/contrib/sendmail/contrib/ |
H A D | mmuegel | 7 X-Mailer: ELM [version 2.4 PL22] 40 # 5212 -r--r--r-- man/cqueue.1 41 # 2078 -r--r--r-- man/postclip.1 42 # 6647 -r-xr-xr-x src/cqueue 43 # 1836 -r-xr-xr-x src/postclip 46 if test -f 'README' -a X"$1" != X"-c"; then 47 echo 'x - skipping README (File already exists)' 49 echo 'x - extracting README (Text)' 50 sed 's/^X//' << 'SHAR_EOF' > 'README' && 53 X mmuegel [all …]
|
/freebsd/contrib/bc/tests/bc/ |
H A D | misc2.txt | 1 define w() { auto z; return 1; } 2 define x() { 3 "x" 4 return (1) 21 if (x() == y()) { 1 } 22 1 23 if (x() <= y()) { 2 } 24 if (y() >= x()) { 3 } 25 if (x() != y()) { 4 } 26 if (x() < y()) { 5 } [all …]
|
/freebsd/sys/arm/nvidia/drm2/ |
H A D | tegra_hdmi_reg.h | 8 * 1. Redistributions of source code must retain the above copyright 36 #define SOR_STATE0_UPDATE (1 << 0) 39 #define SOR_STATE1_ATTACHED (1 << 3) 40 #define SOR_STATE1_ASY_ORMODE_NORMAL (1 << 2) 41 #define SOR_STATE1_ASY_HEAD_OPMODE(x) (((x) & 0x3) << 0) argument 43 #define ASY_HEAD_OPMODE_SNOOZE 1 47 #define SOR_STATE2_ASY_DEPOL_NEG (1 << 14) 48 #define SOR_STATE2_ASY_VSYNCPOL_NEG (1 << 13) 49 #define SOR_STATE2_ASY_HSYNCPOL_NEG (1 << 12) 50 #define SOR_STATE2_ASY_PROTOCOL(x) (((x) & 0xf) << 8) argument [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/ |
H A D | pwhash_scryptsalsa208sha256_nosse.c | 9 * 1. Redistributions of source code must retain the above copyright 116 escrypt_block_t X; in salsa20_8() local 117 uint32_t *x = X.w; in salsa20_8() local 120 blkcpy_64(&X, (escrypt_block_t *) B); in salsa20_8() 124 x[4] ^= R(x[0] + x[12], 7); in salsa20_8() 125 x[8] ^= R(x[4] + x[0], 9); in salsa20_8() 126 x[12] ^= R(x[8] + x[4], 13); in salsa20_8() 127 x[0] ^= R(x[12] + x[8], 18); in salsa20_8() 129 x[9] ^= R(x[5] + x[1], 7); in salsa20_8() 130 x[13] ^= R(x[9] + x[5], 9); in salsa20_8() [all …]
|
/freebsd/contrib/ncurses/man/ |
H A D | man_db.renames.in | 33 captoinfo.1m captoinfo.1 34 clear.1 clear.1 35 curs_add_wch.3x add_wch.3ncurses 36 curs_add_wchstr.3x add_wchstr.3ncurses 37 curs_addch.3x addch.3ncurses 38 curs_addchstr.3x addchstr.3ncurses 39 curs_addstr.3x addstr.3ncurses 40 curs_addwstr.3x addwstr.3ncurses 41 curs_attr.3x attr.3ncurses 42 curs_beep.3x beep.3ncurses [all …]
|