Home
last modified time | relevance | path

Searched refs:dring (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/socionext/
Dnetsec.c613 struct netsec_desc_ring *dring, u16 idx, in netsec_set_rx_de() argument
616 struct netsec_de *de = dring->vaddr + DESC_SZ * idx; in netsec_set_rx_de()
630 dring->desc[idx].dma_addr = desc->dma_addr; in netsec_set_rx_de()
631 dring->desc[idx].addr = desc->addr; in netsec_set_rx_de()
632 dring->desc[idx].len = desc->len; in netsec_set_rx_de()
637 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; in netsec_clean_tx_dring() local
640 int tail = dring->tail; in netsec_clean_tx_dring()
644 spin_lock(&dring->lock); in netsec_clean_tx_dring()
648 entry = dring->vaddr + DESC_SZ * tail; in netsec_clean_tx_dring()
657 desc = &dring->desc[tail]; in netsec_clean_tx_dring()
[all …]
/Linux-v6.6/drivers/block/
Dsunvdc.c718 void *dring; in vdc_alloc_tx_ring() local
725 dring = ldc_alloc_exp_dring(port->vio.lp, len, in vdc_alloc_tx_ring()
730 if (IS_ERR(dring)) in vdc_alloc_tx_ring()
731 return PTR_ERR(dring); in vdc_alloc_tx_ring()
733 dr->base = dring; in vdc_alloc_tx_ring()
/Linux-v6.6/drivers/net/ethernet/sun/
Dsunvnet_common.c1723 void *dring; in vnet_port_alloc_tx_ring() local
1734 dring = ldc_alloc_exp_dring(port->vio.lp, len, in vnet_port_alloc_tx_ring()
1739 if (IS_ERR(dring)) { in vnet_port_alloc_tx_ring()
1740 err = PTR_ERR(dring); in vnet_port_alloc_tx_ring()
1744 dr->base = dring; in vnet_port_alloc_tx_ring()
Dcassini.c2255 int i, dring; in cas_rx_ringN() local
2317 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2319 cas_post_page(cp, dring, i); in cas_rx_ringN()
2324 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2326 cas_post_page(cp, dring, i); in cas_rx_ringN()
2331 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2333 cas_post_page(cp, dring, i); in cas_rx_ringN()
/Linux-v6.6/Documentation/networking/
Dpage_pool.rst156 dma_dir = page_pool_get_dma_dir(dring->page_pool);