Lines Matching refs:tx_empty
73 int tx_empty; member
585 bp->tx_empty = 0; in bmac_init_tx_ring()
646 if (i == bp->tx_empty) { in bmac_transmit_packet()
761 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_txdma_intr()
774 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr()
776 dev_consume_skb_irq(bp->tx_bufs[bp->tx_empty]); in bmac_txdma_intr()
778 bp->tx_bufs[bp->tx_empty] = NULL; in bmac_txdma_intr()
781 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
782 bp->tx_empty = 0; in bmac_txdma_intr()
783 if (bp->tx_empty == bp->tx_fill) in bmac_txdma_intr()
1392 if (i == bp->tx_empty) in bmac_start()
1429 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_tx_timeout()
1452 bp->tx_empty, bp->tx_fill, bp->tx_fullup)); in bmac_tx_timeout()
1453 i = bp->tx_empty; in bmac_tx_timeout()
1459 bp->tx_empty = i; in bmac_tx_timeout()