/linux-6.3-rc2/drivers/net/can/dev/ |
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()
|
/linux-6.3-rc2/include/uapi/linux/can/ |
A D | netlink.h | 72 CAN_STATE_ERROR_PASSIVE, /* RX/TX error count < 256 */ enumerator
|
/linux-6.3-rc2/drivers/net/can/ifi_canfd/ |
A D | ifi_canfd.c | 470 case CAN_STATE_ERROR_PASSIVE: in ifi_canfd_handle_state_change() 473 priv->can.state = CAN_STATE_ERROR_PASSIVE; in ifi_canfd_handle_state_change() 503 case CAN_STATE_ERROR_PASSIVE: in ifi_canfd_handle_state_change() 546 (priv->can.state != CAN_STATE_ERROR_PASSIVE)) { in ifi_canfd_handle_state_errors() 549 CAN_STATE_ERROR_PASSIVE); in ifi_canfd_handle_state_errors()
|
/linux-6.3-rc2/drivers/net/can/ |
A D | at91_can.c | 898 if (new_state >= CAN_STATE_ERROR_PASSIVE && in at91_irq_err_state() 913 if (new_state <= CAN_STATE_ERROR_PASSIVE) { in at91_irq_err_state() 943 case CAN_STATE_ERROR_PASSIVE: in at91_irq_err_state() 987 *state = CAN_STATE_ERROR_PASSIVE; in at91_get_state_by_bec() 1010 new_state = CAN_STATE_ERROR_PASSIVE; in at91_irq_err()
|
A D | ti_hecc.c | 703 rx_state = rec >= tec ? CAN_STATE_ERROR_PASSIVE : 0; in ti_hecc_interrupt() 704 tx_state = rec <= tec ? CAN_STATE_ERROR_PASSIVE : 0; in ti_hecc_interrupt() 726 new_state = CAN_STATE_ERROR_PASSIVE; in ti_hecc_interrupt()
|
A D | sun4i_can.c | 608 if (state == CAN_STATE_ERROR_PASSIVE) in sun4i_can_err() 611 state = CAN_STATE_ERROR_PASSIVE; in sun4i_can_err()
|
A D | xilinx_can.c | 935 return CAN_STATE_ERROR_PASSIVE; in xcan_current_error_state() 963 if (WARN_ON(new_state > CAN_STATE_ERROR_PASSIVE)) in xcan_set_error_state() 993 old_state != CAN_STATE_ERROR_PASSIVE) in xcan_update_error_state_after_rxtx()
|
A D | grcan.c | 619 state = CAN_STATE_ERROR_PASSIVE; in grcan_err() 644 case CAN_STATE_ERROR_PASSIVE: in grcan_err()
|
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-6.3-rc2/drivers/net/can/ctucanfd/ |
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-6.3-rc2/drivers/net/can/softing/ |
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-6.3-rc2/drivers/net/can/sja1000/ |
A D | sja1000.c | 469 if (state == CAN_STATE_ERROR_PASSIVE) in sja1000_err() 472 state = CAN_STATE_ERROR_PASSIVE; in sja1000_err()
|
/linux-6.3-rc2/drivers/net/can/m_can/ |
A D | m_can.c | 733 case CAN_STATE_ERROR_PASSIVE: in m_can_handle_state_change() 736 cdev->can.state = CAN_STATE_ERROR_PASSIVE; in m_can_handle_state_change() 766 case CAN_STATE_ERROR_PASSIVE: in m_can_handle_state_change() 804 if (psr & PSR_EP && cdev->can.state != CAN_STATE_ERROR_PASSIVE) { in m_can_handle_state_errors() 807 CAN_STATE_ERROR_PASSIVE); in m_can_handle_state_errors()
|
/linux-6.3-rc2/drivers/net/can/spi/ |
A D | mcp251x.c | 1121 new_state = CAN_STATE_ERROR_PASSIVE; in mcp251x_can_ist() 1125 new_state = CAN_STATE_ERROR_PASSIVE; in mcp251x_can_ist() 1148 if (new_state >= CAN_STATE_ERROR_PASSIVE && in mcp251x_can_ist()
|
/linux-6.3-rc2/drivers/net/can/usb/peak_usb/ |
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()
|
A D | pcan_usb.c | 506 CAN_STATE_ERROR_PASSIVE : in pcan_usb_decode_error()
|
/linux-6.3-rc2/drivers/net/can/usb/etas_es58x/ |
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-6.3-rc2/drivers/net/can/usb/kvaser_usb/ |
A D | kvaser_usb_leaf.c | 984 new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_leaf_rx_error_update_can_state() 989 new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_leaf_rx_error_update_can_state() 1091 (es->rxerr || es->txerr || new_state == CAN_STATE_ERROR_PASSIVE || in kvaser_usb_leaf_rx_error()
|
/linux-6.3-rc2/drivers/net/can/usb/ |
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()
|
A D | mcba_usb.c | 516 priv->can.state = CAN_STATE_ERROR_PASSIVE; in mcba_usb_process_ka_can()
|
/linux-6.3-rc2/drivers/net/can/slcan/ |
A D | slcan-core.c | 275 state = CAN_STATE_ERROR_PASSIVE; in slcan_bump_state()
|
/linux-6.3-rc2/drivers/net/can/mscan/ |
A D | mscan.c | 46 CAN_STATE_ERROR_PASSIVE, enumerator
|
/linux-6.3-rc2/drivers/net/can/peak_canfd/ |
A D | peak_canfd.c | 374 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status()
|
/linux-6.3-rc2/drivers/net/can/spi/mcp251xfd/ |
A D | mcp251xfd-core.c | 1056 tx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif() 1063 rx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif()
|
/linux-6.3-rc2/drivers/net/can/cc770/ |
A D | cc770.c | 534 priv->can.state = CAN_STATE_ERROR_PASSIVE; in cc770_err()
|