Lines Matching refs:NR_RX_DESC
128 #define NR_RX_DESC 64 macro
401 struct sk_buff *skbs[NR_RX_DESC];
499 #define nr_rx_empty(dev) ((NR_RX_DESC-2 + dev->rx_info.next_rx - dev->rx_info.next_empty) % NR_RX_D…
527 dev->rx_info.next_empty = (next_empty + 1) % NR_RX_DESC; in ns83820_add_rx_skb()
534 …dev->rx_info.descs[((NR_RX_DESC + next_empty - 1) % NR_RX_DESC) * DESC_SIZE] = cpu_to_le32(dev->rx… in ns83820_add_rx_skb()
551 for (i=0; i<NR_RX_DESC; i++) { in rx_refill()
720 for (i=0; i<NR_RX_DESC; i++) in ns83820_setup_rx()
789 for (i=0; i<NR_RX_DESC; i++) { in ns83820_cleanup_rx()
807 if (dev->rx_info.up && nr_rx_empty(dev) > NR_RX_DESC*3/4) in ns83820_rx_kick()
858 info->next_rx = (next_rx + 1) % NR_RX_DESC;
1947 4 * DESC_SIZE * NR_RX_DESC,
2192 dma_free_coherent(&pci_dev->dev, 4 * DESC_SIZE * NR_RX_DESC,
2216 dma_free_coherent(&dev->pci_dev->dev, 4 * DESC_SIZE * NR_RX_DESC,