Lines Matching refs:rxerr
997 u16 txerr, u16 rxerr)
1005 netdev_dbg(ndev, "ch erfl %x txerr %u rxerr %u\n", cerfl, txerr, rxerr);
1073 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_WARNING :
1076 cf->data[7] = rxerr;
1083 cf->data[1] = txerr > rxerr ? CAN_ERR_CRTL_TX_PASSIVE :
1086 cf->data[7] = rxerr;
1220 u16 txerr, u16 rxerr)
1229 if (txerr < 96 && rxerr < 96)
1231 else if (txerr < 128 && rxerr < 128)
1235 netdev_dbg(ndev, "state: new %d, old %d: txerr %u, rxerr %u\n",
1236 state, priv->can.state, txerr, rxerr);
1242 tx_state = txerr >= rxerr ? state : 0;
1243 rx_state = txerr <= rxerr ? state : 0;
1276 u16 txerr, rxerr;
1283 rxerr = RCANFD_CSTS_RECCNT(sts);
1285 rcar_canfd_error(ndev, cerfl, txerr, rxerr);
1290 rcar_canfd_state_change(ndev, txerr, rxerr);
1707 bec->rxerr = RCANFD_CSTS_RECCNT(val);