Lines Matching refs:tx_tail
248 unsigned int tx_tail ____cacheline_aligned_in_smp;
450 unsigned tx_tail = priv->tx_tail; in hip04_tx_reclaim() local
456 count = tx_count(READ_ONCE(priv->tx_head), tx_tail); in hip04_tx_reclaim()
461 desc = &priv->tx_desc[tx_tail]; in hip04_tx_reclaim()
469 if (priv->tx_phys[tx_tail]) { in hip04_tx_reclaim()
470 dma_unmap_single(priv->dev, priv->tx_phys[tx_tail], in hip04_tx_reclaim()
471 priv->tx_skb[tx_tail]->len, in hip04_tx_reclaim()
473 priv->tx_phys[tx_tail] = 0; in hip04_tx_reclaim()
476 bytes_compl += priv->tx_skb[tx_tail]->len; in hip04_tx_reclaim()
477 dev_kfree_skb(priv->tx_skb[tx_tail]); in hip04_tx_reclaim()
478 priv->tx_skb[tx_tail] = NULL; in hip04_tx_reclaim()
479 tx_tail = TX_NEXT(tx_tail); in hip04_tx_reclaim()
483 priv->tx_tail = tx_tail; in hip04_tx_reclaim()
515 count = tx_count(tx_head, READ_ONCE(priv->tx_tail)); in hip04_mac_start_xmit()
731 priv->tx_tail = 0; in hip04_mac_open()