Home
last modified time | relevance | path

Searched refs:MAX_TX_DESC_CNT (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/
Dbnx2.h3881 #define MAX_TX_DESC_CNT (TX_DESC_CNT - 1) macro
3888 #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)
Dbnx2.c2010 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()