| /openbsd/src/sys/dev/pci/ |
| D | igc_regs.h | 43 #define IGC_EITR(_n) (0x01680 + (0x4 * (_n))) argument 102 #define IGC_INVM_DATA_REG(_n) (0x12120 + 4*(_n)) argument 114 #define IGC_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ argument 115 (0x0C000 + ((_n) * 0x40))) 116 #define IGC_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ argument 117 (0x0C004 + ((_n) * 0x40))) 118 #define IGC_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ argument 119 (0x0C008 + ((_n) * 0x40))) 120 #define IGC_SRRCTL(_n) ((_n) < 4 ? (0x0280C + ((_n) * 0x100)) : \ argument 121 (0x0C00C + ((_n) * 0x40))) [all …]
|
| D | if_em_hw.h | 1061 #define E1000_EITR(_n) (0x01680 + (0x4 * (_n))) argument 1100 #define E1000_RDBAL(_n) ((_n) < 4 ? (0x02800 + ((_n) * 0x100)) : \ argument 1101 (0x0C000 + ((_n) * 0x40))) 1103 #define E1000_RDBAH(_n) ((_n) < 4 ? (0x02804 + ((_n) * 0x100)) : \ argument 1104 (0x0C004 + ((_n) * 0x40))) 1106 #define E1000_RDLEN(_n) ((_n) < 4 ? (0x02808 + ((_n) * 0x100)) : \ argument 1107 (0x0C008 + ((_n) * 0x40))) 1109 #define E1000_SRRCTL(_n) ((_n) < 4 ? (0x0280C + ((_n) * 0x100)) : \ argument 1110 (0x0C00C + ((_n) * 0x40))) 1112 #define E1000_RDH(_n) ((_n) < 4 ? (0x02810 + ((_n) * 0x100)) : \ argument [all …]
|
| /openbsd/src/sys/dev/ic/ |
| 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 346 #define AR5K_AR5211_QCU_RDYTIMECFG(_n) AR5K_AR5211_QCU(_n, 0x0900) argument 355 #define AR5K_AR5211_QCU_ONESHOTARMS(_n) AR5K_AR5211_QCU(_n, 0x0940) argument 361 #define AR5K_AR5211_QCU_ONESHOTARMC(_n) AR5K_AR5211_QCU(_n, 0x0980) 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 404 #define AR5K_AR5211_DCU_QCUMASK(_n) AR5K_AR5211_DCU(_n, 0x1000) argument [all …]
|
| 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 350 #define AR5K_AR5212_QCU_RDYTIMECFG(_n) AR5K_AR5212_QCU(_n, 0x0900) argument 359 #define AR5K_AR5212_QCU_ONESHOTARMS(_n) AR5K_AR5212_QCU(_n, 0x0940) argument 365 #define AR5K_AR5212_QCU_ONESHOTARMC(_n) AR5K_AR5212_QCU(_n, 0x0980) 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 [all …]
|
| 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 919 _t const HAL_RATE_TABLE *(_a _n##_get_rate_table)(struct ath_hal *, \ 921 _t void (_a _n##_detach)(struct ath_hal *); \ 923 _t HAL_BOOL (_a _n##_reset)(struct ath_hal *, HAL_OPMODE, \ 925 _t void (_a _n##_set_opmode)(struct ath_hal *); \ 926 _t HAL_BOOL (_a _n##_calibrate)(struct ath_hal*, \ 929 _t HAL_BOOL (_a _n##_update_tx_triglevel)(struct ath_hal*, \ 931 _t int (_a _n##_setup_tx_queue)(struct ath_hal *, HAL_TX_QUEUE, \ [all …]
|
| 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/src/regress/usr.bin/ssh/unittests/hostkeys/ |
| 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/src/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/ |
| D | BigRat.pm | 333 $self -> {_n} = $LIB -> _new($n -> copy() -> babs(undef, undef) 344 $self -> {_n} = $LIB -> _new($m -> bstr()); 348 $self -> {_n} = $LIB -> _lsft($self -> {_n}, 354 my $gcd = $LIB -> _gcd($LIB -> _copy($self -> {_n}), 357 $self -> {_n} = $LIB -> _div($self->{_n}, $gcd); 439 my $p = $n -> {_n}; 441 my $r = $d -> {_n}; 445 $self -> {_n} = $LIB -> _mul($LIB -> _div($LIB -> _copy($p), $gcd_pr), 457 my $p = $n -> {_n}; 474 $self -> {_n} = $LIB -> _copy($p); [all …]
|
| /openbsd/src/usr.bin/dig/lib/isc/include/isc/ |
| 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; \
|
| 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/src/sys/arch/amd64/include/ |
| 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/src/sys/arch/sh/include/ |
| 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/src/sys/arch/i386/include/ |
| 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/src/sys/arch/hppa/include/ |
| 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/src/distrib/syspatch/ |
| 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/src/sys/arch/mips64/include/ |
| 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/src/sys/arch/powerpc64/include/ |
| 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/src/sys/arch/sparc64/include/ |
| 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/src/sys/arch/powerpc/include/ |
| 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/src/sys/arch/arm/include/ |
| 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/src/gnu/usr.bin/cvs/lib/ |
| 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/src/sys/arch/sparc64/dev/ |
| 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/src/sys/sys/ |
| 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))
|
| D | select.h | 104 __size_t _n = __howmany(FD_SETSIZE, __NFDBITS); \ 106 while (_n > 0) \ 107 _p->fds_bits[--_n] = 0; \
|
| /openbsd/src/regress/usr.bin/ssh/ |
| D | forward-control.sh | 13 _n=0 15 test $_n -eq 1 && trace "waiting for $_pid to exit" 16 _n=`expr $_n + 1` 17 test $_n -ge $WAIT_SECONDS && return 1
|