Lines Matching refs:sw_cons
2844 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2853 sw_cons = txr->tx_cons; in bnx2_tx_int()
2855 while (sw_cons != hw_cons) { in bnx2_tx_int()
2860 sw_ring_cons = BNX2_TX_RING_IDX(sw_cons); in bnx2_tx_int()
2872 last_idx = sw_cons + tx_buf->nr_frags + 1; in bnx2_tx_int()
2891 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2893 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()
2900 sw_cons = BNX2_NEXT_TX_BD(sw_cons); in bnx2_tx_int()
2908 if (hw_cons == sw_cons) in bnx2_tx_int()
2914 txr->tx_cons = sw_cons; in bnx2_tx_int()
3143 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local
3151 sw_cons = rxr->rx_cons; in bnx2_rx_int()
3158 while (sw_cons != hw_cons) { in bnx2_rx_int()
3167 sw_ring_cons = BNX2_RX_RING_IDX(sw_cons); in bnx2_rx_int()
3183 next_ring_idx = BNX2_RX_RING_IDX(BNX2_NEXT_RX_BD(sw_cons)); in bnx2_rx_int()
3278 sw_cons = BNX2_NEXT_RX_BD(sw_cons); in bnx2_rx_int()
3285 if (sw_cons == hw_cons) { in bnx2_rx_int()
3290 rxr->rx_cons = sw_cons; in bnx2_rx_int()