Searched refs:CAN_STATE_ERROR_PASSIVE (Results 1 – 25 of 35) sorted by relevance
12
39 case CAN_STATE_ERROR_PASSIVE: in can_update_state_error_stats()57 case CAN_STATE_ERROR_PASSIVE: in can_tx_state_to_frame()71 case CAN_STATE_ERROR_PASSIVE: in can_rx_state_to_frame()85 case CAN_STATE_ERROR_PASSIVE: in can_get_state_str()
475 case CAN_STATE_ERROR_PASSIVE: in ifi_canfd_handle_state_change()478 priv->can.state = CAN_STATE_ERROR_PASSIVE; in ifi_canfd_handle_state_change()508 case CAN_STATE_ERROR_PASSIVE: in ifi_canfd_handle_state_change()553 (priv->can.state != CAN_STATE_ERROR_PASSIVE)) { in ifi_canfd_handle_state_errors()556 CAN_STATE_ERROR_PASSIVE); in ifi_canfd_handle_state_errors()
903 if (new_state >= CAN_STATE_ERROR_PASSIVE && in at91_irq_err_state()918 if (new_state <= CAN_STATE_ERROR_PASSIVE) { in at91_irq_err_state()948 case CAN_STATE_ERROR_PASSIVE: in at91_irq_err_state()992 *state = CAN_STATE_ERROR_PASSIVE; in at91_get_state_by_bec()1015 new_state = CAN_STATE_ERROR_PASSIVE; in at91_irq_err()
711 rx_state = rec >= tec ? CAN_STATE_ERROR_PASSIVE : 0; in ti_hecc_interrupt()712 tx_state = rec <= tec ? CAN_STATE_ERROR_PASSIVE : 0; in ti_hecc_interrupt()734 new_state = CAN_STATE_ERROR_PASSIVE; in ti_hecc_interrupt()
596 if (state == CAN_STATE_ERROR_PASSIVE) in sun4i_can_err()599 state = CAN_STATE_ERROR_PASSIVE; in sun4i_can_err()
899 return CAN_STATE_ERROR_PASSIVE; in xcan_current_error_state()927 if (WARN_ON(new_state > CAN_STATE_ERROR_PASSIVE)) in xcan_set_error_state()956 old_state != CAN_STATE_ERROR_PASSIVE) in xcan_update_error_state_after_rxtx()
621 state = CAN_STATE_ERROR_PASSIVE; in grcan_err()646 case CAN_STATE_ERROR_PASSIVE: in grcan_err()
1119 state = CAN_STATE_ERROR_PASSIVE; in ican3_handle_cevtind()1155 state == CAN_STATE_ERROR_PASSIVE)) { in ican3_handle_cevtind()
1258 *new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_pciefd_packet_to_state()1260 *new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_pciefd_packet_to_state()
26 return (can->state <= CAN_STATE_ERROR_PASSIVE); in canif_is_active()228 can_state = CAN_STATE_ERROR_PASSIVE; in softing_handle_1()248 if (can_state == CAN_STATE_ERROR_PASSIVE) in softing_handle_1()
467 if (state == CAN_STATE_ERROR_PASSIVE) in sja1000_err()470 state = CAN_STATE_ERROR_PASSIVE; in sja1000_err()
728 case CAN_STATE_ERROR_PASSIVE: in m_can_handle_state_change()731 cdev->can.state = CAN_STATE_ERROR_PASSIVE; in m_can_handle_state_change()761 case CAN_STATE_ERROR_PASSIVE: in m_can_handle_state_change()802 if (psr & PSR_EP && cdev->can.state != CAN_STATE_ERROR_PASSIVE) { in m_can_handle_state_errors()805 CAN_STATE_ERROR_PASSIVE); in m_can_handle_state_errors()
605 new_state = CAN_STATE_ERROR_PASSIVE; in pcan_usb_pro_handle_error()624 case CAN_STATE_ERROR_PASSIVE: in pcan_usb_pro_handle_error()
485 CAN_STATE_ERROR_PASSIVE : in pcan_usb_decode_error()
1125 new_state = CAN_STATE_ERROR_PASSIVE; in mcp251x_can_ist()1129 new_state = CAN_STATE_ERROR_PASSIVE; in mcp251x_can_ist()1152 if (new_state >= CAN_STATE_ERROR_PASSIVE && in mcp251x_can_ist()
793 can->state = CAN_STATE_ERROR_PASSIVE; in es58x_rx_err_msg()2021 case CAN_STATE_ERROR_PASSIVE: in es58x_set_mode()2033 case CAN_STATE_ERROR_PASSIVE: in es58x_set_mode()
985 new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_leaf_rx_error_update_can_state()990 new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_leaf_rx_error_update_can_state()1074 (es->rxerr || es->txerr || new_state == CAN_STATE_ERROR_PASSIVE)) in kvaser_usb_leaf_rx_error()
903 *new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_hydra_bus_status_to_can_state()909 *new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_hydra_bus_status_to_can_state()
255 priv->can.state = CAN_STATE_ERROR_PASSIVE; in esd_usb2_rx_event()292 priv->can.state == CAN_STATE_ERROR_PASSIVE) { in esd_usb2_rx_event()
518 new_state = CAN_STATE_ERROR_PASSIVE; in ucan_handle_error_frame()548 case CAN_STATE_ERROR_PASSIVE: in ucan_handle_error_frame()
522 priv->can.state = CAN_STATE_ERROR_PASSIVE; in mcba_usb_process_ka_can()
426 priv->can.state = CAN_STATE_ERROR_PASSIVE; in usb_8dev_rx_err_msg()
387 dev->can.state == CAN_STATE_ERROR_PASSIVE) { in ems_usb_rx_err()
373 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status()
46 CAN_STATE_ERROR_PASSIVE, enumerator