Lines Matching refs:rxsize
411 unsigned int rxsize = priv->dma_rx_size;
438 DBG(probe, INFO, "stmmac: txsize %d, rxsize %d, bfsize %d\n",
439 txsize, rxsize, bfsize);
441 priv->rx_skbuff_dma = kmalloc(rxsize * sizeof(dma_addr_t), GFP_KERNEL);
443 kmalloc(sizeof(struct sk_buff *) * rxsize, GFP_KERNEL);
446 rxsize *
473 for (i = 0; i < rxsize; i++) {
492 priv->dirty_rx = (unsigned int)(i - rxsize);
505 priv->hw->desc->init_rx_desc(priv->dma_rx, rxsize, dis_ic);
510 display_ring(priv->dma_rx, rxsize);
1150 unsigned int rxsize = priv->dma_rx_size;
1155 unsigned int entry = priv->dirty_rx % rxsize;
1186 unsigned int rxsize = priv->dma_rx_size;
1187 unsigned int entry = priv->cur_rx % rxsize;
1196 display_ring(priv->dma_rx, rxsize);
1208 next_entry = (++priv->cur_rx) % rxsize;