| /src/sys/dev/etherswitch/arswitch/ |
| H A D | arswitchreg.h | 44 #define BITS(_shift, _count) (BITM(_count) << (_shift)) macro 89 #define AR8X16_REG_SW_MAC_ADDR0_BYTE4 BITS(8, 8) 91 #define AR8X16_REG_SW_MAC_ADDR0_BYTE5 BITS(0, 8) 95 #define AR8X16_REG_SW_MAC_ADDR1_BYTE0 BITS(24, 8) 97 #define AR8X16_REG_SW_MAC_ADDR1_BYTE1 BITS(16, 8) 99 #define AR8X16_REG_SW_MAC_ADDR1_BYTE2 BITS(8, 8) 101 #define AR8X16_REG_SW_MAC_ADDR1_BYTE3 BITS(0, 8) 139 #define AR8216_ATU_OP BITS(0, 3) 148 #define AR8216_ATU_PORT_NUM BITS(8, 4) 151 #define AR8216_ATU_ADDR5 BITS(16, 8) [all …]
|
| /src/sys/dev/etherswitch/ar40xx/ |
| H A D | ar40xx_reg.h | 27 #define BITS(_s, _n) (((1UL << (_n)) - 1) << _s) macro 106 #define AR40XX_MIB_FUNC BITS(24, 3) 115 #define AR40XX_REG_SW_MAC_ADDR0_BYTE4 BITS(8, 8) 117 #define AR40XX_REG_SW_MAC_ADDR0_BYTE5 BITS(0, 8) 121 #define AR40XX_REG_SW_MAC_ADDR1_BYTE0 BITS(24, 8) 123 #define AR40XX_REG_SW_MAC_ADDR1_BYTE1 BITS(16, 8) 125 #define AR40XX_REG_SW_MAC_ADDR1_BYTE2 BITS(8, 8) 127 #define AR40XX_REG_SW_MAC_ADDR1_BYTE3 BITS(0, 8) 131 #define AR40XX_MAX_FRAME_SIZE_MTU BITS(0, 14) 134 #define AR40XX_PORT_SPEED BITS(0, 2) [all …]
|
| /src/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_atomic.cpp | 790 #define OP_CMPXCHG(TYPE, BITS, OP) \ argument 795 while (!KMP_COMPARE_AND_STORE_ACQ##BITS( \ 796 (kmp_int##BITS *)lhs, *VOLATILE_CAST(kmp_int##BITS *) & old_value, \ 797 *VOLATILE_CAST(kmp_int##BITS *) & new_value)) { \ 812 #define OP_CMPXCHG_WORKAROUND(TYPE, BITS, OP) \ argument 816 kmp_int##BITS *vvv; \ 819 old_value.vvv = (kmp_int##BITS *)&old_value.cmp; \ 820 new_value.vvv = (kmp_int##BITS *)&new_value.cmp; \ 821 *old_value.vvv = *(volatile kmp_int##BITS *)lhs; \ 823 while (!KMP_COMPARE_AND_STORE_ACQ##BITS( \ [all …]
|
| /src/crypto/openssl/crypto/bn/asm/ |
| H A D | ppc.pl | 112 $BITS= 32; 113 $BNSZ= $BITS/8; 135 $BITS= 64; 136 $BNSZ= $BITS/8; 1649 li r8,$BITS 1668 $SHRI r9,r5,`$BITS/2` # r9 = dh 1674 $SHRI r8,r3,`$BITS/2` #r8 = (h>>BN_BITS4) 1675 $SHRI r11,r4,`$BITS/2` #r11= (l&BN_MASK2h)>>BN_BITS4 1681 $CLRU r8,r8,`$BITS/2` #q = BN_MASK2l 1687 $CLRU r10,r5,`$BITS/2` #r10=dl [all …]
|
| H A D | ppc-mont.pl | 50 $BITS= 32; 51 $BNSZ= $BITS/8; 70 $BITS= 64; 71 $BNSZ= $BITS/8; 1429 $SHRI $t1,$t1,$BITS-1 1434 $SHRI $t2,$t2,$BITS-1 1436 $SHRI $t3,$t3,$BITS-1 1447 $SHRI $t0,$t0,$BITS-1 1453 $SHRI $t1,$t1,$BITS-1 1460 $SHRI $t2,$t2,$BITS-1 [all …]
|
| /src/crypto/openssl/crypto/sha/asm/ |
| H A D | sha512-ia64.pl | 83 $BITS=8*$SZ; 97 $BITS=8*$SZ; 180 $code.=<<___ if ($BITS==64); 211 $t0="A", $t1="E", $code.=<<___ if ($BITS==64); 459 $t0="t0", $t1="t1", $code.=<<___ if ($BITS==32); 533 $t0="t0", $t1="t1", $code.=<<___ if ($BITS==32); 549 $t0="A", $t1="E", $code.=<<___ if ($BITS==64); 615 if ($BITS==64) { 626 print<<___ if ($BITS==32); 648 print<<___ if ($BITS==64);
|
| H A D | sha512-armv8.pl | 76 $BITS=512; 85 $BITS=256; 95 $func="sha${BITS}_block_data_order"; 238 adrp $Ktbl,.LK$BITS 239 add $Ktbl,$Ktbl,:lo12:.LK$BITS 292 .type .LK$BITS,%object 293 .LK$BITS: 358 .size .LK$BITS,.-.LK$BITS 359 .asciz "SHA$BITS block transform for ARMv8, CRYPTOGAMS by <appro\@openssl.org>"
|
| /src/sys/contrib/zlib/ |
| H A D | infback.c | 131 #define BITS(n) \ macro 236 state->last = BITS(1); in inflateBack() 238 switch (BITS(2)) { in inflateBack() 297 state->nlen = BITS(5) + 257; in inflateBack() 299 state->ndist = BITS(5) + 1; in inflateBack() 301 state->ncode = BITS(4) + 4; in inflateBack() 317 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflateBack() 338 here = state->lencode[BITS(state->lenbits)]; in inflateBack() 357 copy = 3 + BITS(2); in inflateBack() 364 copy = 3 + BITS(3); in inflateBack() [all …]
|
| H A D | inflate.c | 375 #define BITS(n) \ macro 528 ((BITS(8) << 8) + (hold >> 8)) % 31) { in inflate() 533 if (BITS(4) != Z_DEFLATED) { in inflate() 539 len = BITS(4) + 8; in inflate() 718 state->last = BITS(1); in inflate() 720 switch (BITS(2)) { in inflate() 784 state->nlen = BITS(5) + 257; in inflate() 786 state->ndist = BITS(5) + 1; in inflate() 788 state->ncode = BITS(4) + 4; in inflate() 805 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflate() [all …]
|
| /src/crypto/openssl/crypto/aes/asm/ |
| H A D | aes-riscv32-zkn.pl | 471 my ($UKEY,$BITS,$KEYP) = use_regs(10..12); 663 slli $BITS,$T7,24 664 or $T8,$T8,$BITS 714 bne $BITS,$T0,1f 721 bne $BITS,$T0,2f 729 beq $BITS,$T0,3f 971 @{[invm4 $T8,$BITS,$T4]} 973 @{[invm4 $T8,$BITS,$T5]} 975 @{[invm4 $T8,$BITS,$T6]} 977 @{[invm4 $T8,$BITS,$T7]} [all …]
|
| H A D | aes-riscv64-zkn.pl | 279 my ($UKEY,$BITS,$KEYP) = use_regs(10..12); 402 bne $BITS,$T0,1f 409 bne $BITS,$T0,2f 417 beq $BITS,$T0,3f
|
| H A D | aes-riscv64.pl | 675 my ($UKEY,$BITS,$KEYP) = use_regs(10..12); 788 bne $BITS,$T8,1f 792 bne $BITS,$T9,2f 797 beq $BITS,$T10,3f 816 beq $BITS,$T8,1f 824 beq $BITS,$T9,2f 961 my ($UKEY,$BITS,$KEYP) = use_regs(10..12);
|
| H A D | aes-riscv64-zvkned.pl | 823 my ($UKEY,$BITS,$KEYP) = ("a0", "a1", "a2"); 836 beq $BITS, $T0, L_set_key_256 838 beq $BITS, $T0, L_set_key_128 855 beq $BITS, $T0, L_set_key_256 857 beq $BITS, $T0, L_set_key_128
|
| /src/contrib/unbound/smallapp/ |
| H A D | unbound-control-setup.sh.in | 49 BITS=3072 123 openssl genrsa -out "$SVR_BASE.key" "$BITS" 128 default_bits=$BITS 161 openssl genrsa -out "$CTL_BASE.key" "$BITS" 166 default_bits=$BITS
|
| H A D | unbound-control-setup.sh | 49 BITS=3072 123 openssl genrsa -out "$SVR_BASE.key" "$BITS" 128 default_bits=$BITS 161 openssl genrsa -out "$CTL_BASE.key" "$BITS" 166 default_bits=$BITS
|
| /src/crypto/krb5/src/config/ |
| H A D | win-pre.in | 39 BITS=64 41 BITS=32 184 CLIB=$(BUILDTOP)\lib\$(OUTPRE)comerr$(BITS).lib 185 PLIB=$(BUILDTOP)\lib\$(OUTPRE)xpprof$(BITS).lib 186 KLIB=$(BUILDTOP)\lib\$(OUTPRE)krb5_$(BITS).lib 187 SLIB=$(BUILDTOP)\lib\$(OUTPRE)k5sprt$(BITS).lib 188 GLIB=$(BUILDTOP)\lib\$(OUTPRE)gssapi$(BITS).lib 189 CCLIB=krbcc$(BITS) 190 SPAKELIB=spake$(BITS) 195 PKINITLIB=pkinit$(BITS)
|
| /src/usr.bin/compress/doc/ |
| H A D | README | 30 o BITS Overrules default set by USERMEM-SACREDMEM 34 o pdp11 BITS=12, NO_UCHAR 35 o z8000 BITS=12 36 o pcxt BITS=12 40 The difference "usermem-sacredmem" determines the maximum BITS that can be 43 memory: at least BITS 51 The default is BITS=16. 75 1. "Block" compression is performed. After the BITS run out, the 95 characters, and the -b BITS is less than or equal to the cutoff 109 The difference "usermem-sacredmem" determines the maximum BITS that can be [all …]
|
| H A D | revision.log | 11 * used by decompress: tab_suffix[1<<BITS], stack[8000]. Updated USERMEM 38 * Set HSIZE depending on BITS. Set BITS depending on USERMEM. Unrolled
|
| /src/usr.bin/compress/ |
| H A D | zopen.c | 72 #define BITS 16 /* Default bits. */ macro 120 char_type zs_buf[BITS]; 133 char_type zs_gbuf[BITS]; 186 #define de_stack ((char_type *)&tab_suffixof(1 << BITS)) 486 if (maxbits > BITS || maxbits < 12) { in zread() 696 bits < 0 || bits > BITS) { in zopen() 704 maxbits = bits ? bits : BITS; /* User settable max # bits/code. */ in zopen()
|
| /src/usr.bin/gzip/ |
| H A D | zuncompress.c | 46 #define de_stack ((char_type *)&tab_suffixof(1 << BITS)) 48 #define BITS 16 /* Default bits. */ macro 111 char_type zs_buf[BITS]; 124 char_type zs_gbuf[BITS]; 250 if (zs->zs_maxbits > BITS || zs->zs_maxbits < 12) { in zread()
|
| /src/usr.sbin/bsnmpd/modules/snmp_wlan/ |
| H A D | wlan_tree.def | 111 typedef WlanIfaceFlagsType BITS ( 117 typedef WlanDriverCaps BITS ( 143 typedef WlanCryptoCaps BITS ( 152 typedef WlanHTCaps BITS ( 179 typedef WlanPeerCapabilityFlags BITS ( 193 typedef WlanIfacePeerFlagsType BITS ( 214 typedef WlanIfaceChannelFlagsType BITS ( 237 typedef WlanIfaceChannelStateType BITS ( 270 typedef WlanScanFlagsType BITS ( 625 (7 wlanMeshRouteFlags BITS ( 1 valid 2 proxy ) GET)
|
| /src/usr.bin/systat/ |
| H A D | convtbl.c | 37 #define BITS (1) macro 65 [SC_BIT] = { BIT, BITS, "b", "bit" },
|
| /src/contrib/ntp/libparse/ |
| H A D | clk_rawdcf.c | 409 #define BITS 9 in cvt_rawdcf() macro 410 unsigned char histbuf[BITS]; in cvt_rawdcf() 420 for (i = 0; i < BITS; i++) in cvt_rawdcf() 493 for (; i < BITS; i++) in cvt_rawdcf() 507 highmax = BITS-1; in cvt_rawdcf()
|
| /src/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | coex.h | 14 #define BITS(nb) (BIT(nb) - 1) macro
|
| /src/contrib/ntp/parseutil/ |
| H A D | dcfd.c | 537 #define BITS 9 in cvt_rawdcf() macro 538 unsigned char histbuf[BITS]; in cvt_rawdcf() 560 for (i = 0; i < BITS; i++) in cvt_rawdcf() 661 for (; i < BITS; i++) in cvt_rawdcf() 678 highmax = BITS-1; in cvt_rawdcf()
|