Home
last modified time | relevance | path

Searched refs:BITSET (Results 1 – 1 of 1) sorted by relevance

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