Lines Matching refs:tx_head
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)
341 unsigned tx_head ____cacheline_aligned;
652 unsigned tx_head = cp->tx_head; in cp_tx() local
656 while (tx_tail != tx_head) { in cp_tx()
753 entry = cp->tx_head; in cp_start_xmit()
869 cp->tx_head = NEXT_TX(entry); in cp_start_xmit()
968 cp->tx_head = cp->tx_tail = 0; in cp_stop_hw()
1101 cp->tx_head = cp->tx_tail = 0; in cp_init_rings_index()
1253 cp->tx_head, cp->tx_tail, cpr16(TxDmaOkLowDesc)); in cp_tx_timeout()