Lines Matching refs:tx_empty
75 int tx_empty; member
590 bp->tx_empty = 0; in bmac_init_tx_ring()
651 if (i == bp->tx_empty) { in bmac_transmit_packet()
766 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_txdma_intr()
779 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr()
781 dev_consume_skb_irq(bp->tx_bufs[bp->tx_empty]); in bmac_txdma_intr()
783 bp->tx_bufs[bp->tx_empty] = NULL; in bmac_txdma_intr()
786 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
787 bp->tx_empty = 0; in bmac_txdma_intr()
788 if (bp->tx_empty == bp->tx_fill) in bmac_txdma_intr()
1450 if (i == bp->tx_empty) in bmac_start()
1487 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_tx_timeout()
1510 bp->tx_empty, bp->tx_fill, bp->tx_fullup)); in bmac_tx_timeout()
1511 i = bp->tx_empty; in bmac_tx_timeout()
1517 bp->tx_empty = i; in bmac_tx_timeout()