Lines Matching refs:sw_cons
2851 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2860 sw_cons = txr->tx_cons; in bnx2_tx_int()
2862 while (sw_cons != hw_cons) { in bnx2_tx_int()
2867 sw_ring_cons = BNX2_TX_RING_IDX(sw_cons); in bnx2_tx_int()
2879 last_idx = sw_cons + tx_buf->nr_frags + 1; in bnx2_tx_int()
2898 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2900 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()
2907 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2915 if (hw_cons == sw_cons) in bnx2_tx_int()
2921 txr->tx_cons = sw_cons; in bnx2_tx_int()
3151 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local
3159 sw_cons = rxr->rx_cons; in bnx2_rx_int()
3166 while (sw_cons != hw_cons) { in bnx2_rx_int()
3175 sw_ring_cons = BNX2_RX_RING_IDX(sw_cons); in bnx2_rx_int()
3191 next_ring_idx = BNX2_RX_RING_IDX(BNX2_NEXT_RX_BD(sw_cons)); in bnx2_rx_int()
3286 sw_cons = BNX2_NEXT_RX_BD(sw_cons); in bnx2_rx_int()
3293 if (sw_cons == hw_cons) { in bnx2_rx_int()
3298 rxr->rx_cons = sw_cons; in bnx2_rx_int()