HomeSort by: relevance | last modified time | path
    Searched refs:BITS (Results 1 - 23 of 23) sorted by relevancy

  /src/sys/arch/hpcsh/include/
bus_util.h 7 #define __TYPENAME(BITS) u_int##BITS##_t
9 #define _BUS_SPACE_READ(PREFIX, BYTES, BITS) \
10 __TYPENAME(BITS) \
12 __TYPENAME(BITS) \
17 return *(volatile __TYPENAME(BITS) *)(bsh + offset); \
20 #define _BUS_SPACE_READ_MULTI(PREFIX, BYTES, BITS) \
23 __TYPENAME(BITS) *, bus_size_t); \
26 bus_size_t offset, __TYPENAME(BITS) *addr, \
29 volatile __TYPENAME(BITS) *p = (void *)(bsh + offset);
    [all...]
  /src/bin/ksh/
ksh_limval.h 23 #ifndef BITS
24 # define BITS(t) (BITSPERBYTE * sizeof(t))
shf.c 875 char numbuf[(BITS(long) + 2) / 3 + 1];
var.c 313 /* worst case number length is when base=2, so use BITS(long) */
315 static char strbuf[1 + 2 + 1 + BITS(long) + 1];
  /src/sys/arch/pmax/include/
bus.h 41 #define __PB_TYPENAME_PREFIX(BITS) ___CONCAT(u_int,BITS)
42 #define __PB_TYPENAME(BITS) ___CONCAT(__PB_TYPENAME_PREFIX(BITS),_t)
  /src/sys/arch/arc/arc/
bus_space.c 53 #define bus_space_read(BYTES,BITS) \
54 __CONCAT3(uint,BITS,_t) \
58 return (*(volatile __CONCAT3(uint,BITS,_t) *) \
76 #define bus_space_read_multi(BYTES,BITS) \
80 __CONCAT3(uint,BITS,_t) *datap, bus_size_t count) \
82 volatile __CONCAT3(uint,BITS,_t) *p = \
83 (volatile __CONCAT3(uint,BITS,_t) *) \
105 #define bus_space_read_region(BYTES,BITS) \
109 __CONCAT3(uint,BITS,_t) *datap, bus_size_t count) \
112 volatile __CONCAT3(uint,BITS,_t) *p =
    [all...]
  /src/sys/arch/emips/include/
bus.h 41 #define __PB_TYPENAME_PREFIX(BITS) ___CONCAT(u_int,BITS)
42 #define __PB_TYPENAME(BITS) ___CONCAT(__PB_TYPENAME_PREFIX(BITS),_t)
155 #define __EMIPS_bus_space_read_multi(BYTES,BITS) \
158 __PB_TYPENAME(BITS) *, size_t); \
165 __PB_TYPENAME(BITS) *a, \
189 #define __EMIPS_bus_space_read_region(BYTES,BITS) \
192 __PB_TYPENAME(BITS) *, size_t); \
199 __PB_TYPENAME(BITS) *a,
    [all...]
  /src/sys/arch/ews4800mips/include/
bus.h 279 #define __TYPENAME(BITS) uint##BITS##_t
281 #define _BUS_SPACE_READ(PREFIX, BYTES, BITS) \
282 static __TYPENAME(BITS) \
284 static __TYPENAME(BITS) \
291 #define _BUS_SPACE_READ_MULTI(PREFIX, BYTES, BITS) \
294 __TYPENAME(BITS) *, bus_size_t); \
297 bus_size_t offset, __TYPENAME(BITS) *addr, bus_size_t count) \
304 #define _BUS_SPACE_READ_REGION(PREFIX, BYTES, BITS) \
307 __TYPENAME(BITS) *, bus_size_t);
    [all...]
  /src/sys/arch/playstation2/include/
bus.h 321 #define __TYPENAME(BITS) u_int##BITS##_t
323 #define _BUS_SPACE_READ(PREFIX, BYTES, BITS) \
324 static __TYPENAME(BITS) \
326 static __TYPENAME(BITS) \
333 #define _BUS_SPACE_READ_MULTI(PREFIX, BYTES, BITS) \
336 __TYPENAME(BITS) *, bus_size_t); \
339 bus_size_t offset, __TYPENAME(BITS) *addr, bus_size_t count) \
346 #define _BUS_SPACE_READ_REGION(PREFIX, BYTES, BITS) \
349 __TYPENAME(BITS) *, bus_size_t);
    [all...]
  /src/common/dist/zlib/contrib/infback9/
infback9.c 51 unsigned sym, bits, low, size; local in function:makefixed9
64 bits = 9;
65 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work);
71 bits = 5;
72 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work);
89 printf("{%u,%u,%d}", lenfix[low].op, lenfix[low].bits,
100 printf("{%u,%u,%d}", distfix[low].op, distfix[low].bits,
115 bits = 0; \
138 hold += (unsigned long)(*next++) << bits; \
139 bits += 8;
224 unsigned bits; \/* bits in bit buffer *\/ local in function:inflateBack9
    [all...]
  /src/sys/arch/mipsco/include/
bus.h 340 #define __BS_TYPENAME(BITS) __CONCAT3(uint,BITS,_t)
347 #define __BS_ADDR(t, h, offset, BITS, BYTES) \
348 ((volatile __CONCAT3(uint,BITS,_t) *) \
360 #define __bus_space_read(BYTES,BITS) \
361 static __inline __CONCAT3(uint,BITS,_t) \
365 return (*__BS_ADDR(bst, bsh, offset, BITS, BYTES)); \
382 #define __bus_space_read_multi(BYTES,BITS) \
385 __BS_TYPENAME(BITS) *, size_t); \
392 __BS_TYPENAME(BITS) *a,
    [all...]
  /src/games/battlestar/
extern.h 45 #define BITS (CHAR_BIT * sizeof (unsigned int))
50 #define testbit(array, index) (array[index/BITS] & (1U << (index % BITS)))
51 #define setbit(array, index) (array[index/BITS] |= (1U << (index % BITS)))
52 #define clearbit(array, index) (array[index/BITS] &= ~(1U << (index % BITS)))
215 #define NUMOFWORDS ((NUMOFOBJECTS + BITS - 1) / BITS)
  /src/sys/arch/newsmips/include/
bus.h 41 #define __PB_TYPENAME_PREFIX(BITS) ___CONCAT(uint,BITS)
42 #define __PB_TYPENAME(BITS) ___CONCAT(__PB_TYPENAME_PREFIX(BITS),_t)
146 #define __NEWSMIPS_bus_space_read_multi(BYTES,BITS) \
149 __PB_TYPENAME(BITS) *, size_t); \
156 __PB_TYPENAME(BITS) *a, \
180 #define __NEWSMIPS_bus_space_read_region(BYTES,BITS) \
183 __PB_TYPENAME(BITS) *, size_t); \
190 __PB_TYPENAME(BITS) *a,
    [all...]
  /src/sys/external/bsd/common/include/linux/
types.h 93 #define DECLARE_BITMAP(NAME, BITS) \
94 unsigned long NAME[((BITS) + ((NBBY*sizeof(unsigned long)) - 1)) / \
  /src/common/dist/zlib/
infback.c 86 unsigned sym, bits; local in function:fixedtables
97 bits = 9;
98 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
104 bits = 5;
105 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
129 bits = state->bits; \
140 state->bits = bits; \
147 bits = 0;
251 unsigned bits; \/* bits in bit buffer *\/ local in function:inflateBack
    [all...]
inflate.c 32 * - Add comments on state->bits assertion in inffast.c
124 state->bits = 0;
166 /* set number of window bits, free window if different */
225 int ZEXPORT inflatePrime(z_streamp strm, int bits, int value) {
229 if (bits == 0)
232 if (bits < 0) {
234 state->bits = 0;
237 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR
262 unsigned sym, bits; local in function:fixedtables
598 unsigned bits; \/* bits in bit buffer *\/ local in function:inflate
    [all...]
  /src/usr.bin/systat/
convtbl.c 46 #define BITS (1)
74 [SC_BIT] = { BIT, BITS, "b", "bit" },
  /src/usr.bin/compress/
zopen.c 58 * zopen(filename, mode, bits)
76 #define BITS 16 /* Default bits. */
79 /* A code_int must be able to hold 2**BITS values of type int, and also -1. */
94 #define INIT_BITS 9 /* Initial number of bits/code. */
104 int zs_n_bits; /* Number of bits/code. */
105 int zs_maxbits; /* User settable max # bits/code. */
124 char_type zs_buf[BITS];
137 char_type zs_gbuf[BITS];
179 * the codetab. The tab_suffix table needs 2**BITS characters. We get thi
371 int bits, r_off; local in function:output
571 int r_off, bits; local in function:getcode
    [all...]
  /src/usr.bin/gzip/
zuncompress.c 44 #define de_stack ((char_type *)&tab_suffixof(1 << BITS))
46 #define BITS 16 /* Default bits. */
57 #define INIT_BITS 9 /* Initial number of bits/code. */
90 int zs_n_bits; /* Number of bits/code. */
91 int zs_maxbits; /* User settable max # bits/code. */
110 char_type zs_buf[BITS];
123 char_type zs_gbuf[BITS];
249 if (zs->zs_maxbits > BITS || zs->zs_maxbits < 12) {
292 * bound by 1 << BITS - 256
335 int r_off, bits, i; local in function:getcode
    [all...]
  /src/sys/arch/sun3/dev/
xd.c 172 * XDC_WAIT: wait for XDC's csr "BITS" to come on in "TIME".
175 #define XDC_WAIT(XDC, LCV, TIME, BITS) \
179 if ((XDC)->xdc_csr & (BITS)) \
766 /* clear mask bits */
1808 * would get interrupts but neither the REMIOPB or F_ERROR bits would
  /src/sys/dev/vme/
xd.c 155 * XDC_WAIT: wait for XDC's csr "BITS" to come on in "TIME".
158 #define XDC_WAIT(XDC, LCV, TIME, BITS) { \
161 if ((XDC)->xdc_csr & (BITS)) break; \
930 /* clear mask bits */
1986 * would get interrupts but neither the REMIOPB or F_ERROR bits would
  /src/sys/arch/m68k/060sp/dist/
fplsp.s 424 # FPSR/FPCR bits #
517 set mantissalen, 64 # length of mantissa in bits
4923 # within 0.5001 ulp to 53 bits if the result is subsequently #
5628 # within 0.5001 ulp to 53 bits if the result is subsequently #
5692 #--MOST 69 BITS LONG.
6058 # i.e. within 0.5001 ulp to 53 bits if the result is subsequently #
6068 # significant bits of X with a bit-1 attached at the 6-th #
6281 #--NOW WE SEE X AS +-2^K * 1.BBBBBBB....B <- 1. + 63 BITS
6283 #--THAT IS IT MATCHES THE EXPONENT AND FIRST 5 BITS OF X, THE
6284 #--SIXTH BITS IS SET TO BE 1. SINCE K = -4, -3, ..., 3, THER
    [all...]
fpsp.s 444 # FPSR/FPCR bits #
537 set mantissalen, 64 # length of mantissa in bits
1262 # I'm not sure at this point what FPSR bits are valid for this instruction.
1338 andi.b &0x38,%d0 # extract bits 3-5
1516 # I'm not sure at this point what FPSR bits are valid for this instruction.
1818 # I'm not sure at this point what FPSR bits are valid for this instruction.
1883 andi.b &0x38,%d0 # extract bits 3-5
2075 # I'm not sure at this point what FPSR bits are valid for this instruction.
3662 # bits four and five of the fp extension word separate the monadic and dyadic
4068 # bits 6-8 of the opword(classes 6,7 are undefined)
    [all...]

Completed in 33 milliseconds