Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/can/dev/
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()
153 priv->can_stats.restarts++; in can_restart()
Dnetlink.c584 sizeof(priv->can_stats), &priv->can_stats)) in can_fill_xstats()
/linux-6.1.9/drivers/net/can/
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()
Dpch_can.c499 priv->can.can_stats.bus_off++; in pch_can_error()
510 priv->can.can_stats.error_warning++; in pch_can_error()
521 priv->can.can_stats.error_passive++; in pch_can_error()
536 priv->can.can_stats.bus_error++; in pch_can_error()
541 priv->can.can_stats.bus_error++; in pch_can_error()
546 priv->can.can_stats.bus_error++; in pch_can_error()
552 priv->can.can_stats.bus_error++; in pch_can_error()
557 priv->can.can_stats.bus_error++; in pch_can_error()
Dsun4i_can.c577 priv->can.can_stats.bus_error++; in sun4i_can_err()
617 priv->can.can_stats.arbitration_lost++; in sun4i_can_err()
Dgrcan.c633 priv->can.can_stats.bus_off++; in grcan_err()
646 priv->can.can_stats.error_passive++; in grcan_err()
657 priv->can.can_stats.error_warning++; in grcan_err()
687 priv->can.can_stats.restarts++; in grcan_err()
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()
/linux-6.1.9/drivers/net/can/usb/
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()
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()
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()
Dgs_usb.c482 struct can_device_stats *can_stats = &dev->can.can_stats; in gs_update_state() local
486 can_stats->restarts++; in gs_update_state()
489 can_stats->bus_off++; in gs_update_state()
494 can_stats->error_warning++; in gs_update_state()
498 can_stats->error_passive++; in gs_update_state()
Desd_usb.c254 priv->can.can_stats.bus_off++; in esd_usb_rx_event()
259 priv->can.can_stats.error_warning++; in esd_usb_rx_event()
263 priv->can.can_stats.error_passive++; in esd_usb_rx_event()
272 priv->can.can_stats.bus_error++; in esd_usb_rx_event()
/linux-6.1.9/drivers/net/can/ifi_canfd/
Difi_canfd.c393 priv->can.can_stats.bus_error++; in ifi_canfd_handle_lec_err()
462 priv->can.can_stats.error_warning++; in ifi_canfd_handle_state_change()
467 priv->can.can_stats.error_warning++; in ifi_canfd_handle_state_change()
472 priv->can.can_stats.error_passive++; in ifi_canfd_handle_state_change()
479 priv->can.can_stats.bus_off++; in ifi_canfd_handle_state_change()
/linux-6.1.9/drivers/net/can/ctucanfd/
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()
/linux-6.1.9/drivers/net/can/rcar/
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()
Drcar_canfd.c998 priv->can.can_stats.bus_error++; in rcar_canfd_error()
1038 priv->can.can_stats.arbitration_lost++; in rcar_canfd_error()
1050 priv->can.can_stats.error_warning++; in rcar_canfd_error()
1060 priv->can.can_stats.error_passive++; in rcar_canfd_error()
1071 priv->can.can_stats.bus_off++; in rcar_canfd_error()
/linux-6.1.9/drivers/net/can/peak_canfd/
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()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_core.c662 struct can_device_stats *can_stats = &can->can_stats; in es58x_rx_err_msg() local
792 can_stats->error_passive++; in es58x_rx_err_msg()
810 can_stats->error_warning++; in es58x_rx_err_msg()
818 can_stats->bus_off++; in es58x_rx_err_msg()
855 can_stats->bus_error++; in es58x_rx_err_msg()
/linux-6.1.9/include/linux/can/
Ddev.h46 struct can_device_stats can_stats; member
/linux-6.1.9/drivers/net/can/cc770/
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()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c622 dev->can.can_stats.bus_off++; in pcan_usb_pro_handle_error()
629 dev->can.can_stats.error_passive++; in pcan_usb_pro_handle_error()
635 dev->can.can_stats.error_warning++; in pcan_usb_pro_handle_error()
/linux-6.1.9/drivers/net/can/c_can/
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()
/linux-6.1.9/drivers/net/can/sja1000/
Dsja1000.c436 priv->can.can_stats.bus_error++; in sja1000_err()
478 priv->can.can_stats.arbitration_lost++; in sja1000_err()
/linux-6.1.9/drivers/net/can/m_can/
Dm_can.c609 cdev->can.can_stats.bus_error++; in m_can_handle_lec_err()
716 cdev->can.can_stats.error_warning++; in m_can_handle_state_change()
721 cdev->can.can_stats.error_passive++; in m_can_handle_state_change()
728 cdev->can.can_stats.bus_off++; in m_can_handle_state_change()
848 cdev->can.can_stats.arbitration_lost++; in m_can_handle_protocol_error()
/linux-6.1.9/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_leaf.c914 priv->can.can_stats.restarts++; in kvaser_usb_leaf_tx_acknowledge()
1002 priv->can.can_stats.restarts++; in kvaser_usb_leaf_rx_error_update_can_state()
1007 priv->can.can_stats.bus_error++; in kvaser_usb_leaf_rx_error_update_can_state()
1017 priv->can.can_stats.bus_error++; in kvaser_usb_leaf_rx_error_update_can_state()

12