Home
last modified time | relevance | path

Searched refs:TX_RING_BYTES (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/sis/
Dsis190.c52 #define TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc)) macro
1075 tp->TxDescRing = dma_alloc_coherent(&pdev->dev, TX_RING_BYTES, in sis190_open()
1106 dma_free_coherent(&pdev->dev, TX_RING_BYTES, tp->TxDescRing, in sis190_open()
1169 dma_free_coherent(&pdev->dev, TX_RING_BYTES, tp->TxDescRing, in sis190_close()
/Linux-v5.10/drivers/net/ethernet/cadence/
Dmacb_main.c59 #define TX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ macro
2160 size = TX_RING_BYTES(bp) + bp->tx_bd_rd_prefetch; in macb_free_consistent()
2217 size = TX_RING_BYTES(bp) + bp->tx_bd_rd_prefetch; in macb_alloc_consistent()