Home
last modified time | relevance | path

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

/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 …]
/drivers/block/
Dsunvdc.c716 void *dring; in vdc_alloc_tx_ring() local
723 dring = ldc_alloc_exp_dring(port->vio.lp, len, in vdc_alloc_tx_ring()
728 if (IS_ERR(dring)) in vdc_alloc_tx_ring()
729 return PTR_ERR(dring); in vdc_alloc_tx_ring()
731 dr->base = dring; in vdc_alloc_tx_ring()
/drivers/net/ethernet/sun/
Dsunvnet_common.c1722 void *dring; in vnet_port_alloc_tx_ring() local
1733 dring = ldc_alloc_exp_dring(port->vio.lp, len, in vnet_port_alloc_tx_ring()
1738 if (IS_ERR(dring)) { in vnet_port_alloc_tx_ring()
1739 err = PTR_ERR(dring); in vnet_port_alloc_tx_ring()
1743 dr->base = dring; in vnet_port_alloc_tx_ring()
Dcassini.c2285 int i, dring; in cas_rx_ringN() local
2347 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2349 cas_post_page(cp, dring, i); in cas_rx_ringN()
2354 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2356 cas_post_page(cp, dring, i); in cas_rx_ringN()
2361 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2363 cas_post_page(cp, dring, i); in cas_rx_ringN()