Lines Matching refs:sw_cons
2845 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2854 sw_cons = txr->tx_cons; in bnx2_tx_int()
2856 while (sw_cons != hw_cons) { in bnx2_tx_int()
2861 sw_ring_cons = BNX2_TX_RING_IDX(sw_cons); in bnx2_tx_int()
2873 last_idx = sw_cons + tx_buf->nr_frags + 1; in bnx2_tx_int()
2892 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2894 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()
2901 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2909 if (hw_cons == sw_cons) in bnx2_tx_int()
2915 txr->tx_cons = sw_cons; in bnx2_tx_int()
3145 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local
3153 sw_cons = rxr->rx_cons; in bnx2_rx_int()
3160 while (sw_cons != hw_cons) { in bnx2_rx_int()
3169 sw_ring_cons = BNX2_RX_RING_IDX(sw_cons); in bnx2_rx_int()
3185 next_ring_idx = BNX2_RX_RING_IDX(BNX2_NEXT_RX_BD(sw_cons)); in bnx2_rx_int()
3280 sw_cons = BNX2_NEXT_RX_BD(sw_cons); in bnx2_rx_int()
3287 if (sw_cons == hw_cons) { in bnx2_rx_int()
3292 rxr->rx_cons = sw_cons; in bnx2_rx_int()