Lines Matching refs:tx_empty
75 int tx_empty; member
587 bp->tx_empty = 0; in bmac_init_tx_ring()
648 if (i == bp->tx_empty) { in bmac_transmit_packet()
763 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_txdma_intr()
776 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr()
778 dev_consume_skb_irq(bp->tx_bufs[bp->tx_empty]); in bmac_txdma_intr()
780 bp->tx_bufs[bp->tx_empty] = NULL; in bmac_txdma_intr()
783 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
784 bp->tx_empty = 0; in bmac_txdma_intr()
785 if (bp->tx_empty == bp->tx_fill) in bmac_txdma_intr()
1447 if (i == bp->tx_empty) in bmac_start()
1484 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_tx_timeout()
1507 bp->tx_empty, bp->tx_fill, bp->tx_fullup)); in bmac_tx_timeout()
1508 i = bp->tx_empty; in bmac_tx_timeout()
1514 bp->tx_empty = i; in bmac_tx_timeout()