/linux/drivers/net/can/dev/ |
H A D | dev.c | 31 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 D | netlink.h | 72 CAN_STATE_ERROR_PASSIVE, /* RX/TX error count < 256 */ enumerator
|
/linux/drivers/net/can/ifi_canfd/ |
H A D | ifi_canfd.c | 469 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 D | ctucanfd_base.c | 105 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 D | softing_main.c | 27 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 D | sja1000.c | 495 if (state == CAN_STATE_ERROR_PASSIVE) in sja1000_err() 498 state = CAN_STATE_ERROR_PASSIVE; in sja1000_err()
|
/linux/drivers/net/can/ |
H A D | ti_hecc.c | 702 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 D | sun4i_can.c | 612 if (state == CAN_STATE_ERROR_PASSIVE) in sun4i_can_err() 615 state = CAN_STATE_ERROR_PASSIVE; in sun4i_can_err()
|
H A D | xilinx_can.c | 1003 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 D | grcan.c | 620 state = CAN_STATE_ERROR_PASSIVE; in grcan_err() 645 case CAN_STATE_ERROR_PASSIVE: in grcan_err()
|
H A D | janz-ican3.c | 1120 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 D | m_can.c | 807 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 D | mcp251x.c | 1120 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 D | pcan_usb_pro.c | 621 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 D | pcan_usb.c | 506 CAN_STATE_ERROR_PASSIVE : in pcan_usb_decode_error()
|
/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.c | 792 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 D | f81604.c | 561 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 D | ucan.c | 518 new_state = CAN_STATE_ERROR_PASSIVE; in ucan_handle_error_frame() 548 case CAN_STATE_ERROR_PASSIVE: in ucan_handle_error_frame()
|
H A D | mcba_usb.c | 516 priv->can.state = CAN_STATE_ERROR_PASSIVE; in mcba_usb_process_ka_can()
|
/linux/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_leaf.c | 1059 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 D | slcan-core.c | 275 state = CAN_STATE_ERROR_PASSIVE; in slcan_bump_state()
|
/linux/drivers/net/can/mscan/ |
H A D | mscan.c | 40 CAN_STATE_ERROR_PASSIVE, enumerator
|
/linux/drivers/net/can/esd/ |
H A D | esdacc.c | 596 new_state = CAN_STATE_ERROR_PASSIVE; in handle_core_msg_errstatechange()
|
/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 374 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status()
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 1065 tx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif() 1072 rx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif()
|