Home
last modified time | relevance | path

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

12

/linux/drivers/net/can/dev/
H A Ddev.c31 case CAN_STATE_ERROR_PASSIVE: in can_update_state_error_stats()
49 case CAN_STATE_ERROR_PASSIVE: in can_tx_state_to_frame()
63 case CAN_STATE_ERROR_PASSIVE: in can_rx_state_to_frame()
77 case CAN_STATE_ERROR_PASSIVE: in can_get_state_str()
100 return CAN_STATE_ERROR_PASSIVE; in can_state_err_to_state()
/linux/include/uapi/linux/can/
H A Dnetlink.h72 CAN_STATE_ERROR_PASSIVE, /* RX/TX error count < 256 */ enumerator
/linux/drivers/net/can/ifi_canfd/
H A Difi_canfd.c469 case CAN_STATE_ERROR_PASSIVE: in ifi_canfd_handle_state_change()
472 priv->can.state = CAN_STATE_ERROR_PASSIVE; in ifi_canfd_handle_state_change()
502 case CAN_STATE_ERROR_PASSIVE: in ifi_canfd_handle_state_change()
545 (priv->can.state != CAN_STATE_ERROR_PASSIVE)) { in ifi_canfd_handle_state_errors()
548 CAN_STATE_ERROR_PASSIVE); in ifi_canfd_handle_state_errors()
/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c105 CTUCAN_STATE_TO_TEXT_ENTRY(CAN_STATE_ERROR_PASSIVE),
770 return CAN_STATE_ERROR_PASSIVE; in ctucan_read_fault_state()
776 return CAN_STATE_ERROR_PASSIVE; in ctucan_read_fault_state()
847 case CAN_STATE_ERROR_PASSIVE: in ctucan_err_interrupt()
/linux/drivers/net/can/softing/
H A Dsofting_main.c27 return (can->state <= CAN_STATE_ERROR_PASSIVE); in canif_is_active()
229 can_state = CAN_STATE_ERROR_PASSIVE; in softing_handle_1()
249 if (can_state == CAN_STATE_ERROR_PASSIVE) in softing_handle_1()
/linux/drivers/net/can/sja1000/
H A Dsja1000.c495 if (state == CAN_STATE_ERROR_PASSIVE) in sja1000_err()
498 state = CAN_STATE_ERROR_PASSIVE; in sja1000_err()
/linux/drivers/net/can/
H A Dti_hecc.c702 rx_state = rec >= tec ? CAN_STATE_ERROR_PASSIVE : 0; in ti_hecc_interrupt()
703 tx_state = rec <= tec ? CAN_STATE_ERROR_PASSIVE : 0; in ti_hecc_interrupt()
725 new_state = CAN_STATE_ERROR_PASSIVE; in ti_hecc_interrupt()
H A Dsun4i_can.c612 if (state == CAN_STATE_ERROR_PASSIVE) in sun4i_can_err()
615 state = CAN_STATE_ERROR_PASSIVE; in sun4i_can_err()
H A Dxilinx_can.c1003 return CAN_STATE_ERROR_PASSIVE; in xcan_current_error_state()
1031 if (WARN_ON(new_state > CAN_STATE_ERROR_PASSIVE)) in xcan_set_error_state()
1061 old_state != CAN_STATE_ERROR_PASSIVE) in xcan_update_error_state_after_rxtx()
H A Dgrcan.c620 state = CAN_STATE_ERROR_PASSIVE; in grcan_err()
645 case CAN_STATE_ERROR_PASSIVE: in grcan_err()
H A Djanz-ican3.c1120 state = CAN_STATE_ERROR_PASSIVE; in ican3_handle_cevtind()
1156 state == CAN_STATE_ERROR_PASSIVE)) { in ican3_handle_cevtind()
/linux/drivers/net/can/m_can/
H A Dm_can.c807 case CAN_STATE_ERROR_PASSIVE: in m_can_handle_state_change()
810 cdev->can.state = CAN_STATE_ERROR_PASSIVE; in m_can_handle_state_change()
840 case CAN_STATE_ERROR_PASSIVE: in m_can_handle_state_change()
878 if (psr & PSR_EP && cdev->can.state != CAN_STATE_ERROR_PASSIVE) { in m_can_handle_state_errors()
881 CAN_STATE_ERROR_PASSIVE); in m_can_handle_state_errors()
/linux/drivers/net/can/spi/
H A Dmcp251x.c1120 new_state = CAN_STATE_ERROR_PASSIVE; in mcp251x_can_ist()
1124 new_state = CAN_STATE_ERROR_PASSIVE; in mcp251x_can_ist()
1147 if (new_state >= CAN_STATE_ERROR_PASSIVE && in mcp251x_can_ist()
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_pro.c621 new_state = CAN_STATE_ERROR_PASSIVE; in pcan_usb_pro_handle_error()
640 case CAN_STATE_ERROR_PASSIVE: in pcan_usb_pro_handle_error()
H A Dpcan_usb.c506 CAN_STATE_ERROR_PASSIVE : in pcan_usb_decode_error()
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c792 can->state = CAN_STATE_ERROR_PASSIVE; in es58x_rx_err_msg()
2013 case CAN_STATE_ERROR_PASSIVE: in es58x_set_mode()
2025 case CAN_STATE_ERROR_PASSIVE: in es58x_set_mode()
/linux/drivers/net/can/usb/
H A Df81604.c561 if (can_state == CAN_STATE_ERROR_PASSIVE) in f81604_handle_can_bus_errors()
564 can_state = CAN_STATE_ERROR_PASSIVE; in f81604_handle_can_bus_errors()
H A Ducan.c518 new_state = CAN_STATE_ERROR_PASSIVE; in ucan_handle_error_frame()
548 case CAN_STATE_ERROR_PASSIVE: in ucan_handle_error_frame()
H A Dmcba_usb.c516 priv->can.state = CAN_STATE_ERROR_PASSIVE; in mcba_usb_process_ka_can()
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_leaf.c1059 new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_leaf_rx_error_update_can_state()
1064 new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_leaf_rx_error_update_can_state()
1166 (es->rxerr || es->txerr || new_state == CAN_STATE_ERROR_PASSIVE || in kvaser_usb_leaf_rx_error()
/linux/drivers/net/can/slcan/
H A Dslcan-core.c275 state = CAN_STATE_ERROR_PASSIVE; in slcan_bump_state()
/linux/drivers/net/can/mscan/
H A Dmscan.c40 CAN_STATE_ERROR_PASSIVE, enumerator
/linux/drivers/net/can/esd/
H A Desdacc.c596 new_state = CAN_STATE_ERROR_PASSIVE; in handle_core_msg_errstatechange()
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c374 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status()
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c1065 tx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif()
1072 rx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif()

12