Searched refs:TX_BD_NUM (Results 1 – 4 of 4) sorted by relevance
89 #define TX_BD_NUM 128 macro92 #define TX_RING_SZ (TX_BD_NUM * sizeof(struct arc_emac_bd))152 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()116 for (i = 0; i < TX_BD_NUM; i++) { in arc_emac_tx_clean()153 *txbd_dirty = (*txbd_dirty + 1) % TX_BD_NUM; in arc_emac_tx_clean()489 (TX_BD_NUM << 16) | /* TX BD table length */ in arc_emac_open()553 for (i = 0; i < TX_BD_NUM; i++) { in arc_free_tx_queue()722 *txbd_curr = (*txbd_curr + 1) % TX_BD_NUM; in arc_emac_tx()
22 #define TX_BD_NUM 64 macro278 sizeof(*priv->tx_bd_v) * TX_BD_NUM, in nixge_hw_dma_bd_release()298 sizeof(*priv->tx_bd_v) * TX_BD_NUM, in nixge_hw_dma_bd_init()304 TX_BD_NUM, sizeof(*priv->tx_skb), in nixge_hw_dma_bd_init()315 for (i = 0; i < TX_BD_NUM; i++) { in nixge_hw_dma_bd_init()319 ((i + 1) % TX_BD_NUM)); in nixge_hw_dma_bd_init()482 priv->tx_bd_ci %= TX_BD_NUM; in nixge_start_xmit_done()500 cur_p = &priv->tx_bd_v[(priv->tx_bd_tail + num_frag) % TX_BD_NUM]; in nixge_check_tx_bd_space()542 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()571 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()[all …]
40 #define TX_BD_NUM 0x20 macro312 ethoc_write(dev, TX_BD_NUM, dev->num_tx); in ethoc_init_ring()