Lines Matching refs:tx_status
653 u32 tx_status; in _sc92031_tx_tasklet() local
658 tx_status = ioread32(port_base + TxStatus0 + entry * 4); in _sc92031_tx_tasklet()
660 if (!(tx_status & (TxStatOK | TxUnderrun | TxAborted))) in _sc92031_tx_tasklet()
665 if (tx_status & TxStatOK) { in _sc92031_tx_tasklet()
666 dev->stats.tx_bytes += tx_status & 0x1fff; in _sc92031_tx_tasklet()
669 dev->stats.collisions += (tx_status >> 22) & 0xf; in _sc92031_tx_tasklet()
672 if (tx_status & (TxOutOfWindow | TxAborted)) { in _sc92031_tx_tasklet()
675 if (tx_status & TxAborted) in _sc92031_tx_tasklet()
678 if (tx_status & TxCarrierLost) in _sc92031_tx_tasklet()
681 if (tx_status & TxOutOfWindow) in _sc92031_tx_tasklet()
685 if (tx_status & TxUnderrun) in _sc92031_tx_tasklet()
938 u32 tx_status; in sc92031_start_xmit() local
968 tx_status = len; in sc92031_start_xmit()
970 tx_status = 0x30000 | len; in sc92031_start_xmit()
972 tx_status = 0x50000 | len; in sc92031_start_xmit()
976 iowrite32(tx_status, port_base + TxStatus0 + entry * 4); in sc92031_start_xmit()