Lines Matching refs:tx_status
654 u32 tx_status; in _sc92031_tx_tasklet() local
659 tx_status = ioread32(port_base + TxStatus0 + entry * 4); in _sc92031_tx_tasklet()
661 if (!(tx_status & (TxStatOK | TxUnderrun | TxAborted))) in _sc92031_tx_tasklet()
666 if (tx_status & TxStatOK) { in _sc92031_tx_tasklet()
667 dev->stats.tx_bytes += tx_status & 0x1fff; in _sc92031_tx_tasklet()
670 dev->stats.collisions += (tx_status >> 22) & 0xf; in _sc92031_tx_tasklet()
673 if (tx_status & (TxOutOfWindow | TxAborted)) { in _sc92031_tx_tasklet()
676 if (tx_status & TxAborted) in _sc92031_tx_tasklet()
679 if (tx_status & TxCarrierLost) in _sc92031_tx_tasklet()
682 if (tx_status & TxOutOfWindow) in _sc92031_tx_tasklet()
686 if (tx_status & TxUnderrun) in _sc92031_tx_tasklet()
939 u32 tx_status; in sc92031_start_xmit() local
969 tx_status = len; in sc92031_start_xmit()
971 tx_status = 0x30000 | len; in sc92031_start_xmit()
973 tx_status = 0x50000 | len; in sc92031_start_xmit()
977 iowrite32(tx_status, port_base + TxStatus0 + entry * 4); in sc92031_start_xmit()