Lines Matching full:tx_desc
173 struct tx_desc { struct
226 struct tx_desc *tx_desc; member
451 struct tx_desc *desc; in hip04_tx_reclaim()
461 desc = &priv->tx_desc[tx_tail]; in hip04_tx_reclaim()
511 struct tx_desc *desc = &priv->tx_desc[tx_head]; in hip04_mac_start_xmit()
540 phys = priv->tx_desc_dma + tx_head * sizeof(struct tx_desc); in hip04_mac_start_xmit()
542 offsetof(struct tx_desc, send_addr)); in hip04_mac_start_xmit()
859 priv->tx_desc = dma_alloc_coherent(d, in hip04_alloc_ring()
860 TX_DESC_NUM * sizeof(struct tx_desc), in hip04_alloc_ring()
862 if (!priv->tx_desc) in hip04_alloc_ring()
889 dma_free_coherent(d, TX_DESC_NUM * sizeof(struct tx_desc), in hip04_free_ring()
890 priv->tx_desc, priv->tx_desc_dma); in hip04_free_ring()