Lines Matching refs:new_state
409 enum can_state new_state;
416 new_state = mc->pdev->dev.can.state;
421 new_state = CAN_STATE_ERROR_WARNING;
427 new_state = CAN_STATE_ERROR_PASSIVE;
431 new_state = CAN_STATE_BUS_OFF;
439 new_state = CAN_STATE_MAX;
451 new_state = CAN_STATE_BUS_OFF;
455 new_state = CAN_STATE_ERROR_WARNING;
463 new_state = CAN_STATE_MAX;
480 if (mc->pdev->dev.can.state == new_state)
488 switch (new_state) {
515 new_state = mc->pdev->dev.can.state;
519 mc->pdev->dev.can.state = new_state;