Lines Matching refs:tx_tail
499 bp->tx_tail, bp->tx_head); in macb_tx_error_task()
518 for (tail = bp->tx_tail; tail != bp->tx_head; tail++) { in macb_tx_error_task()
567 bp->tx_head = bp->tx_tail = 0; in macb_tx_error_task()
593 for (tail = bp->tx_tail; tail != head; tail++) { in macb_tx_interrupt()
637 bp->tx_tail = tail; in macb_tx_interrupt()
639 && CIRC_CNT(bp->tx_head, bp->tx_tail, in macb_tx_interrupt()
1217 if (CIRC_SPACE(bp->tx_head, bp->tx_tail, TX_RING_SIZE) < count) { in macb_start_xmit()
1221 bp->tx_head, bp->tx_tail); in macb_start_xmit()
1238 if (CIRC_SPACE(bp->tx_head, bp->tx_tail, TX_RING_SIZE) < 1) in macb_start_xmit()
1402 bp->rx_tail = bp->rx_prepared_head = bp->tx_head = bp->tx_tail = 0; in gem_init_rings()
1426 bp->rx_tail = bp->tx_head = bp->tx_tail = 0; in macb_init_rings()
1898 tail = macb_tx_ring_wrap(bp->tx_tail); in macb_get_regs()