Lines Matching refs:desc
2217 if (!rx_ring->desc) in wx_free_rx_resources()
2221 rx_ring->desc, rx_ring->dma); in wx_free_rx_resources()
2223 rx_ring->desc = NULL; in wx_free_rx_resources()
2333 if (!tx_ring->desc) in wx_free_tx_resources()
2337 tx_ring->desc, tx_ring->dma); in wx_free_tx_resources()
2338 tx_ring->desc = NULL; in wx_free_tx_resources()
2416 rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size, in wx_setup_rx_resources()
2418 if (!rx_ring->desc) { in wx_setup_rx_resources()
2420 rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size, in wx_setup_rx_resources()
2424 if (!rx_ring->desc) in wx_setup_rx_resources()
2439 dma_free_coherent(dev, rx_ring->size, rx_ring->desc, rx_ring->dma); in wx_setup_rx_resources()
2507 tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size, in wx_setup_tx_resources()
2509 if (!tx_ring->desc) { in wx_setup_tx_resources()
2511 tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size, in wx_setup_tx_resources()
2515 if (!tx_ring->desc) in wx_setup_tx_resources()