Home
last modified time | relevance | path

Searched refs:CAN_STATE_ERROR_ACTIVE (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c100 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 Ddev.c45 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 Dnetlink.h70 CAN_STATE_ERROR_ACTIVE = 0, /* RX/TX error count < 96 */ enumerator
/openbmc/linux/drivers/net/can/ifi_canfd/
H A Difi_canfd.c459 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 Dat91_can.c404 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 Dti_hecc.c399 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 Dkvaser_pciefd.c620 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 Dsun4i_can.c377 priv->can.state = CAN_STATE_ERROR_ACTIVE; in sun4i_can_start()
571 state = CAN_STATE_ERROR_ACTIVE; in sun4i_can_err()
H A Dgrcan.c625 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 Dpcan_usb_pro.c579 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 Dpcan_usb.c477 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 Dmscan.c44 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 Dctucanfd_base.c103 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 Dhi311x.c394 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 Dmcp251x.c810 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 Dslcan-core.c269 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 Dsja1000.c150 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 Dkvaser_usb_hydra.c913 *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 Des58x_core.c777 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 Ducan.c512 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 Desd_usb.c326 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 Dems_usb.c354 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 Dusb_8dev.c360 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 Dmcp251xfd-core.c789 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 Dflexcan-core.c874 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()

12