Home
last modified time | relevance | path

Searched refs:RX_TOTAL_SIZE (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/sis/
H A Dsis900.h326 #define RX_TOTAL_SIZE NUM_RX_DESC*sizeof(BufferDesc) macro
H A Dsis900.c500 ring_space = dma_alloc_coherent(&pci_dev->dev, RX_TOTAL_SIZE, in sis900_probe()
584 dma_free_coherent(&pci_dev->dev, RX_TOTAL_SIZE, sis_priv->rx_ring, in sis900_probe()
2501 dma_free_coherent(&pci_dev->dev, RX_TOTAL_SIZE, sis_priv->rx_ring, in sis900_remove()
/linux/drivers/net/ethernet/dlink/
H A Ddl2k.h39 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc) macro
H A Ddl2k.c232 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in rio_probe1()
284 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in rio_probe1()
1797 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in rio_remove1()
/linux/drivers/net/ethernet/packetengines/
H A Dyellowfin.c78 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct yellowfin_desc) macro
446 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in yellowfin_init_one()
516 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in yellowfin_init_one()
1399 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in yellowfin_remove_one()
H A Dhamachi.c122 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct hamachi_desc) macro
658 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in hamachi_init_one()
782 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, hmp->rx_ring, in hamachi_init_one()
1927 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, hmp->rx_ring, in hamachi_remove_one()
/linux/drivers/net/ethernet/smsc/
H A Depic100.c57 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct epic_rx_desc) macro
385 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in epic_init_one()
500 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, ep->rx_ring, in epic_init_one()
1521 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, ep->rx_ring, in epic_remove_one()
/linux/drivers/net/ethernet/
H A Dfealnx.c59 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct fealnx_desc) macro
548 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in fealnx_init_one()
666 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in fealnx_init_one()
687 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in fealnx_remove_one()
/linux/drivers/net/hippi/
H A Drrunner.c164 tmpptr = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in rr_init_one()
207 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, rrpriv->rx_ring, in rr_init_one()
237 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, rr->rx_ring, in rr_remove_one()
H A Drrunner.h578 #define RX_TOTAL_SIZE (RX_RING_ENTRIES * sizeof(struct rx_desc)) macro