Searched refs:SW_TX_RING (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_txrx.c | 1053 while (SW_TX_RING(bn, cons) != hw_cons) { in __bnge_tx_int() 1058 tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, cons)]; in __bnge_tx_int() 1077 tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, cons)]; in __bnge_tx_int() 1105 if (txr->tx_hw_cons != SW_TX_RING(bn, txr->tx_cons)) in bnge_tx_int() 1470 tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, prod)]; in bnge_start_xmit() 1547 tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, prod)]; in bnge_start_xmit() 1593 tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, prod)]; in bnge_start_xmit() 1601 tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, prod)]; in bnge_start_xmit() 1615 txr->tx_buf_ring[SW_TX_RING(bn, txr->tx_prod)].skb = NULL; in bnge_start_xmit()
|
| H A D | bnge_txrx.h | 104 #define SW_TX_RING(bn, idx) ((idx) & (bn)->tx_ring_mask) macro
|