Lines Matching refs:tx_tail
131 (((CP)->tx_tail <= (CP)->tx_head) ? \
132 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \
133 (CP)->tx_tail - (CP)->tx_head - 1)
356 unsigned tx_tail;
698 unsigned tx_tail = cp->tx_tail;
700 while (tx_tail != tx_head) {
701 struct cp_desc *txd = cp->tx_ring + tx_tail;
710 skb = cp->tx_skb[tx_tail];
737 printk(KERN_DEBUG "%s: tx done, slot %d\n", cp->dev->name, tx_tail);
742 cp->tx_skb[tx_tail] = NULL;
744 tx_tail = NEXT_TX(tx_tail);
747 cp->tx_tail = tx_tail;
995 cp->tx_head = cp->tx_tail = 0;
1102 cp->tx_head = cp->tx_tail = 0;