Lines Matching refs:tx_tail
132 priv->tx_tail = 0; in moxart_mac_setup_desc_ring()
282 return CIRC_SPACE(priv->tx_head, priv->tx_tail, TX_DESC_NUM); in moxart_tx_queue_space()
289 unsigned int tx_tail = priv->tx_tail; in moxart_tx_finished() local
291 while (tx_tail != tx_head) { in moxart_tx_finished()
292 dma_unmap_single(&priv->pdev->dev, priv->tx_mapping[tx_tail], in moxart_tx_finished()
293 priv->tx_len[tx_tail], DMA_TO_DEVICE); in moxart_tx_finished()
296 ndev->stats.tx_bytes += priv->tx_skb[tx_tail]->len; in moxart_tx_finished()
298 dev_consume_skb_irq(priv->tx_skb[tx_tail]); in moxart_tx_finished()
299 priv->tx_skb[tx_tail] = NULL; in moxart_tx_finished()
301 tx_tail = TX_NEXT(tx_tail); in moxart_tx_finished()
303 priv->tx_tail = tx_tail; in moxart_tx_finished()