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