Lines Matching refs:tx_status
666 u32 tx_status;
671 tx_status = ioread32(port_base + TxStatus0 + entry * 4);
673 if (!(tx_status & (TxStatOK | TxUnderrun | TxAborted)))
678 if (tx_status & TxStatOK) {
679 priv->stats.tx_bytes += tx_status & 0x1fff;
682 priv->stats.collisions += (tx_status >> 22) & 0xf;
685 if (tx_status & (TxOutOfWindow | TxAborted)) {
688 if (tx_status & TxAborted)
691 if (tx_status & TxCarrierLost)
694 if (tx_status & TxOutOfWindow)
698 if (tx_status & TxUnderrun)
957 u32 tx_status;
989 tx_status = len;
991 tx_status = 0x30000 | len;
993 tx_status = 0x50000 | len;
997 iowrite32(tx_status, port_base + TxStatus0 + entry * 4);