Lines Matching refs:tx_empty
74 int tx_empty; member
586 bp->tx_empty = 0; in bmac_init_tx_ring()
647 if (i == bp->tx_empty) { in bmac_transmit_packet()
762 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_txdma_intr()
775 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr()
777 dev_consume_skb_irq(bp->tx_bufs[bp->tx_empty]); in bmac_txdma_intr()
779 bp->tx_bufs[bp->tx_empty] = NULL; in bmac_txdma_intr()
782 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
783 bp->tx_empty = 0; in bmac_txdma_intr()
784 if (bp->tx_empty == bp->tx_fill) in bmac_txdma_intr()
1448 if (i == bp->tx_empty) in bmac_start()
1485 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_tx_timeout()
1508 bp->tx_empty, bp->tx_fill, bp->tx_fullup)); in bmac_tx_timeout()
1509 i = bp->tx_empty; in bmac_tx_timeout()
1515 bp->tx_empty = i; in bmac_tx_timeout()