Home
last modified time | relevance | path

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

/drivers/net/ethernet/socionext/
Dnetsec.c606 struct netsec_desc_ring *dring, u16 idx, in netsec_set_rx_de() argument
609 struct netsec_de *de = dring->vaddr + DESC_SZ * idx; in netsec_set_rx_de()
623 dring->desc[idx].dma_addr = desc->dma_addr; in netsec_set_rx_de()
624 dring->desc[idx].addr = desc->addr; in netsec_set_rx_de()
625 dring->desc[idx].len = desc->len; in netsec_set_rx_de()
630 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; in netsec_clean_tx_dring() local
632 int tail = dring->tail; in netsec_clean_tx_dring()
636 spin_lock(&dring->lock); in netsec_clean_tx_dring()
639 entry = dring->vaddr + DESC_SZ * tail; in netsec_clean_tx_dring()
646 desc = &dring->desc[tail]; in netsec_clean_tx_dring()
[all …]
/drivers/block/
Dsunvdc.c715 void *dring; in vdc_alloc_tx_ring() local
722 dring = ldc_alloc_exp_dring(port->vio.lp, len, in vdc_alloc_tx_ring()
727 if (IS_ERR(dring)) in vdc_alloc_tx_ring()
728 return PTR_ERR(dring); in vdc_alloc_tx_ring()
730 dr->base = dring; in vdc_alloc_tx_ring()
/drivers/net/ethernet/sun/
Dsunvnet_common.c1740 void *dring; in vnet_port_alloc_tx_ring() local
1751 dring = ldc_alloc_exp_dring(port->vio.lp, len, in vnet_port_alloc_tx_ring()
1756 if (IS_ERR(dring)) { in vnet_port_alloc_tx_ring()
1757 err = PTR_ERR(dring); in vnet_port_alloc_tx_ring()
1761 dr->base = dring; in vnet_port_alloc_tx_ring()
Dcassini.c2297 int i, dring; in cas_rx_ringN() local
2359 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2361 cas_post_page(cp, dring, i); in cas_rx_ringN()
2366 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2368 cas_post_page(cp, dring, i); in cas_rx_ringN()
2373 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN()
2375 cas_post_page(cp, dring, i); in cas_rx_ringN()