Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/sis/
Dsis190.c53 #define RX_RING_BYTES (NUM_RX_DESC * sizeof(struct RxDesc)) macro
1080 tp->RxDescRing = dma_alloc_coherent(&pdev->dev, RX_RING_BYTES, in sis190_open()
1103 dma_free_coherent(&pdev->dev, RX_RING_BYTES, tp->RxDescRing, in sis190_open()
1171 dma_free_coherent(&pdev->dev, RX_RING_BYTES, tp->RxDescRing, in sis190_close()
/linux-6.12.1/drivers/net/ethernet/cadence/
Dmacb_main.c57 #define RX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ macro
2506 size = RX_RING_BYTES(bp) + bp->rx_bd_rd_prefetch; in macb_free_consistent()
2573 size = RX_RING_BYTES(bp) + bp->rx_bd_rd_prefetch; in macb_alloc_consistent()