Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/sis/
Dsis900.h325 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc) macro
Dsis900.c484 ring_space = dma_alloc_coherent(&pci_dev->dev, TX_TOTAL_SIZE, in sis900_probe()
580 dma_free_coherent(&pci_dev->dev, TX_TOTAL_SIZE, sis_priv->tx_ring, in sis900_probe()
2498 dma_free_coherent(&pci_dev->dev, TX_TOTAL_SIZE, sis_priv->tx_ring, in sis900_remove()
/Linux-v5.10/drivers/net/ethernet/dlink/
Ddl2k.h38 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc) macro
Dsundance.c69 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc) macro
545 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_probe1()
694 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_probe1()
1924 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, in sundance_remove1()
Ddl2k.c225 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in rio_probe1()
287 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in rio_probe1()
1803 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in rio_remove1()
/Linux-v5.10/drivers/net/ethernet/packetengines/
Dyellowfin.c77 #define TX_TOTAL_SIZE 2*TX_RING_SIZE*sizeof(struct yellowfin_desc) macro
437 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in yellowfin_init_one()
517 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in yellowfin_init_one()
1399 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in yellowfin_remove_one()
Dhamachi.c121 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct hamachi_desc) macro
647 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in hamachi_init_one()
781 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, hmp->tx_ring, in hamachi_init_one()
1915 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, hmp->tx_ring, in hamachi_remove_one()
/Linux-v5.10/drivers/net/ethernet/smsc/
Depic100.c56 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct epic_tx_desc) macro
377 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in epic_init_one()
501 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, ep->tx_ring, in epic_init_one()
1516 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, ep->tx_ring, in epic_remove_one()
/Linux-v5.10/drivers/net/ethernet/
Dfealnx.c58 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct fealnx_desc) macro
555 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in fealnx_init_one()
661 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in fealnx_init_one()
683 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in fealnx_remove_one()
/Linux-v5.10/drivers/net/hippi/
Drrunner.c154 tmpptr = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in rr_init_one()
210 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, rrpriv->tx_ring, in rr_init_one()
238 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, rr->tx_ring, in rr_remove_one()
Drrunner.h556 #define TX_TOTAL_SIZE (TX_RING_ENTRIES * sizeof(struct tx_desc)) macro