Lines Matching refs:tx_empty
74 int tx_empty; member
589 bp->tx_empty = 0; in bmac_init_tx_ring()
650 if (i == bp->tx_empty) { in bmac_transmit_packet()
765 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_txdma_intr()
778 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr()
780 dev_kfree_skb_irq(bp->tx_bufs[bp->tx_empty]); in bmac_txdma_intr()
782 bp->tx_bufs[bp->tx_empty] = NULL; in bmac_txdma_intr()
785 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
786 bp->tx_empty = 0; in bmac_txdma_intr()
787 if (bp->tx_empty == bp->tx_fill) in bmac_txdma_intr()
1449 if (i == bp->tx_empty) in bmac_start()
1486 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_tx_timeout()
1509 bp->tx_empty, bp->tx_fill, bp->tx_fullup)); in bmac_tx_timeout()
1510 i = bp->tx_empty; in bmac_tx_timeout()
1516 bp->tx_empty = i; in bmac_tx_timeout()