Lines Matching refs:desc_ring
192 struct cpmac_desc *desc_ring; member
552 desc = &priv->desc_ring[queue]; in cpmac_start_xmit()
585 desc = &priv->desc_ring[queue]; in cpmac_end_xmit()
704 if (unlikely(!priv->desc_ring)) in cpmac_clear_tx()
707 priv->desc_ring[i].dataflags = 0; in cpmac_clear_tx()
708 if (priv->desc_ring[i].skb) { in cpmac_clear_tx()
709 dev_kfree_skb_any(priv->desc_ring[i].skb); in cpmac_clear_tx()
710 priv->desc_ring[i].skb = NULL; in cpmac_clear_tx()
930 priv->desc_ring = dma_alloc_coherent(&dev->dev, in cpmac_open()
934 if (!priv->desc_ring) { in cpmac_open()
940 priv->desc_ring[i].mapping = priv->dma_ring + sizeof(*desc) * i; in cpmac_open()
942 priv->rx_head = &priv->desc_ring[CPMAC_QUEUES]; in cpmac_open()
992 priv->desc_ring, priv->dma_ring); in cpmac_open()
1027 priv->rx_head = &priv->desc_ring[CPMAC_QUEUES]; in cpmac_stop()
1040 priv->desc_ring, priv->dma_ring); in cpmac_stop()