Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/sis/
Dsis900.h325 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc) macro
Dsis900.c491 ring_space = dma_alloc_coherent(&pci_dev->dev, TX_TOTAL_SIZE, in sis900_probe()
587 dma_free_coherent(&pci_dev->dev, TX_TOTAL_SIZE, sis_priv->tx_ring, in sis900_probe()
2503 dma_free_coherent(&pci_dev->dev, TX_TOTAL_SIZE, sis_priv->tx_ring, in sis900_remove()
/linux-5.19.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
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()
1926 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()
1802 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, np->tx_ring, in rio_remove1()
/linux-5.19.10/drivers/net/ethernet/packetengines/
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()
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-5.19.10/drivers/net/ethernet/smsc/
Depic100.c56 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct epic_tx_desc) macro
378 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in epic_init_one()
503 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, ep->tx_ring, in epic_init_one()
1519 dma_free_coherent(&pdev->dev, TX_TOTAL_SIZE, ep->tx_ring, in epic_remove_one()
/linux-5.19.10/drivers/net/ethernet/
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()
/linux-5.19.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