Home
last modified time | relevance | path

Searched refs:TX_TOTAL_SIZE (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/sis/
H A Dsis900.h325 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc) macro
H A Dsis900.c480 ring_space = dma_alloc_coherent(&pci_dev->dev, TX_TOTAL_SIZE, in sis900_probe()
576 dma_free_coherent(&pci_dev->dev, TX_TOTAL_SIZE, sis_priv->tx_ring, in sis900_probe()
2492 dma_free_coherent(&pci_dev->dev, TX_TOTAL_SIZE, sis_priv->tx_ring, in sis900_remove()
/linux/drivers/net/ethernet/packetengines/
H A Dyellowfin.c77 #define TX_TOTAL_SIZE 2*TX_RING_SIZE*sizeof(struct yellowfin_desc) macro
439 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in yellowfin_init_one()
519 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in yellowfin_init_one()
1401 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in yellowfin_remove_one()
H A Dhamachi.c121 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct hamachi_desc) macro
651 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in hamachi_init_one()
785 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, hmp->tx_ring, in hamachi_init_one()
1929 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, hmp->tx_ring, in hamachi_remove_one()
/linux/drivers/net/ethernet/dlink/
H A Ddl2k.h38 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc) macro
H A Dsundance.c69 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc) macro
547 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_probe1()
696 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_probe1()
1929 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_remove1()
H A Ddl2k.c238 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in rio_probe1()
297 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in rio_probe1()
1824 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in rio_remove1()
/linux/drivers/net/ethernet/smsc/
H A Depic100.c54 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct epic_tx_desc) macro
365 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in epic_init_one()
490 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, ep->tx_ring, in epic_init_one()
1505 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, ep->tx_ring, in epic_remove_one()
/linux/drivers/net/ethernet/
H A Dfealnx.c58 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct fealnx_desc) macro
557 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in fealnx_init_one()
663 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in fealnx_init_one()
685 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in fealnx_remove_one()