Lines Matching defs:rec
689 u32 rec = hecc_read(priv, HECC_CANREC);
694 rx_state = rec >= tec ? CAN_STATE_ERROR_WARNING : 0;
695 tx_state = rec <= tec ? CAN_STATE_ERROR_WARNING : 0;
702 rx_state = rec >= tec ? CAN_STATE_ERROR_PASSIVE : 0;
703 tx_state = rec <= tec ? CAN_STATE_ERROR_PASSIVE : 0;
721 u32 rec = hecc_read(priv, HECC_CANREC);
724 if (rec >= 128 || tec >= 128)
726 else if (rec >= 96 || tec >= 96)
732 rx_state = rec >= tec ? new_state : 0;
733 tx_state = rec <= tec ? new_state : 0;