Home
last modified time | relevance | path

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

/drivers/net/ethernet/sis/
Dsis900.h325 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc) macro
Dsis900.c484 ring_space = pci_alloc_consistent(pci_dev, TX_TOTAL_SIZE, &ring_dma); in sis900_probe()
578 pci_free_consistent(pci_dev, TX_TOTAL_SIZE, sis_priv->tx_ring, in sis900_probe()
2489 pci_free_consistent(pci_dev, TX_TOTAL_SIZE, sis_priv->tx_ring, in sis900_remove()
/drivers/net/ethernet/packetengines/
Dyellowfin.c77 #define TX_TOTAL_SIZE 2*TX_RING_SIZE*sizeof(struct yellowfin_desc) macro
437 ring_space = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in yellowfin_init_one()
513 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in yellowfin_init_one()
1385 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in yellowfin_remove_one()
Dhamachi.c121 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct hamachi_desc) macro
647 ring_space = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in hamachi_init_one()
779 pci_free_consistent(pdev, TX_TOTAL_SIZE, hmp->tx_ring, in hamachi_init_one()
1904 pci_free_consistent(pdev, TX_TOTAL_SIZE, hmp->tx_ring, in hamachi_remove_one()
/drivers/net/ethernet/dlink/
Ddl2k.h38 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc) macro
Dsundance.c72 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc) macro
558 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_probe1()
707 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_probe1()
1939 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_remove1()
Ddl2k.c234 ring_space = pci_alloc_consistent (pdev, TX_TOTAL_SIZE, &ring_dma); in rio_probe1()
293 pci_free_consistent (pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in rio_probe1()
1811 pci_free_consistent (pdev, TX_TOTAL_SIZE, np->tx_ring, in rio_remove1()
/drivers/net/ethernet/smsc/
Depic100.c56 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct epic_tx_desc) macro
376 ring_space = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in epic_init_one()
497 pci_free_consistent(pdev, TX_TOTAL_SIZE, ep->tx_ring, ep->tx_ring_dma); in epic_init_one()
1502 pci_free_consistent(pdev, TX_TOTAL_SIZE, ep->tx_ring, ep->tx_ring_dma); in epic_remove_one()
/drivers/net/ethernet/
Dfealnx.c60 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct fealnx_desc) macro
568 ring_space = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in fealnx_init_one()
673 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in fealnx_init_one()
693 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, in fealnx_remove_one()
/drivers/net/hippi/
Drrunner.c154 tmpptr = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in rr_init_one()
207 pci_free_consistent(pdev, TX_TOTAL_SIZE, rrpriv->tx_ring, in rr_init_one()
235 pci_free_consistent(pdev, TX_TOTAL_SIZE, rr->tx_ring, in rr_remove_one()
Drrunner.h556 #define TX_TOTAL_SIZE (TX_RING_ENTRIES * sizeof(struct tx_desc)) macro