/openbsd/sys/dev/pci/ |
H A D | igc_regs.h | 114 #define IGC_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ argument 116 #define IGC_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ argument 118 #define IGC_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ argument 122 #define IGC_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ argument 124 #define IGC_RDT(_n) ((_n) < 4 ? (0x02818 + ((_n) * 0x100)) : \ argument 128 #define IGC_RQDPC(_n) ((_n) < 4 ? (0x02830 + ((_n) * 0x100)) : \ argument 130 #define IGC_TDBAL(_n) ((_n) < 4 ? (0x03800 + ((_n) * 0x100)) : \ argument 132 #define IGC_TDBAH(_n) ((_n) < 4 ? (0x03804 + ((_n) * 0x100)) : \ argument 134 #define IGC_TDLEN(_n) ((_n) < 4 ? (0x03808 + ((_n) * 0x100)) : \ argument 136 #define IGC_TDH(_n) ((_n) < 4 ? (0x03810 + ((_n) * 0x100)) : \ argument [all …]
|
H A D | if_em_hw.h | 1100 #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ argument 1103 #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ argument 1106 #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ argument 1109 #define E1000_SRRCTL(_n) ((_n) < 4 ? (0x0280C + ((_n) * 0x100)) : \ argument 1112 #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ argument 1115 #define E1000_RDT(_n) ((_n) < 4 ? (0x02818 + ((_n) * 0x100)) : \ argument 1135 #define E1000_TDBAL(_n) ((_n) < 4 ? (0x03800 + ((_n) * 0x100)) : \ argument 1138 #define E1000_TDBAH(_n) ((_n) < 4 ? (0x03804 + ((_n) * 0x100)) : \ argument 1141 #define E1000_TDLEN(_n) ((_n) < 4 ? (0x03808 + ((_n) * 0x100)) : \ argument 1144 #define E1000_TDH(_n) ((_n) < 4 ? (0x03810 + ((_n) * 0x100)) : \ argument [all …]
|
/openbsd/sys/dev/ic/ |
H A D | ar5211reg.h | 317 #define AR5K_AR5211_QCU(_n, _a) (((_n) << 2) + _a) argument 322 #define AR5K_AR5211_QCU_TXDP(_n) AR5K_AR5211_QCU(_n, 0x0800) argument 337 #define AR5K_AR5211_QCU_CBRCFG(_n) AR5K_AR5211_QCU(_n, 0x08c0) argument 367 #define AR5K_AR5211_QCU_MISC(_n) AR5K_AR5211_QCU(_n, 0x09c0) argument 386 #define AR5K_AR5211_QCU_STS(_n) AR5K_AR5211_QCU(_n, 0x0a00) argument 399 #define AR5K_AR5211_DCU(_n, _a) AR5K_AR5211_QCU(_n, _a) argument 442 #define AR5K_AR5211_DCU_MISC(_n) AR5K_AR5211_DCU(_n, 0x1100) argument 468 #define AR5K_AR5211_DCU_SEQNUM(_n) AR5K_AR5211_DCU(_n, 0x1140) argument 914 #define AR5K_AR5211_PHY(_n) (0x9800 + ((_n) << 2)) argument 1042 #define AR5K_AR5211_BB_GAIN(_n) (0x9b00 + ((_n) << 2)) argument [all …]
|
H A D | ar5212reg.h | 321 #define AR5K_AR5212_QCU(_n, _a) (((_n) << 2) + _a) argument 326 #define AR5K_AR5212_QCU_TXDP(_n) AR5K_AR5212_QCU(_n, 0x0800) argument 341 #define AR5K_AR5212_QCU_CBRCFG(_n) AR5K_AR5212_QCU(_n, 0x08c0) argument 371 #define AR5K_AR5212_QCU_MISC(_n) AR5K_AR5212_QCU(_n, 0x09c0) argument 390 #define AR5K_AR5212_QCU_STS(_n) AR5K_AR5212_QCU(_n, 0x0a00) argument 414 #define AR5K_AR5212_DCU(_n, _a) AR5K_AR5212_QCU(_n, _a) argument 419 #define AR5K_AR5212_DCU_QCUMASK(_n) AR5K_AR5212_DCU(_n, 0x1000) argument 425 #define AR5K_AR5212_DCU_LCL_IFS(_n) AR5K_AR5212_DCU(_n, 0x1040) argument 457 #define AR5K_AR5212_DCU_MISC(_n) AR5K_AR5212_DCU(_n, 0x1100) argument 483 #define AR5K_AR5212_DCU_SEQNUM(_n) AR5K_AR5212_DCU(_n, 0x1140) argument [all …]
|
H A D | ar5xxx.h | 624 #define AR5K_EEPROM_INFO(_n) (AR5K_EEPROM_INFO_BASE + (_n)) argument 917 #define AR5K_HAL_FUNCTION(_hal, _n, _f) (_hal)->ah_##_f = ar5k_##_n##_##_f argument 918 #define AR5K_HAL_FUNCTIONS(_t, _n, _a) \ argument 921 _t void (_a _n##_detach)(struct ath_hal *); \ 925 _t void (_a _n##_set_opmode)(struct ath_hal *); \ 961 _t void (_a _n##_start_rx)(struct ath_hal*); \ 979 _t void (_a _n##_dump_state)(struct ath_hal *); \ 988 _t void (_a _n##_set_associd)(struct ath_hal*, \ 1000 _t void (_a _n##_reset_tsf)(struct ath_hal*); \ 1272 #define AR5K_DELAY(_n) delay(_n) argument [all …]
|
H A D | ar5210reg.h | 603 #define AR5K_AR5210_KEYTABLE_OFF(_n, x) (AR5K_AR5210_KEYTABLE(_n) + (x << 2)) argument 604 #define AR5K_AR5210_KEYTABLE_TYPE(_n) AR5K_AR5210_KEYTABLE_OFF(_n, 5) argument 608 #define AR5K_AR5210_KEYTABLE_MAC0(_n) AR5K_AR5210_KEYTABLE_OFF(_n, 6) argument 609 #define AR5K_AR5210_KEYTABLE_MAC1(_n) AR5K_AR5210_KEYTABLE_OFF(_n, 7) argument 618 #define AR5K_AR5210_PHY(_n) (0x9800 + ((_n) << 2)) argument 682 #define AR5K_AR5210_PHY_NF_RVAL(_n) (((_n) >> 19) & AR5K_AR5210_PHY_NF_M) argument 683 #define AR5K_AR5210_PHY_NF_AVAL(_n) (-((_n) ^ AR5K_AR5210_PHY_NF_M) + 1) argument 703 #define AR5K_AR5210_BB_GAIN(_n) (0x9b00 + ((_n) << 2)) argument 704 #define AR5K_AR5210_RF_GAIN(_n) (0x9a00 + ((_n) << 2)) argument
|
/openbsd/regress/usr.bin/ssh/unittests/hostkeys/ |
H A D | mktestdata.sh | 12 _n=$1 14 test "x$_n" = "x1" && _ecdsa_bits=384 15 test "x$_n" = "x2" && _ecdsa_bits=521 16 ssh-keygen -qt rsa -b 1024 -C "RSA #$_n" -N "" -f rsa_$_n 17 ssh-keygen -qt dsa -b 1024 -C "DSA #$_n" -N "" -f dsa_$_n 18 ssh-keygen -qt ecdsa -b $_ecdsa_bits -C "ECDSA #$_n" -N "" -f ecdsa_$_n 19 ssh-keygen -qt ed25519 -C "ED25519 #$_n" -N "" -f ed25519_$_n 21 rm -f rsa_$_n dsa_$_n ecdsa_$_n ed25519_$_n
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/ |
H A D | BigRat.pm | 1538 $x->{_n} = $LIB->_pow($x->{_n}, $y->{_n}); 1647 $x -> {_n} = $xobj -> {_n}; 1767 $x -> {_n} = $xrat -> {_n}; 1799 $x -> {_n} = $xtmp -> {_n}; 1823 $x -> {_n} = $xtmp -> {_n}; 1845 $x -> {_n} = $xtmp -> {_n}; 1893 $x -> {_n} = $xtmp -> {_n}; 2033 $x -> {_n} = $xrat -> {_n}; 2059 $x -> {_n} = $xrat -> {_n}; 2085 $x -> {_n} = $xrat -> {_n}; [all …]
|
/openbsd/usr.bin/dig/lib/isc/include/isc/ |
H A D | refcount.h | 101 int _n = ++(rp)->refs; \ 103 *_tmp = _n; \ 109 int _n; \ 111 _n = ++(rp)->refs; \ 113 *_tmp = _n; \ 119 int _n; \ 121 _n = --(rp)->refs; \ 123 *_tmp = _n; \
|
H A D | buffer.h | 599 #define ISC__BUFFER_ADD(_b, _n) \ argument 601 (_b)->used += (_n); \ 604 #define ISC__BUFFER_SUBTRACT(_b, _n) \ argument 606 (_b)->used -= (_n); \ 637 #define ISC__BUFFER_SETACTIVE(_b, _n) \ argument 639 (_b)->active = (_b)->current + (_n); \ 647 #define ISC__BUFFER_FORWARD(_b, _n) \ argument 649 (_b)->current += (_n); \
|
/openbsd/sys/arch/amd64/include/ |
H A D | atomic.h | 67 #define atomic_cas_uint(_p, _e, _n) _atomic_cas_uint((_p), (_e), (_n)) argument 78 #define atomic_cas_ulong(_p, _e, _n) _atomic_cas_ulong((_p), (_e), (_n)) argument 89 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) argument 100 #define atomic_swap_uint(_p, _n) _atomic_swap_uint((_p), (_n)) argument 101 #define atomic_swap_32(_p, _n) _atomic_swap_uint((_p), (_n)) argument 112 #define atomic_swap_ulong(_p, _n) _atomic_swap_ulong((_p), (_n)) argument 123 #define atomic_swap_64(_p, _n) _atomic_swap_64((_p), (_n)) argument 134 #define atomic_swap_ptr(_p, _n) _atomic_swap_ptr((_p), (_n)) argument
|
/openbsd/sys/arch/sh/include/ |
H A D | atomic.h | 43 #define atomic_cas_uint(_p, _o, _n) _atomic_cas_uint((_p), (_o), (_n)) argument 59 #define atomic_cas_ulong(_p, _o, _n) _atomic_cas_ulong((_p), (_o), (_n)) argument 76 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) argument 91 #define atomic_swap_uint(_p, _n) _atomic_swap_uint((_p), (_n)) argument 106 #define atomic_swap_ulong(_p, _n) _atomic_swap_ulong((_p), (_n)) argument 122 #define atomic_swap_ptr(_p, _n) _atomic_swap_ptr((_p), (_n)) argument
|
/openbsd/sys/arch/i386/include/ |
H A D | atomic.h | 62 #define atomic_cas_uint(_p, _e, _n) _atomic_cas_uint((_p), (_e), (_n)) argument 73 #define atomic_cas_ulong(_p, _e, _n) _atomic_cas_ulong((_p), (_e), (_n)) argument 84 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) argument 95 #define atomic_swap_uint(_p, _n) _atomic_swap_uint((_p), (_n)) argument 96 #define atomic_swap_32(_p, _n) _atomic_swap_uint((_p), (_n)) argument 107 #define atomic_swap_ulong(_p, _n) _atomic_swap_ulong((_p), (_n)) argument 118 #define atomic_swap_ptr(_p, _n) _atomic_swap_ptr((_p), (_n)) argument
|
/openbsd/sys/arch/hppa/include/ |
H A D | atomic.h | 92 #define atomic_cas_uint(_p, _o, _n) _atomic_cas_uint((_p), (_o), (_n)) argument 108 #define atomic_cas_ulong(_p, _o, _n) _atomic_cas_ulong((_p), (_o), (_n)) argument 125 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) argument 140 #define atomic_swap_uint(_p, _n) _atomic_swap_uint((_p), (_n)) argument 155 #define atomic_swap_ulong(_p, _n) _atomic_swap_ulong((_p), (_n)) argument 171 #define atomic_swap_ptr(_p, _n) _atomic_swap_ptr((_p), (_n)) argument
|
/openbsd/distrib/syspatch/ |
H A D | diff.sh | 39 _n=$(echo $_d | cut -d ' ' -f4) 43 cmp -s ${_o} ${_n} 34 34 || padd ${_n} 53 sed -E '/([0-9]+-[0-9]+-[0-9]+|=+)/d' ${_n} > ${_nnm} 54 diff -q ${_onm} ${_nnm} >/dev/null || padd ${_n} 60 padd ${_n}
|
/openbsd/sys/arch/mips64/include/ |
H A D | atomic.h | 77 #define atomic_cas_uint(_p, _o, _n) _atomic_cas_uint((_p), (_o), (_n)) argument 96 #define atomic_cas_ulong(_p, _o, _n) _atomic_cas_ulong((_p), (_o), (_n)) argument 116 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) argument 174 #define atomic_swap_ptr(_p, _n) _atomic_swap_ptr((_p), (_n)) argument
|
/openbsd/sys/arch/sparc64/include/ |
H A D | atomic.h | 30 #define atomic_cas_uint(_p, _e, _n) _atomic_cas_uint((_p), (_e), (_n)) argument 41 #define atomic_cas_ulong(_p, _e, _n) _atomic_cas_ulong((_p), (_e), (_n)) argument 52 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) argument
|
/openbsd/sys/arch/powerpc/include/ |
H A D | atomic.h | 71 #define atomic_cas_uint(_p, _o, _n) _atomic_cas_uint((_p), (_o), (_n)) argument 91 #define atomic_cas_ulong(_p, _o, _n) _atomic_cas_ulong((_p), (_o), (_n)) argument 112 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) argument
|
/openbsd/sys/arch/powerpc64/include/ |
H A D | atomic.h | 71 #define atomic_cas_uint(_p, _o, _n) _atomic_cas_uint((_p), (_o), (_n)) argument 91 #define atomic_cas_ulong(_p, _o, _n) _atomic_cas_ulong((_p), (_o), (_n)) argument 112 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) argument
|
/openbsd/sys/arch/arm/include/ |
H A D | atomic.h | 41 #define atomic_cas_uint(_p, _e, _n) _atomic_cas_uint((_p), (_e), (_n)) in _def_atomic_cas() argument 42 #define atomic_cas_ulong(_p, _e, _n) _atomic_cas_ulong((_p), (_e), (_n)) in _def_atomic_cas() argument 66 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) argument
|
/openbsd/gnu/usr.bin/cvs/lib/ |
H A D | getline.h | 15 get_line __PROTO ((char **_lineptr, size_t *_n, FILE *_stream)); 17 getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream, 20 getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
|
/openbsd/sbin/dhcp6leased/ |
H A D | parse.y | 856 fls64(uint64_t _n) in fls64() argument 860 if (!_n) in fls64() 864 if ((_n & 0xFFFFFFFF00000000ULL) == 0) { in fls64() 865 _n <<= 32; in fls64() 868 if ((_n & 0xFFFF000000000000ULL) == 0) { in fls64() 869 _n <<= 16; in fls64() 872 if ((_n & 0xFF00000000000000ULL) == 0) { in fls64() 873 _n <<= 8; in fls64() 876 if ((_n & 0xF000000000000000ULL) == 0) { in fls64() 877 _n <<= 4; in fls64() [all …]
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | pyro.c | 65 #define FIRE_INTR_MAP(_n) 0x01000 + ((_n) * 8) argument 66 #define FIRE_INTR_CLR(_n) 0x01400 + ((_n) * 8) argument 69 #define FIRE_EQ_CNTRL_SET(_n) 0x11000 + ((_n) * 8) argument 71 #define FIRE_EQ_CNTRL_CLEAR(_n) 0x11200 + ((_n) * 8) argument 72 #define FIRE_EQ_STATE(_n) 0x11400 + ((_n) * 8) argument 73 #define FIRE_EQ_TAIL(_n) 0x11600 + ((_n) * 8) argument 74 #define FIRE_EQ_HEAD(_n) 0x11800 + ((_n) * 8) argument 75 #define FIRE_MSI_MAP(_n) 0x20000 + ((_n) * 8) argument 79 #define FIRE_MSI_CLEAR(_n) 0x28000 + ((_n) * 8) argument
|
/openbsd/sys/sys/ |
H A D | percpu.h | 189 #define COUNTERS_BOOT_MEMORY(_name, _n) \ argument 190 CPUMEM_BOOT_MEMORY(_name, ((_n) + 1) * sizeof(uint64_t)) 192 #define COUNTERS_BOOT_MEMORY(_name, _n) \ argument 193 CPUMEM_BOOT_MEMORY(_name, (_n) * sizeof(uint64_t))
|
H A D | select.h | 104 __size_t _n = __howmany(FD_SETSIZE, __NFDBITS); \ 106 while (_n > 0) \ 107 _p->fds_bits[--_n] = 0; \
|