/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(21, 17) /* always 0 */ [all …]
|
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(5, 4) [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(7, 6) /* Operating Mode */ [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 */
|
/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/contrib/zlib/ |
H A D | infback.c | 185 #define BITS(n) \ macro 291 state->last = BITS(1); in inflateBack() 293 switch (BITS(2)) { in inflateBack() 352 state->nlen = BITS(5) + 257; in inflateBack() 354 state->ndist = BITS(5) + 1; in inflateBack() 356 state->ncode = BITS(4) + 4; in inflateBack() 371 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflateBack() 392 here = state->lencode[BITS(state->lenbits)]; in inflateBack() 410 copy = 3 + BITS(2); in inflateBack() 417 copy = 3 + BITS(3); in inflateBack() [all …]
|
H A D | inflate.c | 506 #define BITS(n) \ macro 660 ((BITS(8) << 8) + (hold >> 8)) % 31) { in inflate() 665 if (BITS(4) != Z_DEFLATED) { in inflate() 671 len = BITS(4) + 8; in inflate() 850 state->last = BITS(1); in inflate() 852 switch (BITS(2)) { in inflate() 916 state->nlen = BITS(5) + 257; in inflate() 918 state->ndist = BITS(5) + 1; in inflate() 920 state->ncode = BITS(4) + 4; in inflate() 936 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflate() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | stty.c | 101 #define BITS 2 macro 308 { "cr0", BITS, O_FLAG, IG|SS, CRDLY, CR0 }, 309 { "cr1", BITS, O_FLAG, US, CRDLY, CR1 }, 310 { "cr2", BITS, O_FLAG, US, CRDLY, CR2 }, 311 { "cr3", BITS, O_FLAG, US, CRDLY, CR3 }, 314 { "nl0", BITS, O_FLAG, IG|US, NLDLY, NL0 }, 315 { "nl1", BITS, O_FLAG, US, NLDLY, NL1 }, 320 { "tab0", BITS, O_FLAG, IG|SS, TABDLY, TAB0 }, 323 { "tab1", BITS, O_FLAG, US, TABDLY, TAB1 }, 326 { "tab2", BITS, O_FLAG, US, TABDLY, TAB2 }, [all …]
|
/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 67 #ifndef BITS 68 #define BITS PBITS macro 72 #if BITS == 16 75 #if BITS == 15 78 #if BITS == 14 81 #if BITS == 13 84 #if BITS <= 12 88 #define OUTSTACKSIZE (2<<BITS) 93 #if BITS > 15 136 static int maxbits = BITS; /* user settable max # bits/code */ [all …]
|
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | conf_pentium.c | 493 #define BITS(v, u, l) \ macro 528 if ((family = BITS(eax, 11, 8)) == 0xf) in cpc_getcpuver() 529 family = BITS(eax, 27, 20); in cpc_getcpuver() 530 if ((model = BITS(eax, 7, 4)) == 0xf) in cpc_getcpuver() 531 model = BITS(eax, 19, 16); in cpc_getcpuver() 546 ver = BITS(edx, 23, 23) ? /* mmx check */ in cpc_getcpuver()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmbest.c | 146 if(SIZE(node) & BITS) 190 { nextb = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) ); 409 s = SIZE(fp); /**/ASSERT(!(s&BITS)); 411 size = (size&~BITS) + s + sizeof(Head_t); 413 else size &= ~BITS; 419 { /**/ASSERT((s&BITS) == 0); 628 /**/ ASSERT((ALIGN%(BITS+1)) == 0 ); 648 SIZE(np) = ((s&~BITS) - (size+sizeof(Head_t)))|JUNK|BUSY; 650 SIZE(tp) |= s&BITS; 694 { SIZE(np) &= ~BITS; [all …]
|
H A D | vmhdr.h | 167 #define BITS (07) /* (BUSY|PFREE|JUNK) */ macro 170 #define ISBITS(w) ((w) & BITS) 171 #define CLRBITS(w) ((w) &= ~BITS) 172 #define CPYBITS(w,f) ((w) |= ((f)&BITS) ) 395 #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) 419 #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS)
|
H A D | vmstat.c | 91 { s = SIZE(b)&~BITS; 110 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
|
H A D | vmpool.c | 76 (s = (SIZE(tp) & ~BITS) + sizeof(Head_t)) >= size ) 81 { s = (SIZE(tp) & ~BITS) + sizeof(Head_t); 265 if(seg->size == (s = SIZE(fp)&~BITS))
|
H A D | vmtrace.c | 275 else s = SIZE(b)&~BITS; 279 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
|
/illumos-gate/usr/src/test/elf-tests/tests/mapfiles/assert/ |
H A D | mapfile.not-alias | 34 SH_ATTR = BITS; 41 SH_ATTR = BITS; 62 SH_ATTR = BITS;
|
H A D | mapfile.no-extern | 34 SH_ATTR = BITS; 41 SH_ATTR = BITS; 62 SH_ATTR = BITS;
|
H A D | mapfile.no-parent | 34 SH_ATTR = BITS; 41 SH_ATTR = BITS; 62 SH_ATTR = BITS;
|
H A D | mapfile.true | 34 SH_ATTR = BITS; 41 SH_ATTR = BITS; 62 SH_ATTR = BITS;
|
H A D | mapfile.wrongbits2 | 26 SH_ATTR = BITS;
|
/illumos-gate/usr/src/tools/smatch/src/validation/preprocessor/ |
H A D | predef.c | 1 #define BITS(T) (sizeof(T) * 8) macro 2 #define SIGN_BIT(T) (1ULL << (BITS(T) - 1)) 9 #define TEST_BIT(X, T) if (__ ## X ## _BIT__ != BITS(T)) return 1 in test()
|
/illumos-gate/usr/src/common/mc/mc-amd/ |
H A D | mcamd_patounum.c | 43 #define BITS(val, high, low) \ macro 105 dramaddr = BITS(pa, 39, 0) - BITS(base, 39, 24); in iaddr_gen() 116 if ((pailsel = BITS(pa, 14, 12) >> 12 & ilen) != ilsel) { in iaddr_gen() 125 top = BITS(dramaddr, 36, 13) >> 1; in iaddr_gen() 127 top = BITS(dramaddr, 37, 14) >> 2; in iaddr_gen() 129 top = BITS(dramaddr, 38, 15) >> 3; in iaddr_gen() 131 top = BITS(dramaddr, 35, 12); in iaddr_gen() 134 *iaddrp = top | BITS(dramaddr, 11, 0); in iaddr_gen()
|
H A D | mcamd_rowcol.c | 415 dramaddr = (BITS(iaddr, 35, 12) << intlvbits) | in iaddr_unnormalize() 416 (mcpp->intlvsel << 12) | BITS(iaddr, 11, 0); in iaddr_unnormalize() 594 BITS(csp.base, maskhi_hi + MC_CSMASK_UNMASKABLE(mcp.rev), in mc_offset_to_pa() 603 BITS(csp.base, maskhi_hi, maskhi_lo) & in mc_offset_to_pa() 604 ~BITS(csp.mask, maskhi_hi, maskhi_lo), in mc_offset_to_pa() 613 BITS(csp.base, masklo_hi, masklo_lo) & in mc_offset_to_pa() 614 ~BITS(csp.mask, masklo_hi, masklo_lo), in mc_offset_to_pa()
|
/illumos-gate/usr/src/common/ficl/test/ |
H A D | core.fr | 22 ( TEST IF ANY BITS ARE SET; ANSWER IN BASE 1 ) 24 { 0 BITSSET? -> 0 } ( ZERO IS ALL BITS CLEAR ) 594 : BITS ( X -- U ) 596 ( CHARACTERS >= 1 AU, <= SIZE OF CELL, >= 8 BITS ) 599 ( TBD: HOW TO FIND NUMBER OF BITS? ) 601 ( CELLS >= 1 AU, INTEGRAL MULTIPLE OF CHAR SIZE, >= 16 BITS ) 604 { 1S BITS 10 < -> <FALSE> } 839 : COUNT-BITS 841 COUNT-BITS 2* CONSTANT #BITS-UD \ NUMBER OF BITS IN UD 856 DUP #BITS-UD = SWAP
|
/illumos-gate/usr/src/test/elf-tests/tests/mapfiles/parser/ |
H A D | mapfile.addrsize.wrong | 26 SH_ATTR = BITS;
|