Searched defs:BITS (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_rowcol_impl.h50 #define BITS(val, high, low) \ macro
H A Dmcamd_patounum.c45 #define BITS(val, high, low) \ macro
107 dramaddr = BITS(pa, 39, 0) - BITS(base, 39, 24);
118 if ((pailsel = BITS(pa, 14, 12) >> 12 & ilen) != ilsel) {
127 top = BITS(dramaddr, 36, 13) >> 1;
129 top = BITS(dramaddr, 37, 14) >> 2;
131 top = BITS(dramaddr, 38, 15) >> 3;
133 top = BITS(dramaddr, 35, 12);
136 *iaddrp = top | BITS(dramaddr, 11, 0);
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dcpc_subr.c175 #define BITS(v, u, l) \ macro
/illumos-gate/usr/src/boot/lib/libz/
H A Dinfback.c190 #define BITS(n) \ macro
300 state->last = BITS(1);
302 switch (BITS(2)) {
361 state->nlen = BITS(5) + 257;
363 state->ndist = BITS(5) + 1;
365 state->ncode = BITS(4) + 4;
380 state->lens[order[state->have++]] = (unsigned short)BITS(3);
401 here = state->lencode[BITS(state->lenbits)];
419 copy = 3 + BITS(2);
426 copy = 3 + BITS(
[all...]
H A Dinflate.c506 #define BITS(n) \ macro
543 the requested bits are not available. The typical use of the BITS macros
547 ... do something with BITS(n) ...
551 input left to load n bits into the accumulator, or it continues. BITS(n)
556 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream.
572 keep[want++] = BITS(n);
661 ((BITS(8) << 8) + (hold >> 8)) % 31) {
666 if (BITS(4) != Z_DEFLATED) {
672 len = BITS(4) + 8;
835 state->last = BITS(
[all...]
/illumos-gate/usr/src/lib/libcpc/i386/
H A Dconf_pentium.c495 #define BITS(v, u, l) \ macro
530 if ((family = BITS(eax, 11, 8)) == 0xf)
531 family = BITS(eax, 27, 20);
532 if ((model = BITS(eax, 7, 4)) == 0xf)
533 model = BITS(eax, 19, 16);
548 ver = BITS(edx, 23, 23) ? /* mmx check */
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dvalues.h44 #define BITS(type) (BITSPERBYTE * (int)sizeof(type)) macro
47 #define HIBITS ((short)(1 << BITS(short) - 1))
48 #define HIBITI (1U << BITS(int) - 1)
49 #define HIBITL (1UL << BITS(long) - 1)
126 #define DSIGNIF (BITS(double) - _DEXPLEN + _HIDDENBIT - 1)
127 #define FSIGNIF (BITS(float) - _FEXPLEN + _HIDDENBIT - 1)
128 #define DMAXPOWTWO ((double)(1L << BITS(long) - 2) * \
129 (1L << DSIGNIF - BITS(long) + 1))
/illumos-gate/usr/src/head/
H A Dvalues.h50 #define BITS(type) (BITSPERBYTE * (long)sizeof (type)) macro
53 #define HIBITS ((short)(1 << (BITS(short) - 1)))
55 #define HIBITI (1U << (BITS(int) - 1))
56 #define HIBITL (1UL << (BITS(long) - 1))
111 #define DSIGNIF (BITS(double) - _DEXPLEN + _HIDDENBIT - 1)
112 #define FSIGNIF (BITS(float) - _FEXPLEN + _HIDDENBIT - 1)
113 #define DMAXPOWTWO ((double)(1 << (BITS(int) - 2)) * \
114 (1 << (DSIGNIF - BITS(int) + 1)))
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dboot_elf.s375 #define BITS(v, u, l) (((v) >> (l)) & MASK((u) - (l) + 1)) define
376 #define H44(v) BITS(v, 43, 22)
377 #define M44(v) BITS(v, 21, 12)
378 #define L44(v) BITS(v, 11, 0)
/illumos-gate/usr/src/uts/common/zmod/
H A Dinflate.c457 #define BITS(n) \ macro
499 the requested bits are not available. The typical use of the BITS macros
503 ... do something with BITS(n) ...
507 input left to load n bits into the accumulator, or it continues. BITS(n)
512 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream.
528 keep[want++] = BITS(n);
617 ((BITS(8) << 8) + (hold >> 8)) % 31) {
622 if (BITS(4) != Z_DEFLATED) {
628 len = BITS(4) + 8;
799 state->last = BITS(
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dstty.c99 #define BITS 2 macro
306 { "cr0", BITS, O_FLAG, IG|SS, CRDLY, CR0 },
307 { "cr1", BITS, O_FLAG, US, CRDLY, CR1 },
308 { "cr2", BITS, O_FLAG, US, CRDLY, CR2 },
309 { "cr3", BITS, O_FLAG, US, CRDLY, CR3 },
312 { "nl0", BITS, O_FLAG, IG|US, NLDLY, NL0 },
313 { "nl1", BITS, O_FLAG, US, NLDLY, NL1 },
318 { "tab0", BITS, O_FLAG, IG|SS, TABDLY, TAB0 },
321 { "tab1", BITS, O_FLAG, US, TABDLY, TAB1 },
324 { "tab2", BITS, O_FLA
[all...]
/illumos-gate/usr/src/uts/intel/pcbe/
H A Dopteron_pcbe.c428 #define BITS(v, u, l) \ macro
H A Dp123_pcbe.c459 #define BITS(v, u, l) \ macro
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c29 * in bytes. USERMEM is used to determine the maximum BITS that can be used
64 #ifdef PBITS /* Preferred BITS for this memory size */
65 #ifndef BITS
66 #define BITS PBITS macro
67 #endif /* BITS */
70 #if BITS == 16
73 #if BITS == 15
76 #if BITS == 14
79 #if BITS == 13
82 #if BITS <
[all...]
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmhdr.h182 /* Blocks are allocated such that their sizes are 0%(BITS+1)
188 #define BITS (07) /* (BUSY|PFREE|JUNK) */ macro
189 #define ALIGNB (8) /* size must be a multiple of BITS+1 */
191 #define ISBITS(w) ((w) & BITS)
192 #define CLRBITS(w) ((w) &= ~BITS)
193 #define CPYBITS(w,f) ((w) |= ((f)&BITS) )
241 ** It should also be a multiple of ALIGNB==(BITS+1) so the size field
242 ** of Block_t will always be 0%(BITS+1) as noted above.
431 #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) )
455 #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS)
[all...]
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtwreg.h54 #define BITS(m, n) ((BIT(MAX((m), (n)) + 1) - 1) ^ (BIT(MIN((m), (n))) - 1)) macro
137 #define RTW_BRSR_MBR8180_MASK BITS(1, 0) /* Maximum Basic Service Rate */
265 #define RTW_TCR_HWVERID_MASK BITS(29, 25)
277 #define RTW_TCR_MXDMA_MASK BITS(23, 21)
297 #define RTW_TCR_LBK_MASK BITS(18, 17)
311 #define RTW_TCR_SRL_MASK BITS(15, 8) /* Short Retry Limit */
312 #define RTW_TCR_LRL_MASK BITS(7, 0) /* Long Retry Limit */
341 #define RTW_RCR_RXFTH_MASK BITS(15, 13)
354 #define RTW_RCR_MXDMA_MASK BITS(10, 8)
430 #define RTW_9346CR_EEM_MASK BITS(
[all...]

Completed in 71 milliseconds