Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/sis/
Dsis190.c52 #define TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc)) macro
1072 tp->TxDescRing = pci_alloc_consistent(pdev, TX_RING_BYTES, &tp->tx_dma); in sis190_open()
1100 pci_free_consistent(pdev, TX_RING_BYTES, tp->TxDescRing, tp->tx_dma); in sis190_open()
1162 pci_free_consistent(pdev, TX_RING_BYTES, tp->TxDescRing, tp->tx_dma); in sis190_close()
/Linux-v4.19/drivers/net/ethernet/cadence/
Dmacb_main.c53 #define TX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ macro
1900 size = TX_RING_BYTES(bp) + bp->tx_bd_rd_prefetch; in macb_free_consistent()
1957 size = TX_RING_BYTES(bp) + bp->tx_bd_rd_prefetch; in macb_alloc_consistent()