Lines Matching refs:tx_status
655 u32 tx_status; in _sc92031_tx_tasklet() local
660 tx_status = ioread32(port_base + TxStatus0 + entry * 4); in _sc92031_tx_tasklet()
662 if (!(tx_status & (TxStatOK | TxUnderrun | TxAborted))) in _sc92031_tx_tasklet()
667 if (tx_status & TxStatOK) { in _sc92031_tx_tasklet()
668 dev->stats.tx_bytes += tx_status & 0x1fff; in _sc92031_tx_tasklet()
671 dev->stats.collisions += (tx_status >> 22) & 0xf; in _sc92031_tx_tasklet()
674 if (tx_status & (TxOutOfWindow | TxAborted)) { in _sc92031_tx_tasklet()
677 if (tx_status & TxAborted) in _sc92031_tx_tasklet()
680 if (tx_status & TxCarrierLost) in _sc92031_tx_tasklet()
683 if (tx_status & TxOutOfWindow) in _sc92031_tx_tasklet()
687 if (tx_status & TxUnderrun) in _sc92031_tx_tasklet()
942 u32 tx_status; in sc92031_start_xmit() local
972 tx_status = len; in sc92031_start_xmit()
974 tx_status = 0x30000 | len; in sc92031_start_xmit()
976 tx_status = 0x50000 | len; in sc92031_start_xmit()
980 iowrite32(tx_status, port_base + TxStatus0 + entry * 4); in sc92031_start_xmit()