Searched refs:BNX2_MAX_TX_DESC_CNT (Results 1 – 3 of 3) sorted by relevance
258 diff = BNX2_MAX_TX_DESC_CNT; in bnx2_tx_avail()2836 if (unlikely((cons & BNX2_MAX_TX_DESC_CNT) == BNX2_MAX_TX_DESC_CNT)) in bnx2_get_hw_tx_cons()2875 if (unlikely(last_ring_idx >= BNX2_MAX_TX_DESC_CNT)) { in bnx2_tx_int()5195 txbd = &txr->tx_desc_ring[BNX2_MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()7326 ering->tx_max_pending = BNX2_MAX_TX_DESC_CNT; in bnx2_get_ringparam()7393 (ering->tx_pending > BNX2_MAX_TX_DESC_CNT) || in bnx2_set_ringparam()8345 bp->tx_ring_size = BNX2_MAX_TX_DESC_CNT; in bnx2_init_board()
6558 #define BNX2_MAX_TX_DESC_CNT (BNX2_TX_DESC_CNT - 1) macro6568 #define BNX2_NEXT_TX_BD(x) (((x) & (BNX2_MAX_TX_DESC_CNT - 1)) == \6569 (BNX2_MAX_TX_DESC_CNT - 1)) ? \6572 #define BNX2_TX_RING_IDX(x) ((x) & BNX2_MAX_TX_DESC_CNT)
4582 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring()4930 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring()