Searched refs:MAX_TX_DESC_CNT (Results 1 – 4 of 4) sorted by relevance
605 #define MAX_TX_DESC_CNT (TX_DESC_CNT - NEXT_PAGE_TX_DESC_CNT) macro608 #define MAX_TX_AVAIL (MAX_TX_DESC_CNT * NUM_TX_RINGS - 2)609 #define NEXT_TX_IDX(x) ((((x) & MAX_TX_DESC_CNT) == \610 (MAX_TX_DESC_CNT - 1)) ? \614 #define TX_BD_POFF(x) ((x) & MAX_TX_DESC_CNT)
265 diff = MAX_TX_DESC_CNT; in bnx2_tx_avail()2800 if (unlikely((cons & MAX_TX_DESC_CNT) == MAX_TX_DESC_CNT)) in bnx2_get_hw_tx_cons()2839 if (unlikely(last_ring_idx >= MAX_TX_DESC_CNT)) { in bnx2_tx_int()5126 txbd = &txr->tx_desc_ring[MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()7180 ering->tx_max_pending = MAX_TX_DESC_CNT; in bnx2_get_ringparam()7247 (ering->tx_pending > MAX_TX_DESC_CNT) || in bnx2_set_ringparam()8223 bp->tx_ring_size = MAX_TX_DESC_CNT; in bnx2_init_board()
6507 #define MAX_TX_DESC_CNT (TX_DESC_CNT - 1) macro6516 #define NEXT_TX_BD(x) (((x) & (MAX_TX_DESC_CNT - 1)) == \6517 (MAX_TX_DESC_CNT - 1)) ? \6520 #define TX_RING_IDX(x) ((x) & MAX_TX_DESC_CNT)
4478 for (i = 0; i < MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring()4822 for (i = 0; i < MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring()