Searched refs:MAX_TX_DESC_CNT (Results 1 – 2 of 2) sorted by relevance
3881 #define MAX_TX_DESC_CNT (TX_DESC_CNT - 1) macro3888 #define NEXT_TX_BD(x) (((x) & (MAX_TX_DESC_CNT - 1)) == \3889 (MAX_TX_DESC_CNT - 1)) ? \3892 #define PREV_TX_BD(x) ((((x)-1) & (MAX_TX_DESC_CNT)) == \3893 (MAX_TX_DESC_CNT)) ? \3896 #define TX_RING_IDX(x) ((x) & MAX_TX_DESC_CNT)
2010 txbd = &bp->tx_desc_ring[MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()2268 bp->tx_ring_size = MAX_TX_DESC_CNT; in bnx2_init_board()2372 if ((hw_cons & MAX_TX_DESC_CNT) == MAX_TX_DESC_CNT) { in bnx2_transmit()