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