Searched refs:rx_skbuff_dma (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/net/stmmac/ |
D | stmmac.h | 46 dma_addr_t *rx_skbuff_dma; member
|
D | stmmac_main.c | 430 priv->rx_skbuff_dma = kmalloc(rxsize * sizeof(dma_addr_t), GFP_KERNEL); in init_dma_desc_rings() 471 priv->rx_skbuff_dma[i] = dma_map_single(priv->device, skb->data, in init_dma_desc_rings() 474 p->des2 = priv->rx_skbuff_dma[i]; in init_dma_desc_rings() 478 priv->rx_skbuff[i]->data, priv->rx_skbuff_dma[i]); in init_dma_desc_rings() 511 dma_unmap_single(priv->device, priv->rx_skbuff_dma[i], in dma_free_rx_skbufs() 550 kfree(priv->rx_skbuff_dma); in free_dma_desc_resources() 1158 priv->rx_skbuff_dma[entry] = in stmmac_rx_refill() 1162 (p + entry)->des2 = priv->rx_skbuff_dma[entry]; in stmmac_rx_refill() 1237 priv->rx_skbuff_dma[entry], in stmmac_rx()
|
/linux-2.6.39/drivers/net/ |
D | via-rhine.c | 423 dma_addr_t rx_skbuff_dma[RX_RING_SIZE]; member 1014 rp->rx_skbuff_dma[i] = in alloc_rbufs() 1018 rp->rx_ring[i].addr = cpu_to_le32(rp->rx_skbuff_dma[i]); in alloc_rbufs() 1035 rp->rx_skbuff_dma[i], in free_rbufs() 1779 rp->rx_skbuff_dma[entry], in rhine_rx() 1788 rp->rx_skbuff_dma[entry], in rhine_rx() 1802 rp->rx_skbuff_dma[entry], in rhine_rx() 1832 rp->rx_skbuff_dma[entry] = in rhine_rx() 1836 rp->rx_ring[entry].addr = cpu_to_le32(rp->rx_skbuff_dma[entry]); in rhine_rx()
|