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

/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe.c325 #define BITSET(p, ix, v) (p)[(ix)/8] |= ((v) ? 1 : 0) << ((ix) & 0x7) macro
336 BITSET(mac, 0, val & 1);
341 BITSET(mac, 1 + i, val & (1 << (15 - i)));
347 BITSET(mac, 17 + i, val & (1 << (15 - i)));
353 BITSET(mac, 33 + i, val & (1 << (15 - i)));
357 #undef BITSET macro

Completed in 49 milliseconds