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;
650 unsigned tx_head = cp->tx_head; in cp_tx() local
654 while (tx_tail != tx_head) { in cp_tx()
751 entry = cp->tx_head; in cp_start_xmit()
867 cp->tx_head = NEXT_TX(entry); in cp_start_xmit()
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()