Searched refs:RX_BD_NUM (Results 1 – 4 of 4) sorted by relevance
88 #define RX_BD_NUM 128 macro91 #define RX_RING_SZ (RX_BD_NUM * sizeof(struct arc_emac_bd))152 struct buffer_state rx_buff[RX_BD_NUM];
195 *last_rx_bd = (*last_rx_bd + 1) % RX_BD_NUM; in arc_emac_rx()438 for (i = 0; i < RX_BD_NUM; i++) { in arc_emac_open()467 *last_rx_bd = (*last_rx_bd + 1) % RX_BD_NUM; in arc_emac_open()489 (RX_BD_NUM << 24) | /* RX BD table length */ in arc_emac_open()585 for (i = 0; i < RX_BD_NUM; i++) { in arc_free_rx_queue()828 for (i = 0; i < RX_BD_NUM; i++) { in arc_emac_restart()978 priv->txbd = priv->rxbd + RX_BD_NUM; in arc_emac_probe()
61 #define RX_BD_NUM 128 macro303 for (i = 0; i < RX_BD_NUM; i++) { in temac_dma_bd_release()314 sizeof(*lp->rx_bd_v) * RX_BD_NUM, in temac_dma_bd_release()332 lp->rx_skb = devm_kcalloc(&ndev->dev, RX_BD_NUM, sizeof(*lp->rx_skb), in temac_dma_bd_init()346 sizeof(*lp->rx_bd_v) * RX_BD_NUM, in temac_dma_bd_init()356 for (i = 0; i < RX_BD_NUM; i++) { in temac_dma_bd_init()358 + sizeof(*lp->rx_bd_v) * ((i + 1) % RX_BD_NUM)); in temac_dma_bd_init()395 lp->rx_bd_p + (sizeof(*lp->rx_bd_v) * (RX_BD_NUM - 1))); in temac_dma_bd_init()952 if (lp->rx_bd_ci >= RX_BD_NUM) in ll_temac_recv()
23 #define RX_BD_NUM 128 macro252 for (i = 0; i < RX_BD_NUM; i++) { in nixge_hw_dma_bd_release()268 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()376 (sizeof(*priv->rx_bd_v) * (RX_BD_NUM - 1))); in nixge_hw_dma_bd_init()655 priv->rx_bd_ci %= RX_BD_NUM; in nixge_recv()810 for (i = 0; i < RX_BD_NUM; i++) { in nixge_dma_err_handler()853 (sizeof(*lp->rx_bd_v) * (RX_BD_NUM - 1))); in nixge_dma_err_handler()