Home
last modified time | relevance | path

Searched refs:TX_BD (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_cmn.c40 u16 bd_idx = TX_BD(tx_buf->first_bd), new_cons; in bnx2x_free_tx_pkt()
65 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
69 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
74 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
85 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
115 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int()
956 bd_cons = bnx2x_free_tx_pkt(bp, fp, TX_BD(sw_cons)); in bnx2x_free_tx_skbs()
1822 bd_prod = TX_BD(NEXT_TX_IDX(bd_prod)); in bnx2x_tx_split()
2180 bd_prod = TX_BD(fp->tx_bd_prod); in bnx2x_start_xmit()
2183 tx_buf = &fp->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_start_xmit()
[all …]
Dbnx2x_ethtool.c1638 tx_buf = &fp_tx->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_run_loopback()
1643 bd_prod = TX_BD(fp_tx->tx_bd_prod); in bnx2x_run_loopback()
1661 bd_prod = TX_BD(NEXT_TX_IDX(bd_prod)); in bnx2x_run_loopback()
Dbnx2x.h465 #define TX_BD(x) ((x) & MAX_TX_BD) macro
Dbnx2x_main.c1071 start = TX_BD(le16_to_cpu(*fp->tx_cons_sb) - 10); in bnx2x_panic_dump()
1072 end = TX_BD(le16_to_cpu(*fp->tx_cons_sb) + 245); in bnx2x_panic_dump()
1073 for (j = start; j != end; j = TX_BD(j + 1)) { in bnx2x_panic_dump()
1080 start = TX_BD(fp->tx_bd_cons - 10); in bnx2x_panic_dump()
1081 end = TX_BD(fp->tx_bd_cons + 254); in bnx2x_panic_dump()
1082 for (j = start; j != end; j = TX_BD(j + 1)) { in bnx2x_panic_dump()