/illumos-gate/usr/src/uts/common/io/rtw/ |
H A D | sa2400reg.h | 45 #define SA2400_TWI_DATA_MASK BITS(31, 8) 47 #define SA2400_TWI_ADDR_MASK BITS(6, 0) 63 #define SA2400_SYNA_NF_MASK BITS(20, 18) 68 #define SA2400_SYNA_N_MASK BITS(17, 2) 76 #define SA2400_SYNB_R_MASK BITS(21, 12) 77 #define SA2400_SYNB_L_MASK BITS(11, 10) /* lock detect mode */ 97 #define SA2400_SYNB_FC_MASK BITS(7, 0) 99 #define SA2400_SYNC_CP_MASK BITS(7, 6) /* charge pump current setting */ 110 #define SA2400_SYNC_SM_MASK BITS(5, 3) 114 #define SA2400_SYND_ZERO1_MASK BITS(2 [all...] |
H A D | si4136reg.h | 46 #define SI4126_TWI_DATA_MASK BITS(21, 4) 47 #define SI4126_TWI_ADDR_MASK BITS(3, 0) 53 #define SI4126_MAIN_AUXSEL_MASK BITS(13, 12) /* aux. output pin function */ 70 #define SI4126_MAIN_IFDIV_MASK BITS(11, 10) 81 #define SI4126_GAIN_KPI_MASK BITS(5, 4) /* IF phase detector gain */ 82 #define SI4126_GAIN_KP2_MASK BITS(3, 2) /* RF2 phase detector gain */ 83 #define SI4126_GAIN_KP1_MASK BITS(1, 0) /* RF1 phase detector gain */
|
H A D | max2820reg.h | 47 #define MAX2820_TWI_ADDR_MASK BITS(15, 12) 48 #define MAX2820_TWI_DATA_MASK BITS(11, 0) 55 #define MAX2820_TEST_DEFAULT BITS(2, 0) /* Always set to this value. */ 115 #define MAX2820_SYNTH_RSVD0 BITS(11, 7) /* reserved */ 127 #define MAX2820_SYNTH_R_MASK BITS(5, 0) 134 #define MAX2820_CHANNEL_RSVD BITS(11, 7) /* reserved */ 139 #define MAX2820_CHANNEL_CF_MASK BITS(6, 0) 151 #define MAX2820_RECEIVE_2C_MASK BITS(11, 9) 155 #define MAX2820_RECEIVE_1C_MASK BITS(8, 6) 163 #define MAX2820_RECEIVE_DL_MASK BITS( [all...] |
H A D | rtwreg.h | 54 #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...] |
/illumos-gate/usr/src/head/ |
H A D | values.h | 50 #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/lib/libbc/inc/include/ |
H A D | values.h | 44 #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/boot/lib/libz/ |
H A D | infback.c | 190 #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 D | inflate.c | 506 #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/cmd/ztest/ |
H A D | zloop.bash | 23 export BITS=64 33 eval 'ARCHBITS=${'"${ARCH}_${BITS}"'}' 107 export LD_LIBRARY_PATH=$ROOT/lib/$BITS:$ROOT/usr/lib/$BITS
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | stty.c | 99 #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/cmd/compress/ |
H A D | compress.c | 29 * 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/libcpc/i386/ |
H A D | conf_pentium.c | 495 #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/common/mc/mc-amd/ |
H A D | mcamd_rowcol_impl.h | 50 #define BITS(val, high, low) \ macro
|
H A D | mcamd_patounum.c | 45 #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);
|
H A D | mcamd_rowcol.c | 413 dramaddr = (BITS(iaddr, 35, 12) << intlvbits) | 414 (mcpp->intlvsel << 12) | BITS(iaddr, 11, 0); 593 BITS(csp.base, maskhi_hi + MC_CSMASK_UNMASKABLE(mcp.rev), 602 BITS(csp.base, maskhi_hi, maskhi_lo) & 603 ~BITS(csp.mask, maskhi_hi, maskhi_lo), 612 BITS(csp.base, masklo_hi, masklo_lo) & 613 ~BITS(csp.mask, masklo_hi, masklo_lo),
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | inflate.c | 457 #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/libast/common/vmalloc/ |
H A D | vmbest.c | 155 if(SIZE(node) & BITS) 199 { nextb = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) ); 437 s = SIZE(fp); /**/ASSERT(!(s&BITS)); 439 size = (size&~BITS) + s + sizeof(Head_t); 441 else size &= ~BITS; 454 { /**/ASSERT((s&BITS) == 0); 683 /**/ ASSERT((ALIGN%(BITS+1)) == 0 ); 703 SIZE(np) = ((s&~BITS) - (size+sizeof(Head_t)))|JUNK|BUSY; 705 SIZE(tp) |= s&BITS; 758 { SIZE(np) &= ~BITS; [all...] |
H A D | vmstat.c | 84 { s = SIZE(b)&~BITS; 102 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
|
H A D | vmhdr.h | 182 /* 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...] |
H A D | vmtrace.c | 275 else s = SIZE(b)&~BITS; 279 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
|
H A D | vmpool.c | 83 (s = (SIZE(tp) & ~BITS) + sizeof(Head_t)) >= size ) 89 { s = (SIZE(tp) & ~BITS) + sizeof(Head_t); 320 if(seg->size == (s = SIZE(fp)&~BITS))
|
H A D | vmprivate.c | 124 { /**/ ASSERT((SIZE(bp)&~BITS) == 0);
|
H A D | vmdebug.c | 320 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) ); 365 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) ); 655 next: b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS));
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | cpc_subr.c | 175 #define BITS(v, u, l) \ macro
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | boot_elf.s | 375 #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)
|