HelenOS sources

TSD_SIZE_MASK     385 uspace/drv/nic/rtl8139/driver.c 	assert((size & TSD_SIZE_MASK) == size);
TSD_SIZE_MASK     244 uspace/drv/nic/rtl8139/driver.h 	bit_set_part_32(tsd_value, (size) << TSD_SIZE_SHIFT, TSD_SIZE_MASK << TSD_SIZE_SHIFT)
HelenOS homepage, sources at GitHub