Lines Matching refs:TX_BD_NUM
22 #define TX_BD_NUM 64 macro
225 sizeof(*priv->tx_bd_v) * TX_BD_NUM, in nixge_hw_dma_bd_release()
244 sizeof(*priv->tx_bd_v) * TX_BD_NUM, in nixge_hw_dma_bd_init()
250 TX_BD_NUM, sizeof(*priv->tx_skb), in nixge_hw_dma_bd_init()
261 for (i = 0; i < TX_BD_NUM; i++) { in nixge_hw_dma_bd_init()
264 ((i + 1) % TX_BD_NUM); in nixge_hw_dma_bd_init()
425 priv->tx_bd_ci %= TX_BD_NUM; in nixge_start_xmit_done()
443 cur_p = &priv->tx_bd_v[(priv->tx_bd_tail + num_frag) % TX_BD_NUM]; in nixge_check_tx_bd_space()
483 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()
511 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()
519 priv->tx_bd_tail = TX_BD_NUM - 1; in nixge_start_xmit()
733 for (i = 0; i < TX_BD_NUM; i++) { in nixge_dma_err_handler()