Searched refs:TX_BD_NUM (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/arc/ |
D | emac.h | 89 #define TX_BD_NUM 128 macro 92 #define TX_RING_SZ (TX_BD_NUM * sizeof(struct arc_emac_bd)) 153 struct buffer_state tx_buff[TX_BD_NUM];
|
D | emac_main.c | 39 return (priv->txbd_dirty + TX_BD_NUM - priv->txbd_curr - 1) % TX_BD_NUM; in arc_emac_tx_avail() 120 for (i = 0; i < TX_BD_NUM; i++) { in arc_emac_tx_clean() 157 *txbd_dirty = (*txbd_dirty + 1) % TX_BD_NUM; in arc_emac_tx_clean() 492 (TX_BD_NUM << 16) | /* TX BD table length */ in arc_emac_open() 556 for (i = 0; i < TX_BD_NUM; i++) { in arc_free_tx_queue() 725 *txbd_curr = (*txbd_curr + 1) % TX_BD_NUM; in arc_emac_tx()
|
/Linux-v4.19/drivers/net/ethernet/ni/ |
D | nixge.c | 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() [all …]
|
/Linux-v4.19/drivers/net/ethernet/xilinx/ |
D | ll_temac_main.c | 57 #define TX_BD_NUM 64 macro 226 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in temac_dma_bd_release() 247 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in temac_dma_bd_init() 258 for (i = 0; i < TX_BD_NUM; i++) { in temac_dma_bd_init() 260 sizeof(*lp->tx_bd_v) * ((i + 1) % TX_BD_NUM); in temac_dma_bd_init() 644 if (lp->tx_bd_ci >= TX_BD_NUM) in temac_start_xmit_done() 667 if (tail >= TX_BD_NUM) in temac_check_tx_bd_space() 715 if (lp->tx_bd_tail >= TX_BD_NUM) in temac_start_xmit() 730 if (lp->tx_bd_tail >= TX_BD_NUM) in temac_start_xmit()
|
D | xilinx_axienet_main.c | 41 #define TX_BD_NUM 64 macro 173 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in axienet_dma_bd_release() 203 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in axienet_dma_bd_init() 214 for (i = 0; i < TX_BD_NUM; i++) { in axienet_dma_bd_init() 217 ((i + 1) % TX_BD_NUM); in axienet_dma_bd_init() 610 lp->tx_bd_ci %= TX_BD_NUM; in axienet_start_xmit_done() 637 cur_p = &lp->tx_bd_v[(lp->tx_bd_tail + num_frag) % TX_BD_NUM]; in axienet_check_tx_bd_space() 697 lp->tx_bd_tail %= TX_BD_NUM; in axienet_start_xmit() 714 lp->tx_bd_tail %= TX_BD_NUM; in axienet_start_xmit() 1337 for (i = 0; i < TX_BD_NUM; i++) { in axienet_dma_err_handler()
|
/Linux-v4.19/drivers/net/ethernet/ |
D | ethoc.c | 43 #define TX_BD_NUM 0x20 macro 311 ethoc_write(dev, TX_BD_NUM, dev->num_tx); in ethoc_init_ring()
|