Lines Matching refs:TX_BD_NUM
22 #define TX_BD_NUM 64 macro
277 sizeof(*priv->tx_bd_v) * TX_BD_NUM, in nixge_hw_dma_bd_release()
297 sizeof(*priv->tx_bd_v) * TX_BD_NUM, in nixge_hw_dma_bd_init()
303 TX_BD_NUM, sizeof(*priv->tx_skb), in nixge_hw_dma_bd_init()
314 for (i = 0; i < TX_BD_NUM; i++) { in nixge_hw_dma_bd_init()
318 ((i + 1) % TX_BD_NUM)); in nixge_hw_dma_bd_init()
481 priv->tx_bd_ci %= TX_BD_NUM; in nixge_start_xmit_done()
499 cur_p = &priv->tx_bd_v[(priv->tx_bd_tail + num_frag) % TX_BD_NUM]; in nixge_check_tx_bd_space()
541 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()
570 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()
578 priv->tx_bd_tail = TX_BD_NUM - 1; in nixge_start_xmit()
800 for (i = 0; i < TX_BD_NUM; i++) { in nixge_dma_err_handler()