Home
last modified time | relevance | path

Searched refs:RX_BD_NUM (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/arc/
H A Demac.h88 #define RX_BD_NUM 128 macro
91 #define RX_RING_SZ (RX_BD_NUM * sizeof(struct arc_emac_bd))
151 struct buffer_state rx_buff[RX_BD_NUM];
H A Demac_main.c196 *last_rx_bd = (*last_rx_bd + 1) % RX_BD_NUM; in arc_emac_rx()
440 for (i = 0; i < RX_BD_NUM; i++) { in arc_emac_open()
469 *last_rx_bd = (*last_rx_bd + 1) % RX_BD_NUM; in arc_emac_open()
491 (RX_BD_NUM << 24) | /* RX BD table length */ in arc_emac_open()
589 for (i = 0; i < RX_BD_NUM; i++) { in arc_free_rx_queue()
820 for (i = 0; i < RX_BD_NUM; i++) { in arc_emac_restart()
966 priv->txbd = priv->rxbd + RX_BD_NUM; in arc_emac_probe()
/linux/drivers/net/ethernet/ni/
H A Dnixge.c22 #define RX_BD_NUM 128 macro
252 for (i = 0; i < RX_BD_NUM; i++) { in nixge_hw_dma_bd_release()
267 sizeof(*priv->rx_bd_v) * RX_BD_NUM, in nixge_hw_dma_bd_release()
309 sizeof(*priv->rx_bd_v) * RX_BD_NUM, in nixge_hw_dma_bd_init()
321 for (i = 0; i < RX_BD_NUM; i++) { in nixge_hw_dma_bd_init()
325 ((i + 1) % RX_BD_NUM)); in nixge_hw_dma_bd_init()
377 (sizeof(*priv->rx_bd_v) * (RX_BD_NUM - 1))); in nixge_hw_dma_bd_init()
657 priv->rx_bd_ci %= RX_BD_NUM; in nixge_recv()
811 for (i = 0; i < RX_BD_NUM; i++) { in nixge_dma_err_handler()
854 (sizeof(*lp->rx_bd_v) * (RX_BD_NUM - 1))); in nixge_dma_err_handler()