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; member
651 unsigned tx_tail = cp->tx_tail; in cp_tx() local
654 while (tx_tail != tx_head) { in cp_tx()
655 struct cp_desc *txd = cp->tx_ring + tx_tail; in cp_tx()
664 skb = cp->tx_skb[tx_tail]; in cp_tx()
668 cp->tx_opts[tx_tail] & 0xffff, in cp_tx()
690 "tx done, slot %d\n", tx_tail); in cp_tx()
697 cp->tx_skb[tx_tail] = NULL; in cp_tx()
699 tx_tail = NEXT_TX(tx_tail); in cp_tx()
702 cp->tx_tail = tx_tail; in cp_tx()
966 cp->tx_head = cp->tx_tail = 0; in cp_stop_hw()
1099 cp->tx_head = cp->tx_tail = 0; in cp_init_rings_index()
1251 cp->tx_head, cp->tx_tail, cpr16(TxDmaOkLowDesc)); in cp_tx_timeout()