dma_ring_space
dma_ring_space((p)->tx_head, (p)->tx_tail, DMA_TX_RING_SZ)
while (dma_ring_space(priv->rx_head, priv->rx_tail, DMA_RX_RING_SZ) > 1) {