Lines Matching refs:tx_empty
78 int tx_empty; member
595 bp->tx_empty = 0; in bmac_init_tx_ring()
656 if (i == bp->tx_empty) { in bmac_transmit_packet()
771 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_txdma_intr()
784 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr()
786 dev_kfree_skb_irq(bp->tx_bufs[bp->tx_empty]); in bmac_txdma_intr()
788 bp->tx_bufs[bp->tx_empty] = NULL; in bmac_txdma_intr()
791 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
792 bp->tx_empty = 0; in bmac_txdma_intr()
793 if (bp->tx_empty == bp->tx_fill) in bmac_txdma_intr()
1460 if (i == bp->tx_empty) in bmac_start()
1497 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_tx_timeout()
1520 bp->tx_empty, bp->tx_fill, bp->tx_fullup)); in bmac_tx_timeout()
1521 i = bp->tx_empty; in bmac_tx_timeout()
1527 bp->tx_empty = i; in bmac_tx_timeout()