desc_ring 158 drivers/dma/mic_x100_dma.c mic_dma_memcpy_desc(&ch->desc_ring[ch->head], desc_ring 171 drivers/dma/mic_x100_dma.c mic_dma_prep_status_desc(&ch->desc_ring[ch->head], 0, desc_ring 174 drivers/dma/mic_x100_dma.c mic_dma_prep_status_desc(&ch->desc_ring[ch->head], 0, desc_ring 195 drivers/dma/mic_x100_dma.c mic_dma_prep_status_desc(&ch->desc_ring[ch->head], 0, desc_ring 280 drivers/dma/mic_x100_dma.c mic_dma_prep_status_desc(&mic_ch->desc_ring[mic_ch->head], src_val, dst, desc_ring 363 drivers/dma/mic_x100_dma.c u64 desc_ring_size = MIC_DMA_DESC_RX_SIZE * sizeof(*ch->desc_ring); desc_ring 367 drivers/dma/mic_x100_dma.c ch->desc_ring = kzalloc(desc_ring_size, GFP_KERNEL); desc_ring 369 drivers/dma/mic_x100_dma.c if (!ch->desc_ring) desc_ring 372 drivers/dma/mic_x100_dma.c ch->desc_ring_micpa = dma_map_single(dev, ch->desc_ring, desc_ring 386 drivers/dma/mic_x100_dma.c kfree(ch->desc_ring); desc_ring 392 drivers/dma/mic_x100_dma.c u64 desc_ring_size = MIC_DMA_DESC_RX_SIZE * sizeof(*ch->desc_ring); desc_ring 398 drivers/dma/mic_x100_dma.c kfree(ch->desc_ring); desc_ring 399 drivers/dma/mic_x100_dma.c ch->desc_ring = NULL; desc_ring 109 drivers/dma/mic_x100_dma.h struct mic_dma_desc *desc_ring; desc_ring 172 drivers/net/ethernet/cavium/liquidio/octeon_droq.c struct octeon_droq_desc *desc_ring = droq->desc_ring; desc_ring 186 drivers/net/ethernet/cavium/liquidio/octeon_droq.c desc_ring[i].info_ptr = 0; desc_ring 187 drivers/net/ethernet/cavium/liquidio/octeon_droq.c desc_ring[i].buffer_ptr = desc_ring 207 drivers/net/ethernet/cavium/liquidio/octeon_droq.c if (droq->desc_ring) desc_ring 209 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->desc_ring, droq->desc_ring_dma); desc_ring 269 drivers/net/ethernet/cavium/liquidio/octeon_droq.c droq->desc_ring = lio_dma_alloc(oct, desc_ring_size, desc_ring 272 drivers/net/ethernet/cavium/liquidio/octeon_droq.c if (!droq->desc_ring) { desc_ring 279 drivers/net/ethernet/cavium/liquidio/octeon_droq.c q_no, droq->desc_ring, droq->desc_ring_dma); desc_ring 393 drivers/net/ethernet/cavium/liquidio/octeon_droq.c struct octeon_droq_desc *desc_ring) desc_ring 405 drivers/net/ethernet/cavium/liquidio/octeon_droq.c desc_ring[droq->refill_idx].buffer_ptr = desc_ring 406 drivers/net/ethernet/cavium/liquidio/octeon_droq.c desc_ring[refill_index].buffer_ptr; desc_ring 408 drivers/net/ethernet/cavium/liquidio/octeon_droq.c desc_ring[refill_index].buffer_ptr = 0; desc_ring 436 drivers/net/ethernet/cavium/liquidio/octeon_droq.c struct octeon_droq_desc *desc_ring; desc_ring 442 drivers/net/ethernet/cavium/liquidio/octeon_droq.c desc_ring = droq->desc_ring; desc_ring 475 drivers/net/ethernet/cavium/liquidio/octeon_droq.c desc_ring[droq->refill_idx].buffer_ptr = desc_ring 487 drivers/net/ethernet/cavium/liquidio/octeon_droq.c octeon_droq_refill_pullup_descs(droq, desc_ring); desc_ring 257 drivers/net/ethernet/cavium/liquidio/octeon_droq.h struct octeon_droq_desc *desc_ring; desc_ring 556 drivers/net/ethernet/cortina/gemini.c struct gmac_txdesc *desc_ring; desc_ring 569 drivers/net/ethernet/cortina/gemini.c desc_ring = dma_alloc_coherent(geth->dev, len * sizeof(*desc_ring), desc_ring 572 drivers/net/ethernet/cortina/gemini.c if (!desc_ring) { desc_ring 579 drivers/net/ethernet/cortina/gemini.c dma_free_coherent(geth->dev, len * sizeof(*desc_ring), desc_ring 580 drivers/net/ethernet/cortina/gemini.c desc_ring, port->txq_dma_base); desc_ring 589 drivers/net/ethernet/cortina/gemini.c txq->ring = desc_ring; desc_ring 600 drivers/net/ethernet/cortina/gemini.c desc_ring += entries; desc_ring 32 drivers/net/ethernet/google/gve/gve.h struct gve_rx_desc *desc_ring; /* the descriptor ring */ desc_ring 292 drivers/net/ethernet/google/gve/gve_adminq.c if (priv->rx_desc_cnt * sizeof(priv->rx->desc.desc_ring[0]) desc_ring 29 drivers/net/ethernet/google/gve/gve_rx.c dma_free_coherent(dev, bytes, rx->desc.desc_ring, rx->desc.bus); desc_ring 30 drivers/net/ethernet/google/gve/gve_rx.c rx->desc.desc_ring = NULL; desc_ring 153 drivers/net/ethernet/google/gve/gve_rx.c rx->desc.desc_ring = dma_alloc_coherent(hdev, bytes, &rx->desc.bus, desc_ring 155 drivers/net/ethernet/google/gve/gve_rx.c if (!rx->desc.desc_ring) { desc_ring 372 drivers/net/ethernet/google/gve/gve_rx.c desc = rx->desc.desc_ring + next_idx; desc_ring 391 drivers/net/ethernet/google/gve/gve_rx.c desc = rx->desc.desc_ring + idx; desc_ring 406 drivers/net/ethernet/google/gve/gve_rx.c desc = rx->desc.desc_ring + idx; desc_ring 292 drivers/net/ethernet/rdc/r6040.c static void r6040_init_ring_desc(struct r6040_descriptor *desc_ring, desc_ring 295 drivers/net/ethernet/rdc/r6040.c struct r6040_descriptor *desc = desc_ring; desc_ring 306 drivers/net/ethernet/rdc/r6040.c desc->vndescp = desc_ring; desc_ring 291 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring desc_ring[NETSEC_RING_MAX]; desc_ring 630 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; desc_ring 721 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_RX]; desc_ring 746 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_RX]; desc_ring 817 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *tx_ring = &priv->desc_ring[NETSEC_RING_TX]; desc_ring 846 drivers/net/ethernet/socionext/netsec.c &priv->desc_ring[NETSEC_RING_RX]; desc_ring 868 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *tx_ring = &priv->desc_ring[NETSEC_RING_TX]; desc_ring 926 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_RX]; desc_ring 1090 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; desc_ring 1115 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; desc_ring 1180 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[id]; desc_ring 1221 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[id]; desc_ring 1235 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[id]; desc_ring 1255 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; desc_ring 1272 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_RX]; desc_ring 1408 drivers/net/ethernet/socionext/netsec.c upper_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); desc_ring 1410 drivers/net/ethernet/socionext/netsec.c lower_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); desc_ring 1413 drivers/net/ethernet/socionext/netsec.c upper_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); desc_ring 1415 drivers/net/ethernet/socionext/netsec.c lower_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); desc_ring 1704 drivers/net/ethernet/socionext/netsec.c spin_lock_init(&priv->desc_ring[NETSEC_RING_TX].lock); desc_ring 1705 drivers/net/ethernet/socionext/netsec.c spin_lock_init(&priv->desc_ring[NETSEC_RING_RX].lock); desc_ring 1743 drivers/net/ethernet/socionext/netsec.c struct netsec_desc_ring *tx_ring = &priv->desc_ring[NETSEC_RING_TX]; desc_ring 192 drivers/net/ethernet/ti/cpmac.c struct cpmac_desc *desc_ring; desc_ring 552 drivers/net/ethernet/ti/cpmac.c desc = &priv->desc_ring[queue]; desc_ring 585 drivers/net/ethernet/ti/cpmac.c desc = &priv->desc_ring[queue]; desc_ring 704 drivers/net/ethernet/ti/cpmac.c if (unlikely(!priv->desc_ring)) desc_ring 707 drivers/net/ethernet/ti/cpmac.c priv->desc_ring[i].dataflags = 0; desc_ring 708 drivers/net/ethernet/ti/cpmac.c if (priv->desc_ring[i].skb) { desc_ring 709 drivers/net/ethernet/ti/cpmac.c dev_kfree_skb_any(priv->desc_ring[i].skb); desc_ring 710 drivers/net/ethernet/ti/cpmac.c priv->desc_ring[i].skb = NULL; desc_ring 936 drivers/net/ethernet/ti/cpmac.c priv->desc_ring = dma_alloc_coherent(&dev->dev, desc_ring 940 drivers/net/ethernet/ti/cpmac.c if (!priv->desc_ring) { desc_ring 946 drivers/net/ethernet/ti/cpmac.c priv->desc_ring[i].mapping = priv->dma_ring + sizeof(*desc) * i; desc_ring 948 drivers/net/ethernet/ti/cpmac.c priv->rx_head = &priv->desc_ring[CPMAC_QUEUES]; desc_ring 998 drivers/net/ethernet/ti/cpmac.c priv->desc_ring, priv->dma_ring); desc_ring 1033 drivers/net/ethernet/ti/cpmac.c priv->rx_head = &priv->desc_ring[CPMAC_QUEUES]; desc_ring 1046 drivers/net/ethernet/ti/cpmac.c priv->desc_ring, priv->dma_ring);