Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/sis/
Dsis900.h326 #define RX_TOTAL_SIZE NUM_RX_DESC*sizeof(BufferDesc) macro
Dsis900.c500 ring_space = dma_alloc_coherent(&pci_dev->dev, RX_TOTAL_SIZE, in sis900_probe()
584 dma_free_coherent(&pci_dev->dev, RX_TOTAL_SIZE, sis_priv->rx_ring, in sis900_probe()
2501 dma_free_coherent(&pci_dev->dev, RX_TOTAL_SIZE, sis_priv->rx_ring, in sis900_remove()
/linux-6.1.9/drivers/net/ethernet/dlink/
Ddl2k.h39 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc) macro
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()
1924 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, in sundance_remove1()
Ddl2k.c232 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in rio_probe1()
284 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in rio_probe1()
1800 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in rio_remove1()
/linux-6.1.9/drivers/net/ethernet/packetengines/
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()
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-6.1.9/drivers/net/ethernet/smsc/
Depic100.c57 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct epic_rx_desc) macro
385 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in epic_init_one()
500 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, ep->rx_ring, in epic_init_one()
1521 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, ep->rx_ring, in epic_remove_one()
/linux-6.1.9/drivers/net/ethernet/
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()
/linux-6.1.9/drivers/net/hippi/
Drrunner.c164 tmpptr = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in rr_init_one()
207 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, rrpriv->rx_ring, in rr_init_one()
237 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, rr->rx_ring, in rr_remove_one()
Drrunner.h578 #define RX_TOTAL_SIZE (RX_RING_ENTRIES * sizeof(struct rx_desc)) macro