Searched refs:dring (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/socionext/ |
D | netsec.c | 609 struct netsec_desc_ring *dring, u16 idx, in netsec_set_rx_de() argument 612 struct netsec_de *de = dring->vaddr + DESC_SZ * idx; in netsec_set_rx_de() 626 dring->desc[idx].dma_addr = desc->dma_addr; in netsec_set_rx_de() 627 dring->desc[idx].addr = desc->addr; in netsec_set_rx_de() 628 dring->desc[idx].len = desc->len; in netsec_set_rx_de() 633 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; in netsec_clean_tx_dring() local 635 int tail = dring->tail; in netsec_clean_tx_dring() 639 spin_lock(&dring->lock); in netsec_clean_tx_dring() 642 entry = dring->vaddr + DESC_SZ * tail; in netsec_clean_tx_dring() 649 desc = &dring->desc[tail]; in netsec_clean_tx_dring() [all …]
|
/drivers/block/ |
D | sunvdc.c | 716 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/ |
D | sunvnet_common.c | 1722 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()
|
D | cassini.c | 2284 int i, dring; in cas_rx_ringN() local 2346 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN() 2348 cas_post_page(cp, dring, i); in cas_rx_ringN() 2353 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN() 2355 cas_post_page(cp, dring, i); in cas_rx_ringN() 2360 dring = CAS_VAL(RX_INDEX_RING, i); in cas_rx_ringN() 2362 cas_post_page(cp, dring, i); in cas_rx_ringN()
|