Home
last modified time | relevance | path

Searched refs:can_stats (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/drivers/net/can/dev/
H A Ddev.c29 priv->can_stats.error_warning++; in can_update_state_error_stats()
32 priv->can_stats.error_passive++; in can_update_state_error_stats()
35 priv->can_stats.bus_off++; in can_update_state_error_stats()
154 priv->can_stats.restarts++; in can_restart()
H A Dnetlink.c619 sizeof(priv->can_stats), &priv->can_stats)) in can_fill_xstats()
/openbmc/linux/drivers/net/can/
H A Dat91_can.c724 priv->can.can_stats.bus_error++; in at91_poll_err_frame()
732 priv->can.can_stats.bus_error++; in at91_poll_err_frame()
748 priv->can.can_stats.bus_error++; in at91_poll_err_frame()
757 priv->can.can_stats.bus_error++; in at91_poll_err_frame()
885 priv->can.can_stats.error_warning++; in at91_irq_err_state()
901 priv->can.can_stats.error_passive++; in at91_irq_err_state()
917 priv->can.can_stats.restarts++; in at91_irq_err_state()
956 priv->can.can_stats.bus_off++; in at91_irq_err_state()
H A Dsun4i_can.c581 priv->can.can_stats.bus_error++; in sun4i_can_err()
621 priv->can.can_stats.arbitration_lost++; in sun4i_can_err()
H A Dgrcan.c634 priv->can.can_stats.bus_off++; in grcan_err()
647 priv->can.can_stats.error_passive++; in grcan_err()
658 priv->can.can_stats.error_warning++; in grcan_err()
688 priv->can.can_stats.restarts++; in grcan_err()
H A Djanz-ican3.c1116 mod->can.can_stats.bus_off++; in ican3_handle_cevtind()
1130 mod->can.can_stats.bus_error++; in ican3_handle_cevtind()
1159 mod->can.can_stats.error_warning++; in ican3_handle_cevtind()
1164 mod->can.can_stats.error_passive++; in ican3_handle_cevtind()
H A Dkvaser_pciefd.c1243 can->can.can_stats.restarts++; in kvaser_pciefd_rx_error_frame()
1250 can->can.can_stats.bus_error++; in kvaser_pciefd_rx_error_frame()
1321 can->can.can_stats.restarts++; in kvaser_pciefd_handle_status_resp()
1408 can->can.can_stats.arbitration_lost++; in kvaser_pciefd_handle_nack_packet()
H A Dxilinx_can.c1038 priv->can.can_stats.bus_off++; in xcan_err_interrupt()
1052 priv->can.can_stats.arbitration_lost++; in xcan_err_interrupt()
1127 priv->can.can_stats.bus_error++; in xcan_err_interrupt()
/openbmc/linux/drivers/net/can/usb/
H A Ducan.c489 struct can_device_stats *can_stats = &up->can.can_stats; in ucan_handle_error_frame() local
492 can_stats->arbitration_lost++; in ucan_handle_error_frame()
495 can_stats->bus_error++; in ucan_handle_error_frame()
545 can_stats->bus_off++; in ucan_handle_error_frame()
549 can_stats->error_passive++; in ucan_handle_error_frame()
552 can_stats->error_warning++; in ucan_handle_error_frame()
H A Dems_usb.c348 dev->can.can_stats.bus_off++; in ems_usb_rx_err()
352 dev->can.can_stats.error_warning++; in ems_usb_rx_err()
355 dev->can.can_stats.error_passive++; in ems_usb_rx_err()
363 dev->can.can_stats.bus_error++; in ems_usb_rx_err()
H A Dusb_8dev.c367 priv->can.can_stats.bus_off++; in usb_8dev_rx_err_msg()
378 priv->can.can_stats.bus_error++; in usb_8dev_rx_err_msg()
420 priv->can.can_stats.error_warning++; in usb_8dev_rx_err_msg()
427 priv->can.can_stats.error_passive++; in usb_8dev_rx_err_msg()
H A Dgs_usb.c491 struct can_device_stats *can_stats = &dev->can.can_stats; in gs_update_state() local
495 can_stats->restarts++; in gs_update_state()
498 can_stats->bus_off++; in gs_update_state()
503 can_stats->error_warning++; in gs_update_state()
507 can_stats->error_passive++; in gs_update_state()
/openbmc/linux/drivers/net/can/ifi_canfd/
H A Difi_canfd.c392 priv->can.can_stats.bus_error++; in ifi_canfd_handle_lec_err()
461 priv->can.can_stats.error_warning++; in ifi_canfd_handle_state_change()
466 priv->can.can_stats.error_warning++; in ifi_canfd_handle_state_change()
471 priv->can.can_stats.error_passive++; in ifi_canfd_handle_state_change()
478 priv->can.can_stats.bus_off++; in ifi_canfd_handle_state_change()
/openbmc/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c842 priv->can.can_stats.bus_off++; in ctucan_err_interrupt()
848 priv->can.can_stats.error_passive++; in ctucan_err_interrupt()
859 priv->can.can_stats.error_warning++; in ctucan_err_interrupt()
886 priv->can.can_stats.arbitration_lost++; in ctucan_err_interrupt()
896 priv->can.can_stats.bus_error++; in ctucan_err_interrupt()
/openbmc/linux/drivers/net/can/rcar/
H A Drcar_can.c300 priv->can.can_stats.bus_error++; in rcar_can_error()
308 priv->can.can_stats.error_warning++; in rcar_can_error()
318 priv->can.can_stats.error_passive++; in rcar_can_error()
333 priv->can.can_stats.bus_off++; in rcar_can_error()
H A Drcar_canfd.c1019 priv->can.can_stats.bus_error++; in rcar_canfd_error()
1059 priv->can.can_stats.arbitration_lost++; in rcar_canfd_error()
1071 priv->can.can_stats.error_warning++; in rcar_canfd_error()
1081 priv->can.can_stats.error_passive++; in rcar_canfd_error()
1092 priv->can.can_stats.bus_off++; in rcar_canfd_error()
/openbmc/linux/include/linux/can/
H A Ddev.h46 struct can_device_stats can_stats; member
/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c367 priv->can.can_stats.bus_off++; in pucan_handle_status()
375 priv->can.can_stats.error_passive++; in pucan_handle_status()
388 priv->can.can_stats.error_warning++; in pucan_handle_status()
/openbmc/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c663 struct can_device_stats *can_stats = &can->can_stats; in es58x_rx_err_msg() local
793 can_stats->error_passive++; in es58x_rx_err_msg()
811 can_stats->error_warning++; in es58x_rx_err_msg()
819 can_stats->bus_off++; in es58x_rx_err_msg()
856 can_stats->bus_error++; in es58x_rx_err_msg()
/openbmc/linux/drivers/net/can/cc770/
H A Dcc770.c526 priv->can.can_stats.bus_off++; in cc770_err()
535 priv->can.can_stats.error_passive++; in cc770_err()
540 priv->can.can_stats.error_warning++; in cc770_err()
/openbmc/linux/drivers/net/can/c_can/
H A Dc_can_main.c925 priv->can.can_stats.error_warning++; in c_can_handle_state_change()
930 priv->can.can_stats.error_passive++; in c_can_handle_state_change()
936 priv->can.can_stats.bus_off++; in c_can_handle_state_change()
1013 priv->can.can_stats.bus_error++; in c_can_handle_bus_err()
/openbmc/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_pro.c636 dev->can.can_stats.bus_off++; in pcan_usb_pro_handle_error()
643 dev->can.can_stats.error_passive++; in pcan_usb_pro_handle_error()
649 dev->can.can_stats.error_warning++; in pcan_usb_pro_handle_error()
/openbmc/linux/drivers/net/can/sja1000/
H A Dsja1000.c462 priv->can.can_stats.bus_error++; in sja1000_err()
504 priv->can.can_stats.arbitration_lost++; in sja1000_err()
/openbmc/linux/drivers/net/can/m_can/
H A Dm_can.c638 cdev->can.can_stats.bus_error++; in m_can_handle_lec_err()
745 cdev->can.can_stats.error_warning++; in m_can_handle_state_change()
750 cdev->can.can_stats.error_passive++; in m_can_handle_state_change()
757 cdev->can.can_stats.bus_off++; in m_can_handle_state_change()
875 cdev->can.can_stats.arbitration_lost++; in m_can_handle_protocol_error()
/openbmc/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_leaf.c917 priv->can.can_stats.restarts++; in kvaser_usb_leaf_tx_acknowledge()
1022 priv->can.can_stats.restarts++; in kvaser_usb_leaf_rx_error_update_can_state()
1027 priv->can.can_stats.bus_error++; in kvaser_usb_leaf_rx_error_update_can_state()
1037 priv->can.can_stats.bus_error++; in kvaser_usb_leaf_rx_error_update_can_state()

12