Home
last modified time | relevance | path

Searched refs:RING_TX (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c45 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_xmit_bd()
69 frag_tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_xmit_bd()
135 while (RING_TX(bp, tx_cons) != tx_hw_cons) { in bnxt_tx_int_xdp()
136 tx_buf = &txr->tx_buf_ring[RING_TX(bp, tx_cons)]; in bnxt_tx_int_xdp()
156 tx_buf = &txr->tx_buf_ring[RING_TX(bp, tx_cons)]; in bnxt_tx_int_xdp()
169 tx_buf = &txr->tx_buf_ring[RING_TX(bp, last_tx_cons)]; in bnxt_tx_int_xdp()
H A Dbnxt_ptp.c851 tx_buf = &txr->tx_buf_ring[RING_TX(bp, cons)]; in bnxt_tx_ts_cmp()
H A Dbnxt.c508 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_start_xmit()
708 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_start_xmit()
757 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_start_xmit()
765 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_start_xmit()
800 while (RING_TX(bp, cons) != hw_cons) { in __bnxt_tx_int()
806 tx_buf = &txr->tx_buf_ring[RING_TX(bp, cons)]; in __bnxt_tx_int()
837 tx_buf = &txr->tx_buf_ring[RING_TX(bp, cons)]; in __bnxt_tx_int()
874 if (txr->tx_hw_cons != RING_TX(bp, txr->tx_cons)) in bnxt_tx_int()
H A Dbnxt.h859 #define RING_TX(bp, idx) ((idx) & (bp)->tx_ring_mask) macro