/openbmc/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 100 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_normal_mode() 112 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_listen_only_mode() 398 } else if (priv->can.state != CAN_STATE_ERROR_ACTIVE) { in pucan_handle_status() 401 can_change_state(ndev, cf, CAN_STATE_ERROR_ACTIVE, in pucan_handle_status() 402 CAN_STATE_ERROR_ACTIVE); in pucan_handle_status()
|
/openbmc/linux/drivers/net/can/dev/ |
H A D | dev.c | 45 case CAN_STATE_ERROR_ACTIVE: in can_tx_state_to_frame() 59 case CAN_STATE_ERROR_ACTIVE: in can_rx_state_to_frame() 73 case CAN_STATE_ERROR_ACTIVE: in can_get_state_str()
|
/openbmc/linux/include/uapi/linux/can/ |
H A D | netlink.h | 70 CAN_STATE_ERROR_ACTIVE = 0, /* RX/TX error count < 96 */ enumerator
|
/openbmc/linux/drivers/net/can/ifi_canfd/ |
H A D | ifi_canfd.c | 459 case CAN_STATE_ERROR_ACTIVE: in ifi_canfd_handle_state_change() 462 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ifi_canfd_handle_state_change() 531 (priv->can.state != CAN_STATE_ERROR_ACTIVE)) { in ifi_canfd_handle_state_errors() 534 CAN_STATE_ERROR_ACTIVE); in ifi_canfd_handle_state_errors() 758 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ifi_canfd_start()
|
/openbmc/linux/drivers/net/can/ |
H A D | at91_can.c | 404 priv->can.state = CAN_STATE_ERROR_ACTIVE; in at91_chip_start() 877 case CAN_STATE_ERROR_ACTIVE: in at91_irq_err_state() 929 case CAN_STATE_ERROR_ACTIVE: in at91_irq_err_state() 983 *state = CAN_STATE_ERROR_ACTIVE; in at91_get_state_by_bec() 1014 new_state = CAN_STATE_ERROR_ACTIVE; in at91_irq_err()
|
H A D | ti_hecc.c | 399 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ti_hecc_start() 719 } else if (unlikely(priv->can.state != CAN_STATE_ERROR_ACTIVE)) { in ti_hecc_interrupt() 729 new_state = CAN_STATE_ERROR_ACTIVE; in ti_hecc_interrupt() 1007 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ti_hecc_resume()
|
H A D | kvaser_pciefd.c | 620 can->can.state = CAN_STATE_ERROR_ACTIVE; in kvaser_pciefd_bus_on() 1216 *new_state = CAN_STATE_ERROR_ACTIVE; in kvaser_pciefd_packet_to_state() 1241 new_state == CAN_STATE_ERROR_ACTIVE && in kvaser_pciefd_rx_error_frame() 1319 new_state == CAN_STATE_ERROR_ACTIVE && in kvaser_pciefd_handle_status_resp() 1384 can->can.state != CAN_STATE_ERROR_ACTIVE) { in kvaser_pciefd_handle_status_packet()
|
H A D | sun4i_can.c | 377 priv->can.state = CAN_STATE_ERROR_ACTIVE; in sun4i_can_start() 571 state = CAN_STATE_ERROR_ACTIVE; in sun4i_can_err()
|
H A D | grcan.c | 625 state = CAN_STATE_ERROR_ACTIVE; in grcan_err() 667 case CAN_STATE_ERROR_ACTIVE: in grcan_err() 854 priv->can.state = CAN_STATE_ERROR_ACTIVE; in grcan_running_reset() 1012 priv->can.state = CAN_STATE_ERROR_ACTIVE; in grcan_start()
|
/openbmc/linux/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_pro.c | 579 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error() 590 dev->can.state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error() 652 case CAN_STATE_ERROR_ACTIVE: in pcan_usb_pro_handle_error() 671 new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error()
|
H A D | pcan_usb.c | 477 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_decode_error() 509 new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_decode_error()
|
/openbmc/linux/drivers/net/can/mscan/ |
H A D | mscan.c | 44 CAN_STATE_ERROR_ACTIVE, enumerator 120 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mscan_set_mode() 171 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mscan_restart()
|
/openbmc/linux/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 103 CTUCAN_STATE_TO_TEXT_ENTRY(CAN_STATE_ERROR_ACTIVE), 766 return CAN_STATE_ERROR_ACTIVE; in ctucan_read_fault_state() 869 case CAN_STATE_ERROR_ACTIVE: in ctucan_err_interrupt() 1329 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ctucan_resume()
|
/openbmc/linux/drivers/net/can/spi/ |
H A D | hi311x.c | 394 priv->can.state = CAN_STATE_ERROR_ACTIVE; in hi3110_do_set_mode() 447 priv->can.state = CAN_STATE_ERROR_ACTIVE; in hi3110_set_normal_mode() 657 new_state = CAN_STATE_ERROR_ACTIVE; in hi3110_can_ist()
|
H A D | mcp251x.c | 810 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251x_do_set_mode() 853 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251x_set_normal_mode() 1137 new_state = CAN_STATE_ERROR_ACTIVE; in mcp251x_can_ist() 1142 case CAN_STATE_ERROR_ACTIVE: in mcp251x_can_ist()
|
/openbmc/linux/drivers/net/can/slcan/ |
H A D | slcan-core.c | 269 state = CAN_STATE_ERROR_ACTIVE; in slcan_bump_state() 750 sl->can.state = CAN_STATE_ERROR_ACTIVE; in slcan_netdev_open()
|
/openbmc/linux/drivers/net/can/sja1000/ |
H A D | sja1000.c | 150 priv->can.state = CAN_STATE_ERROR_ACTIVE; in set_normal_mode() 453 state = CAN_STATE_ERROR_ACTIVE; in sja1000_err()
|
/openbmc/linux/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_hydra.c | 913 *new_state = CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_bus_status_to_can_state() 947 new_state : CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_update_state() 949 new_state : CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_update_state() 1095 new_state : CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_error_frame() 1097 new_state : CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_error_frame()
|
/openbmc/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.c | 777 can->state = CAN_STATE_ERROR_ACTIVE; in es58x_rx_err_msg() 983 priv->can.state = CAN_STATE_ERROR_ACTIVE; in es58x_rx_cmd_ret_u32() 2011 case CAN_STATE_ERROR_ACTIVE: in es58x_set_mode() 2023 case CAN_STATE_ERROR_ACTIVE: in es58x_set_mode()
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | ucan.c | 512 new_state = CAN_STATE_ERROR_ACTIVE; in ucan_handle_error_frame() 1016 up->can.state = CAN_STATE_ERROR_ACTIVE; in ucan_open() 1281 up->can.state = CAN_STATE_ERROR_ACTIVE; in ucan_set_mode()
|
H A D | esd_usb.c | 326 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in esd_usb_rx_event() 342 new_state = CAN_STATE_ERROR_ACTIVE; in esd_usb_rx_event() 755 priv->can.state = CAN_STATE_ERROR_ACTIVE; in esd_usb_start()
|
H A D | ems_usb.c | 354 dev->can.state = CAN_STATE_ERROR_ACTIVE; in ems_usb_rx_err() 675 dev->can.state = CAN_STATE_ERROR_ACTIVE; in ems_usb_start()
|
H A D | usb_8dev.c | 360 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_rx_err_msg() 784 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_start()
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 789 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251xfd_chip_start() 1069 tx_state = CAN_STATE_ERROR_ACTIVE; in mcp251xfd_handle_cerrif() 1076 rx_state = CAN_STATE_ERROR_ACTIVE; in mcp251xfd_handle_cerrif() 1561 priv->can.state > CAN_STATE_ERROR_ACTIVE) { in mcp251xfd_irq()
|
/openbmc/linux/drivers/net/can/flexcan/ |
H A D | flexcan-core.c | 874 CAN_STATE_ERROR_WARNING : CAN_STATE_ERROR_ACTIVE; in flexcan_irq_state() 876 CAN_STATE_ERROR_WARNING : CAN_STATE_ERROR_ACTIVE; in flexcan_irq_state() 1135 case CAN_STATE_ERROR_ACTIVE: in flexcan_irq() 1647 priv->can.state = CAN_STATE_ERROR_ACTIVE; in flexcan_chip_start() 2266 priv->can.state = CAN_STATE_ERROR_ACTIVE; in flexcan_resume()
|