sbefifo_populated
#define sbefifo_vacant(sts) (SBEFIFO_FIFO_DEPTH - sbefifo_populated(sts))
len = sbefifo_populated(status);