Searched refs:TX_BD_NUM (Results 1 – 5 of 5) sorted by relevance
89 #define TX_BD_NUM 128 macro92 #define TX_RING_SZ (TX_BD_NUM * sizeof(struct arc_emac_bd))153 struct buffer_state tx_buff[TX_BD_NUM];
36 return (priv->txbd_dirty + TX_BD_NUM - priv->txbd_curr - 1) % TX_BD_NUM; in arc_emac_tx_avail()117 for (i = 0; i < TX_BD_NUM; i++) { in arc_emac_tx_clean()154 *txbd_dirty = (*txbd_dirty + 1) % TX_BD_NUM; in arc_emac_tx_clean()490 (TX_BD_NUM << 16) | /* TX BD table length */ in arc_emac_open()554 for (i = 0; i < TX_BD_NUM; i++) { in arc_free_tx_queue()723 *txbd_curr = (*txbd_curr + 1) % TX_BD_NUM; in arc_emac_tx()
22 #define TX_BD_NUM 64 macro277 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()540 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()569 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()[all …]
60 #define TX_BD_NUM 64 macro318 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in temac_dma_bd_release()340 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in temac_dma_bd_init()351 for (i = 0; i < TX_BD_NUM; i++) { in temac_dma_bd_init()353 + sizeof(*lp->tx_bd_v) * ((i + 1) % TX_BD_NUM)); in temac_dma_bd_init()784 if (lp->tx_bd_ci >= TX_BD_NUM) in temac_start_xmit_done()807 if (tail >= TX_BD_NUM) in temac_check_tx_bd_space()858 if (lp->tx_bd_tail >= TX_BD_NUM) in temac_start_xmit()875 if (lp->tx_bd_tail >= TX_BD_NUM) in temac_start_xmit()
40 #define TX_BD_NUM 0x20 macro308 ethoc_write(dev, TX_BD_NUM, dev->num_tx); in ethoc_init_ring()