Lines Matching refs:NR_TX_DESC
129 #define NR_TX_DESC 128 macro
441 struct sk_buff *tx_skbs[NR_TX_DESC];
475 (((NR_TX_DESC-2 + dev->tx_done_idx - dev->tx_free_idx) % NR_TX_DESC) > MIN_TX_DESC_FREE)
998 tx_done_idx = (tx_done_idx + 1) % NR_TX_DESC;
1019 for (i=0; i<NR_TX_DESC; i++) {
1033 memset(dev->tx_descs, 0, NR_TX_DESC * DESC_SIZE * 4);
1069 nr_free = (tx_done_idx + NR_TX_DESC-2 - free_idx) % NR_TX_DESC;
1086 dev->tx_intr_idx = (dev->tx_intr_idx + NR_TX_DESC/4) % NR_TX_DESC;
1133 free_idx = (free_idx + 1) % NR_TX_DESC;
1456 if (dev->tx_idx >= NR_TX_DESC) {
1626 memset(dev->tx_descs, 0, 4 * NR_TX_DESC * DESC_SIZE);
1627 for (i=0; i<NR_TX_DESC; i++) {
1631 + ((i+1) % NR_TX_DESC) * DESC_SIZE * 4);
1944 4 * DESC_SIZE * NR_TX_DESC,
2190 dma_free_coherent(&pci_dev->dev, 4 * DESC_SIZE * NR_TX_DESC,
2214 dma_free_coherent(&dev->pci_dev->dev, 4 * DESC_SIZE * NR_TX_DESC,