Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/sis/
Dsis900.h326 #define RX_TOTAL_SIZE NUM_RX_DESC*sizeof(BufferDesc) macro
Dsis900.c493 ring_space = dma_alloc_coherent(&pci_dev->dev, RX_TOTAL_SIZE, in sis900_probe()
577 dma_free_coherent(&pci_dev->dev, RX_TOTAL_SIZE, sis_priv->rx_ring, in sis900_probe()
2496 dma_free_coherent(&pci_dev->dev, RX_TOTAL_SIZE, sis_priv->rx_ring, in sis900_remove()
/Linux-v5.10/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
552 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, in sundance_probe1()
691 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, in sundance_probe1()
1922 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()
1801 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in rio_remove1()
/Linux-v5.10/drivers/net/ethernet/packetengines/
Dyellowfin.c78 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct yellowfin_desc) macro
444 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in yellowfin_init_one()
514 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in yellowfin_init_one()
1397 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
654 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in hamachi_init_one()
778 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, hmp->rx_ring, in hamachi_init_one()
1913 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, hmp->rx_ring, in hamachi_remove_one()
/Linux-v5.10/drivers/net/ethernet/smsc/
Depic100.c57 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct epic_rx_desc) macro
384 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in epic_init_one()
498 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, ep->rx_ring, in epic_init_one()
1518 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, ep->rx_ring, in epic_remove_one()
/Linux-v5.10/drivers/net/ethernet/
Dfealnx.c59 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct fealnx_desc) macro
546 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in fealnx_init_one()
664 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in fealnx_init_one()
685 dma_free_coherent(&pdev->dev, RX_TOTAL_SIZE, np->rx_ring, in fealnx_remove_one()
/Linux-v5.10/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()
236 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