Lines Matching refs:NR_RX_DESC
140 #define NR_RX_DESC 64 macro
429 struct sk_buff *skbs[NR_RX_DESC];
507 #define nr_rx_empty(dev) ((NR_RX_DESC-2 + dev->rx_info.next_rx - dev->rx_info.next_empty) % NR_RX_D…
536 dev->rx_info.next_empty = (next_empty + 1) % NR_RX_DESC; in ns83820_add_rx_skb()
543 …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()
559 for (i=0; i<NR_RX_DESC; i++) { in rx_refill()
717 for (i=0; i<NR_RX_DESC; i++) in ns83820_setup_rx()
786 for (i=0; i<NR_RX_DESC; i++) { in ns83820_cleanup_rx()
805 if (dev->rx_info.up && nr_rx_empty(dev) > NR_RX_DESC*3/4) in ns83820_rx_kick()
854 info->next_rx = (next_rx + 1) % NR_RX_DESC; in rx_irq()
1810 4 * DESC_SIZE * NR_RX_DESC, &dev->rx_info.phy_descs); in ns83820_init_one()
2030 …pci_free_consistent(pci_dev, 4 * DESC_SIZE * NR_RX_DESC, dev->rx_info.descs, dev->rx_info.phy_desc… in ns83820_init_one()
2055 pci_free_consistent(dev->pci_dev, 4 * DESC_SIZE * NR_RX_DESC, in ns83820_remove_one()