Lines Matching refs:rxerr
917 u16 txerr, u16 rxerr)
925 netdev_dbg(ndev, "ch erfl %x txerr %u rxerr %u\n", cerfl, txerr, rxerr);
993 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_WARNING :
996 cf->data[7] = rxerr;
1003 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_PASSIVE :
1006 cf->data[7] = rxerr;
1112 u16 txerr, u16 rxerr)
1121 if (txerr < 96 && rxerr < 96)
1123 else if (txerr < 128 && rxerr < 128)
1127 netdev_dbg(ndev, "state: new %d, old %d: txerr %u, rxerr %u\n",
1128 state, priv->can.state, txerr, rxerr);
1134 tx_state = txerr >= rxerr ? state : 0;
1135 rx_state = txerr <= rxerr ? state : 0;
1150 u16 txerr, rxerr;
1161 rxerr = RCANFD_CSTS_RECCNT(sts);
1163 rcar_canfd_error(ndev, cerfl, txerr, rxerr);
1168 rcar_canfd_state_change(ndev, txerr, rxerr);
1547 bec->rxerr = RCANFD_CSTS_RECCNT(val);