Home
last modified time | relevance | path

Searched refs:CAN_STATE_ERROR_PASSIVE (Results 1 – 25 of 35) sorted by relevance

12

/drivers/net/can/dev/
Ddev.c39 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()
/drivers/net/can/ifi_canfd/
Difi_canfd.c475 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()
/drivers/net/can/
Dat91_can.c903 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()
Dti_hecc.c711 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()
Dsun4i_can.c596 if (state == CAN_STATE_ERROR_PASSIVE) in sun4i_can_err()
599 state = CAN_STATE_ERROR_PASSIVE; in sun4i_can_err()
Dxilinx_can.c899 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()
Dgrcan.c621 state = CAN_STATE_ERROR_PASSIVE; in grcan_err()
646 case CAN_STATE_ERROR_PASSIVE: in grcan_err()
Djanz-ican3.c1119 state = CAN_STATE_ERROR_PASSIVE; in ican3_handle_cevtind()
1155 state == CAN_STATE_ERROR_PASSIVE)) { in ican3_handle_cevtind()
Dkvaser_pciefd.c1258 *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()
/drivers/net/can/softing/
Dsofting_main.c26 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()
/drivers/net/can/sja1000/
Dsja1000.c467 if (state == CAN_STATE_ERROR_PASSIVE) in sja1000_err()
470 state = CAN_STATE_ERROR_PASSIVE; in sja1000_err()
/drivers/net/can/m_can/
Dm_can.c728 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()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c605 new_state = CAN_STATE_ERROR_PASSIVE; in pcan_usb_pro_handle_error()
624 case CAN_STATE_ERROR_PASSIVE: in pcan_usb_pro_handle_error()
Dpcan_usb.c485 CAN_STATE_ERROR_PASSIVE : in pcan_usb_decode_error()
/drivers/net/can/spi/
Dmcp251x.c1125 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()
/drivers/net/can/usb/etas_es58x/
Des58x_core.c793 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()
/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_leaf.c985 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()
Dkvaser_usb_hydra.c903 *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()
/drivers/net/can/usb/
Desd_usb2.c255 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()
Ducan.c518 new_state = CAN_STATE_ERROR_PASSIVE; in ucan_handle_error_frame()
548 case CAN_STATE_ERROR_PASSIVE: in ucan_handle_error_frame()
Dmcba_usb.c522 priv->can.state = CAN_STATE_ERROR_PASSIVE; in mcba_usb_process_ka_can()
Dusb_8dev.c426 priv->can.state = CAN_STATE_ERROR_PASSIVE; in usb_8dev_rx_err_msg()
Dems_usb.c387 dev->can.state == CAN_STATE_ERROR_PASSIVE) { in ems_usb_rx_err()
/drivers/net/can/peak_canfd/
Dpeak_canfd.c373 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status()
/drivers/net/can/mscan/
Dmscan.c46 CAN_STATE_ERROR_PASSIVE, enumerator

12