Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c72 u16 bd_idx = TX_BD(tx_buf->first_bd), new_cons; in bnx2x_free_tx_pkt()
95 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
99 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
106 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
121 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
156 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int()
1133 bnx2x_free_tx_pkt(bp, txdata, TX_BD(sw_cons), in bnx2x_free_tx_skbs()
2381 bd_prod = TX_BD(NEXT_TX_IDX(bd_prod)); in bnx2x_tx_split()
2797 bd_prod = TX_BD(txdata->tx_bd_prod); in bnx2x_start_xmit()
2803 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_start_xmit()
[all …]
Dbnx2x_ethtool.c1902 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_run_loopback()
1907 bd_prod = TX_BD(txdata->tx_bd_prod); in bnx2x_run_loopback()
1923 bd_prod = TX_BD(NEXT_TX_IDX(bd_prod)); in bnx2x_run_loopback()
Dbnx2x_main.c961 start = TX_BD(le16_to_cpu(*txdata->tx_cons_sb) - 10); in bnx2x_panic_dump()
962 end = TX_BD(le16_to_cpu(*txdata->tx_cons_sb) + 245); in bnx2x_panic_dump()
963 for (j = start; j != end; j = TX_BD(j + 1)) { in bnx2x_panic_dump()
972 start = TX_BD(txdata->tx_bd_cons - 10); in bnx2x_panic_dump()
973 end = TX_BD(txdata->tx_bd_cons + 254); in bnx2x_panic_dump()
974 for (j = start; j != end; j = TX_BD(j + 1)) { in bnx2x_panic_dump()
Dbnx2x.h613 #define TX_BD(x) ((x) & MAX_TX_BD) macro