Home
last modified time | relevance | path

Searched refs:desc_ring (Results 1 – 22 of 22) sorted by relevance

/linux-6.3-rc2/kernel/printk/
A Dprintk_ringbuffer.c357 return &desc_ring->descs[DESC_INDEX(desc_ring, n)]; in to_desc()
366 return &desc_ring->infos[DESC_INDEX(desc_ring, n)]; in to_info()
571 struct prb_desc_ring *desc_ring = &rb->desc_ring; in data_make_reusable() local
770 struct prb_desc_ring *desc_ring = &rb->desc_ring; in desc_push_tail() local
877 struct prb_desc_ring *desc_ring = &rb->desc_ring; in desc_reserve() local
1353 struct prb_desc_ring *desc_ring = &rb->desc_ring; in prb_reserve_in_last() local
1488 struct prb_desc_ring *desc_ring = &rb->desc_ring; in prb_reserve() local
1578 struct prb_desc_ring *desc_ring = &e->rb->desc_ring; in _prb_commit() local
1799 struct prb_desc_ring *desc_ring = &rb->desc_ring; in prb_read() local
1837 struct prb_desc_ring *desc_ring = &rb->desc_ring; in prb_first_seq() local
[all …]
A Dprintk_ringbuffer.h88 struct prb_desc_ring desc_ring; member
256 .desc_ring = { \
A Dprintk.c989 VMCOREINFO_OFFSET(printk_ringbuffer, desc_ring); in log_buf_vmcoreinfo_setup()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_rx.c34 struct octep_oq_desc_hw *desc_ring = oq->desc_ring; in octep_oq_fill_ring_buffers() local
81 struct octep_oq_desc_hw *desc_ring = oq->desc_ring; in octep_oq_refill() local
155 if (unlikely(!oq->desc_ring)) { in octep_setup_oq()
182 oq->desc_ring, oq->desc_ring_dma); in octep_setup_oq()
183 oq->desc_ring = NULL; in octep_setup_oq()
200 struct octep_oq_desc_hw *desc_ring = oq->desc_ring; in octep_oq_free_ring_buffers() local
203 if (!oq->desc_ring || !oq->buff_info) in octep_oq_free_ring_buffers()
208 dma_unmap_page(oq->dev, desc_ring[i].buffer_ptr, in octep_oq_free_ring_buffers()
212 desc_ring[i].buffer_ptr = 0; in octep_oq_free_ring_buffers()
234 if (oq->desc_ring) in octep_free_oq()
[all …]
A Doctep_tx.c200 iq->desc_ring = dma_alloc_coherent(iq->dev, desc_ring_size, in octep_setup_iq()
202 if (unlikely(!iq->desc_ring)) { in octep_setup_iq()
250 iq->desc_ring, iq->desc_ring_dma); in octep_setup_iq()
275 if (iq->desc_ring) in octep_free_iq()
277 iq->desc_ring, iq->desc_ring_dma); in octep_free_iq()
A Doctep_rx.h192 struct octep_oq_desc_hw *desc_ring; member
A Doctep_tx.h164 struct octep_tx_desc_hw *desc_ring; member
A Doctep_main.c649 hw_desc = &iq->desc_ring[wi]; in octep_start_xmit()
/linux-6.3-rc2/drivers/net/ethernet/google/gve/
A Dgve_rx_dqo.c203 if (rx->dqo.bufq.desc_ring) { in gve_rx_free_ring_dqo()
207 rx->dqo.bufq.desc_ring = NULL; in gve_rx_free_ring_dqo()
210 if (rx->dqo.complq.desc_ring) { in gve_rx_free_ring_dqo()
211 size = sizeof(rx->dqo.complq.desc_ring[0]) * in gve_rx_free_ring_dqo()
215 rx->dqo.complq.desc_ring = NULL; in gve_rx_free_ring_dqo()
264 size = sizeof(rx->dqo.complq.desc_ring[0]) * in gve_rx_alloc_ring_dqo()
266 rx->dqo.complq.desc_ring = in gve_rx_alloc_ring_dqo()
268 if (!rx->dqo.complq.desc_ring) in gve_rx_alloc_ring_dqo()
273 rx->dqo.bufq.desc_ring = in gve_rx_alloc_ring_dqo()
275 if (!rx->dqo.bufq.desc_ring) in gve_rx_alloc_ring_dqo()
[all …]
A Dgve_rx.c59 dma_free_coherent(dev, bytes, rx->desc.desc_ring, rx->desc.bus); in gve_rx_free_ring()
60 rx->desc.desc_ring = NULL; in gve_rx_free_ring()
262 rx->desc.desc_ring = dma_alloc_coherent(hdev, bytes, &rx->desc.bus, in gve_rx_alloc_ring()
264 if (!rx->desc.desc_ring) { in gve_rx_alloc_ring()
710 desc = rx->desc.desc_ring + next_idx; in gve_rx_work_pending()
783 struct gve_rx_desc *desc = &rx->desc.desc_ring[idx]; in gve_clean_rx_done()
788 next_desc = &rx->desc.desc_ring[(idx + 1) & rx->mask]; in gve_clean_rx_done()
795 desc = &rx->desc.desc_ring[idx]; in gve_clean_rx_done()
A Dgve.h52 struct gve_rx_desc *desc_ring; /* the descriptor ring */ member
92 struct gve_rx_desc_dqo *desc_ring; member
101 struct gve_rx_compl_desc_dqo *desc_ring; member
A Dgve_adminq.c663 if (priv->rx_desc_cnt * sizeof(priv->rx->desc.desc_ring[0]) in gve_set_desc_cnt()
/linux-6.3-rc2/scripts/gdb/linux/
A Ddmesg.py44 desc_ring = utils.read_memoryview(inf, addr, sz).tobytes()
48 desc_ring_count = 1 << utils.read_u32(desc_ring, off)
51 desc_addr = utils.read_ulong(desc_ring, off)
56 info_addr = utils.read_ulong(desc_ring, off)
89 tail_id = utils.read_atomic_long(desc_ring, off)
91 head_id = utils.read_atomic_long(desc_ring, off)
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Docteon_droq.c172 struct octeon_droq_desc *desc_ring = droq->desc_ring; in octeon_droq_setup_ring_buffers() local
186 desc_ring[i].info_ptr = 0; in octeon_droq_setup_ring_buffers()
187 desc_ring[i].buffer_ptr = in octeon_droq_setup_ring_buffers()
207 if (droq->desc_ring) in octeon_delete_droq()
272 if (!droq->desc_ring) { in octeon_init_droq()
390 struct octeon_droq_desc *desc_ring) in octeon_droq_refill_pullup_descs() argument
403 desc_ring[refill_index].buffer_ptr; in octeon_droq_refill_pullup_descs()
405 desc_ring[refill_index].buffer_ptr = 0; in octeon_droq_refill_pullup_descs()
433 struct octeon_droq_desc *desc_ring; in octeon_droq_refill() local
439 desc_ring = droq->desc_ring; in octeon_droq_refill()
[all …]
A Docteon_droq.h257 struct octeon_droq_desc *desc_ring; member
/linux-6.3-rc2/drivers/dma/
A Dplx_dma.c116 struct plx_dma_desc **desc_ring; member
131 return plxdev->desc_ring[i & (PLX_DMA_RING_COUNT - 1)]; in plx_dma_get_desc()
381 plxdev->desc_ring = kcalloc(PLX_DMA_RING_COUNT, in plx_dma_alloc_desc()
382 sizeof(*plxdev->desc_ring), GFP_KERNEL); in plx_dma_alloc_desc()
383 if (!plxdev->desc_ring) in plx_dma_alloc_desc()
395 plxdev->desc_ring[i] = desc; in plx_dma_alloc_desc()
402 kfree(plxdev->desc_ring[i]); in plx_dma_alloc_desc()
403 kfree(plxdev->desc_ring); in plx_dma_alloc_desc()
480 kfree(plxdev->desc_ring[i]); in plx_dma_free_chan_resources()
482 kfree(plxdev->desc_ring); in plx_dma_free_chan_resources()
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dcpmac.c192 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()
934 if (!priv->desc_ring) { in cpmac_open()
992 priv->desc_ring, priv->dma_ring); in cpmac_open()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/socionext/
A Dnetsec.c292 struct netsec_desc_ring desc_ring[NETSEC_RING_MAX]; member
861 &priv->desc_ring[NETSEC_RING_RX]; in netsec_xdp_queue_one()
1201 struct netsec_desc_ring *dring = &priv->desc_ring[id]; in netsec_uninit_pkt_dring()
1242 struct netsec_desc_ring *dring = &priv->desc_ring[id]; in netsec_free_dring()
1256 struct netsec_desc_ring *dring = &priv->desc_ring[id]; in netsec_alloc_dring()
1431 upper_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); in netsec_reset_hardware()
1433 lower_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); in netsec_reset_hardware()
1436 upper_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); in netsec_reset_hardware()
1438 lower_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); in netsec_reset_hardware()
1730 spin_lock_init(&priv->desc_ring[NETSEC_RING_TX].lock); in netsec_netdev_init()
[all …]
/linux-6.3-rc2/Documentation/admin-guide/kdump/
A Dgdbmacros.txt298 set var $desc_count = 1U << prb->desc_ring.count_bits
301 set var $id = prb->desc_ring.tail_id.counter
302 set var $end_id = prb->desc_ring.head_id.counter
305 set var $desc = &prb->desc_ring.descs[$id % $desc_count]
306 set var $info = &prb->desc_ring.infos[$id % $desc_count]
A Dvmcoreinfo.rst229 (printk_ringbuffer, desc_ring|text_data_ring|dict_data_ring|fail)
/linux-6.3-rc2/drivers/net/ethernet/cortina/
A Dgemini.c552 struct gmac_txdesc *desc_ring; in gmac_setup_txqs() local
565 desc_ring = dma_alloc_coherent(geth->dev, len * sizeof(*desc_ring), in gmac_setup_txqs()
568 if (!desc_ring) { in gmac_setup_txqs()
575 dma_free_coherent(geth->dev, len * sizeof(*desc_ring), in gmac_setup_txqs()
576 desc_ring, port->txq_dma_base); in gmac_setup_txqs()
585 txq->ring = desc_ring; in gmac_setup_txqs()
596 desc_ring += entries; in gmac_setup_txqs()
/linux-6.3-rc2/drivers/net/ethernet/rdc/
A Dr6040.c294 static void r6040_init_ring_desc(struct r6040_descriptor *desc_ring, in r6040_init_ring_desc() argument
297 struct r6040_descriptor *desc = desc_ring; in r6040_init_ring_desc()
308 desc->vndescp = desc_ring; in r6040_init_ring_desc()

Completed in 66 milliseconds