Lines Matching refs:tx_tail
116 (((CP)->tx_tail <= (CP)->tx_head) ? \
117 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \
118 (CP)->tx_tail - (CP)->tx_head - 1)
342 unsigned tx_tail;
651 unsigned tx_tail = cp->tx_tail;
654 while (tx_tail != tx_head) {
655 struct cp_desc *txd = cp->tx_ring + tx_tail;
664 skb = cp->tx_skb[tx_tail];
668 cp->tx_opts[tx_tail] & 0xffff,
690 "tx done, slot %d\n", tx_tail);
697 cp->tx_skb[tx_tail] = NULL;
699 tx_tail = NEXT_TX(tx_tail);
702 cp->tx_tail = tx_tail;
966 cp->tx_head = cp->tx_tail = 0;
1099 cp->tx_head = cp->tx_tail = 0;
1251 cp->tx_head, cp->tx_tail, cpr16(TxDmaOkLowDesc));