Home
last modified time | relevance | path

Searched refs:RX_TOTAL_SIZE (Results 1 – 9 of 9) 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.c489 ring_space = dma_alloc_coherent(&pci_dev->dev, RX_TOTAL_SIZE, in sis900_probe()
573 dma_free_coherent(&pci_dev->dev, RX_TOTAL_SIZE, sis_priv->rx_ring, in sis900_probe()
2490 dma_free_coherent(&pci_dev->dev, RX_TOTAL_SIZE, sis_priv->rx_ring, in sis900_remove()
/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/dlink/
H A Ddl2k.h39 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc) macro
H A Dsundance.c70 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc) macro
554 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, in sundance_probe1()
693 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, in sundance_probe1()
1927 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, in sundance_remove1()
H A Ddl2k.c245 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in rio_probe1()
294 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in rio_probe1()
1822 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in rio_remove1()
/linux/drivers/net/ethernet/smsc/
H A Depic100.c55 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct epic_rx_desc) macro
372 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in epic_init_one()
487 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, ep->rx_ring, in epic_init_one()
1507 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()