Lines Matching refs:tx_buff
119 struct buffer_state *tx_buff = &priv->tx_buff[*txbd_dirty]; in arc_emac_tx_clean() local
120 struct sk_buff *skb = tx_buff->skb; in arc_emac_tx_clean()
143 dma_unmap_single(&ndev->dev, dma_unmap_addr(tx_buff, addr), in arc_emac_tx_clean()
144 dma_unmap_len(tx_buff, len), DMA_TO_DEVICE); in arc_emac_tx_clean()
151 tx_buff->skb = NULL; in arc_emac_tx_clean()
555 struct buffer_state *tx_buff = &priv->tx_buff[i]; in arc_free_tx_queue() local
557 if (tx_buff->skb) { in arc_free_tx_queue()
559 dma_unmap_addr(tx_buff, addr), in arc_free_tx_queue()
560 dma_unmap_len(tx_buff, len), in arc_free_tx_queue()
564 dev_kfree_skb_irq(tx_buff->skb); in arc_free_tx_queue()
569 tx_buff->skb = NULL; in arc_free_tx_queue()
704 dma_unmap_addr_set(&priv->tx_buff[*txbd_curr], addr, addr); in arc_emac_tx()
705 dma_unmap_len_set(&priv->tx_buff[*txbd_curr], len, len); in arc_emac_tx()
719 priv->tx_buff[*txbd_curr].skb = skb; in arc_emac_tx()