Lines Matching refs:tx_desc
134 struct tx_desc { struct
162 struct tx_desc *tx_desc; member
371 struct tx_desc *desc; in hip04_tx_reclaim()
381 desc = &priv->tx_desc[tx_tail]; in hip04_tx_reclaim()
430 struct tx_desc *desc = &priv->tx_desc[tx_head]; in hip04_mac_start_xmit()
451 phys = priv->tx_desc_dma + tx_head * sizeof(struct tx_desc); in hip04_mac_start_xmit()
777 priv->tx_desc = dma_alloc_coherent(d, in hip04_alloc_ring()
778 TX_DESC_NUM * sizeof(struct tx_desc), in hip04_alloc_ring()
780 if (!priv->tx_desc) in hip04_alloc_ring()
807 dma_free_coherent(d, TX_DESC_NUM * sizeof(struct tx_desc), in hip04_free_ring()
808 priv->tx_desc, priv->tx_desc_dma); in hip04_free_ring()