Lines Matching defs:state
124 priv->can.state = CAN_STATE_STOPPED;
145 priv->can.state = CAN_STATE_ERROR_ACTIVE;
169 if (priv->can.state != CAN_STATE_STOPPED)
374 enum can_state state = priv->can.state;
396 state = CAN_STATE_BUS_OFF;
400 state = CAN_STATE_ERROR_WARNING;
402 state = CAN_STATE_ERROR_ACTIVE;
436 state = CAN_STATE_ERROR_PASSIVE;
438 state = CAN_STATE_ERROR_ACTIVE;
450 if (state != priv->can.state && (state == CAN_STATE_ERROR_WARNING ||
451 state == CAN_STATE_ERROR_PASSIVE)) {
455 if (state == CAN_STATE_ERROR_WARNING) {
470 priv->can.state = state;