Searched refs:RX_BD_NUM (Results 1 – 2 of 2) sorted by relevance
57 #define RX_BD_NUM 128 macro210 for (i = 0; i < RX_BD_NUM; i++) { in temac_dma_bd_release()221 sizeof(*lp->rx_bd_v) * RX_BD_NUM, in temac_dma_bd_release()240 lp->rx_skb = kcalloc(RX_BD_NUM, sizeof(*lp->rx_skb), GFP_KERNEL); in temac_dma_bd_init()253 sizeof(*lp->rx_bd_v) * RX_BD_NUM, in temac_dma_bd_init()263 for (i = 0; i < RX_BD_NUM; i++) { in temac_dma_bd_init()265 sizeof(*lp->rx_bd_v) * ((i + 1) % RX_BD_NUM); in temac_dma_bd_init()297 lp->rx_bd_p + (sizeof(*lp->rx_bd_v) * (RX_BD_NUM - 1))); in temac_dma_bd_init()796 if (lp->rx_bd_ci >= RX_BD_NUM) in ll_temac_recv()
41 #define RX_BD_NUM 128 macro157 for (i = 0; i < RX_BD_NUM; i++) { in axienet_dma_bd_release()166 sizeof(*lp->rx_bd_v) * RX_BD_NUM, in axienet_dma_bd_release()212 sizeof(*lp->rx_bd_v) * RX_BD_NUM, in axienet_dma_bd_init()224 for (i = 0; i < RX_BD_NUM; i++) { in axienet_dma_bd_init()227 ((i + 1) % RX_BD_NUM); in axienet_dma_bd_init()274 (sizeof(*lp->rx_bd_v) * (RX_BD_NUM - 1))); in axienet_dma_bd_init()780 lp->rx_bd_ci = ++lp->rx_bd_ci % RX_BD_NUM; in axienet_recv()1385 for (i = 0; i < RX_BD_NUM; i++) { in axienet_dma_err_handler()1432 (sizeof(*lp->rx_bd_v) * (RX_BD_NUM - 1))); in axienet_dma_err_handler()