Searched refs:NR_TX_DESC (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
H A D | ns83820.c | 143 #define NR_TX_DESC 128 macro 455 struct sk_buff *tx_skbs[NR_TX_DESC]; 487 //free = (tx_done_idx + NR_TX_DESC-2 - free_idx) % NR_TX_DESC 489 (((NR_TX_DESC-2 + dev->tx_done_idx - dev->tx_free_idx) % NR_TX_DESC) > MIN_TX_DESC_FREE) 1014 tx_done_idx = (tx_done_idx + 1) % NR_TX_DESC; do_tx_done() 1035 for (i=0; i<NR_TX_DESC; i++) { ns83820_cleanup_tx() 1049 memset(dev->tx_descs, 0, NR_TX_DESC * DESC_SIZE * 4); ns83820_cleanup_tx() 1085 nr_free = (tx_done_idx + NR_TX_DESC-2 - free_idx) % NR_TX_DESC; ns83820_hard_start_xmit() 1102 dev->tx_intr_idx = (dev->tx_intr_idx + NR_TX_DESC/4) % NR_TX_DESC; ns83820_hard_start_xmit() 1148 free_idx = (free_idx + 1) % NR_TX_DESC; ns83820_hard_start_xmit() 1467 if (dev->tx_idx >= NR_TX_DESC) { ns83820_do_isr() 1637 memset(dev->tx_descs, 0, 4 * NR_TX_DESC * DESC_SIZE); ns83820_open() 1638 for (i=0; i<NR_TX_DESC; i++) { ns83820_open() 1642 + ((i+1) % NR_TX_DESC) * DESC_SIZE * 4); ns83820_open() 1991 4 * DESC_SIZE * NR_TX_DESC, &dev->tx_phy_descs); ns83820_init_one() 2233 pci_free_consistent(pci_dev, 4 * DESC_SIZE * NR_TX_DESC, dev->tx_descs, dev->tx_phy_descs); ns83820_init_one() 2255 pci_free_consistent(dev->pci_dev, 4 * DESC_SIZE * NR_TX_DESC, ns83820_remove_one()
|
Completed in 69 milliseconds