Home
last modified time | relevance | path

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

12

/linux/drivers/net/can/peak_canfd/
A Dpeak_canfd.c99 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_normal_mode()
111 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_listen_only_mode()
397 } else if (priv->can.state != CAN_STATE_ERROR_ACTIVE) { in pucan_handle_status()
400 can_change_state(ndev, cf, CAN_STATE_ERROR_ACTIVE, in pucan_handle_status()
401 CAN_STATE_ERROR_ACTIVE); in pucan_handle_status()
/linux/drivers/net/can/dev/
A Ddev.c53 case CAN_STATE_ERROR_ACTIVE: in can_tx_state_to_frame()
67 case CAN_STATE_ERROR_ACTIVE: in can_rx_state_to_frame()
81 case CAN_STATE_ERROR_ACTIVE: in can_get_state_str()
/linux/drivers/net/can/ifi_canfd/
A Difi_canfd.c465 case CAN_STATE_ERROR_ACTIVE: in ifi_canfd_handle_state_change()
468 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ifi_canfd_handle_state_change()
539 (priv->can.state != CAN_STATE_ERROR_ACTIVE)) { in ifi_canfd_handle_state_errors()
542 CAN_STATE_ERROR_ACTIVE); in ifi_canfd_handle_state_errors()
767 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ifi_canfd_start()
/linux/include/uapi/linux/can/
A Dnetlink.h70 CAN_STATE_ERROR_ACTIVE = 0, /* RX/TX error count < 96 */ enumerator
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_pro.c563 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error()
574 dev->can.state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error()
636 case CAN_STATE_ERROR_ACTIVE: in pcan_usb_pro_handle_error()
655 new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error()
A Dpcan_usb.c456 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_decode_error()
488 new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_decode_error()
A Dpcan_usb_core.c543 dev->can.state = CAN_STATE_ERROR_ACTIVE; in peak_usb_start()
658 dev->can.state = CAN_STATE_ERROR_ACTIVE; in peak_usb_restart_complete()
/linux/drivers/net/can/
A Dat91_can.c404 priv->can.state = CAN_STATE_ERROR_ACTIVE; in at91_chip_start()
882 case CAN_STATE_ERROR_ACTIVE: in at91_irq_err_state()
934 case CAN_STATE_ERROR_ACTIVE: in at91_irq_err_state()
988 *state = CAN_STATE_ERROR_ACTIVE; in at91_get_state_by_bec()
1019 new_state = CAN_STATE_ERROR_ACTIVE; in at91_irq_err()
A Dti_hecc.c409 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ti_hecc_start()
728 } else if (unlikely(priv->can.state != CAN_STATE_ERROR_ACTIVE)) { in ti_hecc_interrupt()
738 new_state = CAN_STATE_ERROR_ACTIVE; in ti_hecc_interrupt()
1022 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ti_hecc_resume()
A Dkvaser_pciefd.c640 can->can.state = CAN_STATE_ERROR_ACTIVE; in kvaser_pciefd_bus_on()
1249 *new_state = CAN_STATE_ERROR_ACTIVE; in kvaser_pciefd_packet_to_state()
1281 new_state == CAN_STATE_ERROR_ACTIVE && in kvaser_pciefd_rx_error_frame()
1372 new_state == CAN_STATE_ERROR_ACTIVE && in kvaser_pciefd_handle_status_resp()
1445 can->can.state != CAN_STATE_ERROR_ACTIVE) { in kvaser_pciefd_handle_status_packet()
A Dgrcan.c625 state = CAN_STATE_ERROR_ACTIVE; in grcan_err()
667 case CAN_STATE_ERROR_ACTIVE: in grcan_err()
853 priv->can.state = CAN_STATE_ERROR_ACTIVE; in grcan_running_reset()
1011 priv->can.state = CAN_STATE_ERROR_ACTIVE; in grcan_start()
A Dsun4i_can.c362 priv->can.state = CAN_STATE_ERROR_ACTIVE; in sun4i_can_start()
561 state = CAN_STATE_ERROR_ACTIVE; in sun4i_can_err()
A Dflexcan.c939 CAN_STATE_ERROR_WARNING : CAN_STATE_ERROR_ACTIVE; in flexcan_irq_state()
941 CAN_STATE_ERROR_WARNING : CAN_STATE_ERROR_ACTIVE; in flexcan_irq_state()
1201 case CAN_STATE_ERROR_ACTIVE: in flexcan_irq()
1713 priv->can.state = CAN_STATE_ERROR_ACTIVE; in flexcan_chip_start()
2316 priv->can.state = CAN_STATE_ERROR_ACTIVE; in flexcan_resume()
/linux/drivers/net/can/mscan/
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()
/linux/drivers/net/can/usb/
A Dgs_usb.c277 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_update_state()
292 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_update_state()
689 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_can_open()
A Ducan.c512 new_state = CAN_STATE_ERROR_ACTIVE; in ucan_handle_error_frame()
1014 up->can.state = CAN_STATE_ERROR_ACTIVE; in ucan_open()
1277 up->can.state = CAN_STATE_ERROR_ACTIVE; in ucan_set_mode()
A Dems_usb.c353 dev->can.state = CAN_STATE_ERROR_ACTIVE; in ems_usb_rx_err()
677 dev->can.state = CAN_STATE_ERROR_ACTIVE; in ems_usb_start()
A Dusb_8dev.c363 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_rx_err_msg()
795 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_start()
/linux/drivers/net/can/spi/
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()
659 new_state = CAN_STATE_ERROR_ACTIVE; in hi3110_can_ist()
A Dmcp251x.c812 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251x_do_set_mode()
855 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251x_set_normal_mode()
1129 new_state = CAN_STATE_ERROR_ACTIVE; in mcp251x_can_ist()
1134 case CAN_STATE_ERROR_ACTIVE: in mcp251x_can_ist()
/linux/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_leaf.c655 priv->can.state = CAN_STATE_ERROR_ACTIVE; in kvaser_usb_leaf_tx_acknowledge()
717 else if (cur_state > CAN_STATE_ERROR_ACTIVE) in kvaser_usb_leaf_rx_error_update_can_state()
718 new_state = CAN_STATE_ERROR_ACTIVE; in kvaser_usb_leaf_rx_error_update_can_state()
723 new_state = CAN_STATE_ERROR_ACTIVE; in kvaser_usb_leaf_rx_error_update_can_state()
A Dkvaser_usb_hydra.c860 *new_state = CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_bus_status_to_can_state()
895 new_state : CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_update_state()
897 new_state : CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_update_state()
1043 new_state : CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_error_frame()
1045 new_state : CAN_STATE_ERROR_ACTIVE; in kvaser_usb_hydra_error_frame()
/linux/drivers/net/can/sja1000/
A Dsja1000.c150 priv->can.state = CAN_STATE_ERROR_ACTIVE; in set_normal_mode()
429 state = CAN_STATE_ERROR_ACTIVE; in sja1000_err()
/linux/drivers/net/can/usb/etas_es58x/
A Des58x_core.c778 can->state = CAN_STATE_ERROR_ACTIVE; in es58x_rx_err_msg()
991 priv->can.state = CAN_STATE_ERROR_ACTIVE; in es58x_rx_cmd_ret_u32()
2017 case CAN_STATE_ERROR_ACTIVE: in es58x_set_mode()
2029 case CAN_STATE_ERROR_ACTIVE: in es58x_set_mode()
/linux/drivers/net/can/cc770/
A Dcc770.c236 priv->can.state = CAN_STATE_ERROR_ACTIVE; in set_normal_mode()
544 priv->can.state = CAN_STATE_ERROR_ACTIVE; in cc770_err()

Completed in 68 milliseconds

12