/Linux-v4.19/include/uapi/linux/can/ |
D | netlink.h | 73 CAN_STATE_BUS_OFF, /* RX/TX error count >= 256 */ enumerator
|
/Linux-v4.19/drivers/net/can/ |
D | at91_can.c | 896 new_state <= CAN_STATE_BUS_OFF) { in at91_irq_err_state() 912 new_state <= CAN_STATE_BUS_OFF) { in at91_irq_err_state() 922 case CAN_STATE_BUS_OFF: in at91_irq_err_state() 962 case CAN_STATE_BUS_OFF: in at91_irq_err_state() 975 at91_chip_stop(dev, CAN_STATE_BUS_OFF); in at91_irq_err_state() 1004 *state = CAN_STATE_BUS_OFF; in at91_get_state_by_bec() 1024 new_state = CAN_STATE_BUS_OFF; in at91_irq_err()
|
D | dev.c | 343 case CAN_STATE_BUS_OFF: in can_update_state_error_stats() 398 if (unlikely(new_state == CAN_STATE_BUS_OFF)) { in can_change_state() 588 if (priv->state != CAN_STATE_BUS_OFF) in can_restart_now()
|
D | sun4i_can.c | 557 state = CAN_STATE_BUS_OFF; in sun4i_can_err() 622 if (state == CAN_STATE_BUS_OFF) in sun4i_can_err()
|
D | flexcan.c | 637 CAN_STATE_ERROR_PASSIVE : CAN_STATE_BUS_OFF; in flexcan_irq_state() 652 if (unlikely(new_state == CAN_STATE_BUS_OFF)) in flexcan_irq_state() 844 case CAN_STATE_BUS_OFF: in flexcan_irq()
|
D | grcan.c | 622 state = CAN_STATE_BUS_OFF; in grcan_err() 635 case CAN_STATE_BUS_OFF: in grcan_err() 686 if (priv->can.restart_ms && oldstate == CAN_STATE_BUS_OFF) { in grcan_err()
|
/Linux-v4.19/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_leaf.c | 570 if (priv->can.restart_ms && priv->can.state >= CAN_STATE_BUS_OFF) { in kvaser_usb_leaf_tx_acknowledge() 641 new_state = CAN_STATE_BUS_OFF; in kvaser_usb_leaf_rx_error_update_can_state() 646 if (cur_state < CAN_STATE_BUS_OFF) { in kvaser_usb_leaf_rx_error_update_can_state() 667 cur_state >= CAN_STATE_BUS_OFF && in kvaser_usb_leaf_rx_error_update_can_state() 668 new_state < CAN_STATE_BUS_OFF) in kvaser_usb_leaf_rx_error_update_can_state() 743 old_state >= CAN_STATE_BUS_OFF && in kvaser_usb_leaf_rx_error() 744 new_state < CAN_STATE_BUS_OFF) { in kvaser_usb_leaf_rx_error()
|
D | kvaser_usb_hydra.c | 822 *new_state = CAN_STATE_BUS_OFF; in kvaser_usb_hydra_bus_status_to_can_state() 861 if (old_state == CAN_STATE_STOPPED && new_state == CAN_STATE_BUS_OFF) in kvaser_usb_hydra_update_state() 875 if (new_state == CAN_STATE_BUS_OFF && old_state < CAN_STATE_BUS_OFF) { in kvaser_usb_hydra_update_state() 889 old_state >= CAN_STATE_BUS_OFF && in kvaser_usb_hydra_update_state() 890 new_state < CAN_STATE_BUS_OFF) in kvaser_usb_hydra_update_state() 1024 if (new_state == CAN_STATE_BUS_OFF) { in kvaser_usb_hydra_error_frame() 1033 old_state >= CAN_STATE_BUS_OFF && in kvaser_usb_hydra_error_frame() 1034 new_state < CAN_STATE_BUS_OFF) in kvaser_usb_hydra_error_frame()
|
/Linux-v4.19/drivers/net/can/mscan/ |
D | mscan.c | 58 CAN_STATE_BUS_OFF enumerator 189 if (priv->can.state <= CAN_STATE_BUS_OFF) in mscan_restart() 369 if (priv->can.state == CAN_STATE_BUS_OFF) { in mscan_get_err_frame() 429 if (priv->can.state < CAN_STATE_BUS_OFF) in mscan_rx_poll()
|
/Linux-v4.19/drivers/net/can/ifi_canfd/ |
D | ifi_canfd.c | 480 case CAN_STATE_BUS_OFF: in ifi_canfd_handle_state_change() 482 priv->can.state = CAN_STATE_BUS_OFF; in ifi_canfd_handle_state_change() 517 case CAN_STATE_BUS_OFF: in ifi_canfd_handle_state_change() 560 (priv->can.state != CAN_STATE_BUS_OFF)) { in ifi_canfd_handle_state_errors() 563 CAN_STATE_BUS_OFF); in ifi_canfd_handle_state_errors()
|
/Linux-v4.19/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 434 new_state = CAN_STATE_BUS_OFF; in pcan_usb_decode_error() 454 new_state = CAN_STATE_BUS_OFF; in pcan_usb_decode_error() 492 case CAN_STATE_BUS_OFF: in pcan_usb_decode_error()
|
D | pcan_usb_pro.c | 578 if (dev->can.state == CAN_STATE_BUS_OFF) in pcan_usb_pro_handle_error() 594 new_state = CAN_STATE_BUS_OFF; in pcan_usb_pro_handle_error() 627 case CAN_STATE_BUS_OFF: in pcan_usb_pro_handle_error()
|
D | pcan_usb_fd.c | 540 if (dev->can.state == CAN_STATE_BUS_OFF) in pcan_usb_fd_decode_status() 544 new_state = CAN_STATE_BUS_OFF; in pcan_usb_fd_decode_status() 571 if (new_state == CAN_STATE_BUS_OFF) in pcan_usb_fd_decode_status()
|
/Linux-v4.19/drivers/net/can/spi/ |
D | mcp251x.c | 751 if (priv->can.state == CAN_STATE_BUS_OFF) { in mcp251x_tx_work_handler() 850 new_state = CAN_STATE_BUS_OFF; in mcp251x_can_ist() 876 new_state <= CAN_STATE_BUS_OFF) in mcp251x_can_ist() 880 new_state <= CAN_STATE_BUS_OFF) in mcp251x_can_ist() 905 if (priv->can.state == CAN_STATE_BUS_OFF) { in mcp251x_can_ist()
|
D | hi311x.c | 601 if (priv->can.state == CAN_STATE_BUS_OFF) { in hi3110_tx_work_handler() 671 new_state = CAN_STATE_BUS_OFF; in hi3110_can_ist() 698 if (new_state == CAN_STATE_BUS_OFF) { in hi3110_can_ist()
|
/Linux-v4.19/drivers/net/can/m_can/ |
D | m_can.c | 688 case CAN_STATE_BUS_OFF: in m_can_handle_state_change() 690 priv->can.state = CAN_STATE_BUS_OFF; in m_can_handle_state_change() 727 case CAN_STATE_BUS_OFF: in m_can_handle_state_change() 762 (priv->can.state != CAN_STATE_BUS_OFF)) { in m_can_handle_state_errors() 765 CAN_STATE_BUS_OFF); in m_can_handle_state_errors()
|
/Linux-v4.19/drivers/net/can/sja1000/ |
D | sja1000.c | 426 state = CAN_STATE_BUS_OFF; in sja1000_err() 488 if(state == CAN_STATE_BUS_OFF) in sja1000_err()
|
/Linux-v4.19/drivers/net/can/softing/ |
D | softing_main.c | 235 can_state = CAN_STATE_BUS_OFF; in softing_handle_1() 262 else if (can_state == CAN_STATE_BUS_OFF) { in softing_handle_1()
|
/Linux-v4.19/drivers/net/can/c_can/ |
D | c_can.c | 901 priv->can.state = CAN_STATE_BUS_OFF; in c_can_handle_state_change() 1075 if (priv->can.state != CAN_STATE_BUS_OFF) in c_can_poll()
|
/Linux-v4.19/drivers/net/can/usb/ |
D | ucan.c | 505 new_state = CAN_STATE_BUS_OFF; in ucan_handle_error_frame() 548 case CAN_STATE_BUS_OFF: in ucan_handle_error_frame()
|
D | mcba_usb.c | 528 priv->can.state = CAN_STATE_BUS_OFF; in mcba_usb_process_ka_can()
|
D | usb_8dev.c | 378 priv->can.state = CAN_STATE_BUS_OFF; in usb_8dev_rx_err_msg()
|
/Linux-v4.19/drivers/net/can/peak_canfd/ |
D | peak_pciefd_main.c | 414 if (ucan->can.state == CAN_STATE_BUS_OFF) in pciefd_pre_cmd()
|
D | peak_canfd.c | 355 priv->can.state = CAN_STATE_BUS_OFF; in pucan_handle_status()
|
/Linux-v4.19/drivers/net/can/cc770/ |
D | cc770.c | 531 priv->can.state = CAN_STATE_BUS_OFF; in cc770_err()
|