REG_FIFO_DEPTH_DWORDS
for (dwords_read = 0; fifo_has_data && dwords_read < REG_FIFO_DEPTH_DWORDS; dwords_read += REG_FIFO_ELEMENT_DWORDS, offset += REG_FIFO_ELEMENT_DWORDS) {
offset += REG_FIFO_DEPTH_DWORDS;