Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/can/dev/
Ddev.c28 case CAN_STATE_ERROR_WARNING: in can_update_state_error_stats()
47 case CAN_STATE_ERROR_WARNING: in can_tx_state_to_frame()
61 case CAN_STATE_ERROR_WARNING: in can_rx_state_to_frame()
75 case CAN_STATE_ERROR_WARNING: in can_get_state_str()
/linux-6.1.9/include/uapi/linux/can/
Dnetlink.h71 CAN_STATE_ERROR_WARNING, /* RX/TX error count < 128 */ enumerator
/linux-6.1.9/drivers/net/can/ifi_canfd/
Difi_canfd.c465 case CAN_STATE_ERROR_WARNING: in ifi_canfd_handle_state_change()
468 priv->can.state = CAN_STATE_ERROR_WARNING; in ifi_canfd_handle_state_change()
494 case CAN_STATE_ERROR_WARNING: in ifi_canfd_handle_state_change()
539 (priv->can.state != CAN_STATE_ERROR_WARNING)) { in ifi_canfd_handle_state_errors()
542 CAN_STATE_ERROR_WARNING); in ifi_canfd_handle_state_errors()
/linux-6.1.9/drivers/net/can/
Dat91_can.c882 if (new_state >= CAN_STATE_ERROR_WARNING && in at91_irq_err_state()
893 case CAN_STATE_ERROR_WARNING: in at91_irq_err_state()
939 case CAN_STATE_ERROR_WARNING: in at91_irq_err_state()
985 *state = CAN_STATE_ERROR_WARNING; in at91_get_state_by_bec()
1012 new_state = CAN_STATE_ERROR_WARNING; in at91_irq_err()
Dti_hecc.c695 rx_state = rec >= tec ? CAN_STATE_ERROR_WARNING : 0; in ti_hecc_interrupt()
696 tx_state = rec <= tec ? CAN_STATE_ERROR_WARNING : 0; in ti_hecc_interrupt()
728 new_state = CAN_STATE_ERROR_WARNING; in ti_hecc_interrupt()
Dsun4i_can.c565 state = CAN_STATE_ERROR_WARNING; in sun4i_can_err()
609 state = CAN_STATE_ERROR_WARNING; in sun4i_can_err()
Djanz-ican3.c1122 state = CAN_STATE_ERROR_WARNING; in ican3_handle_cevtind()
1155 if (state != mod->can.state && (state == CAN_STATE_ERROR_WARNING || in ican3_handle_cevtind()
1158 if (state == CAN_STATE_ERROR_WARNING) { in ican3_handle_cevtind()
Dxilinx_can.c937 return CAN_STATE_ERROR_WARNING; in xcan_current_error_state()
992 if (old_state != CAN_STATE_ERROR_WARNING && in xcan_update_error_state_after_rxtx()
Dgrcan.c622 state = CAN_STATE_ERROR_WARNING; in grcan_err()
655 case CAN_STATE_ERROR_WARNING: in grcan_err()
/linux-6.1.9/drivers/net/can/sja1000/
Dsja1000.c425 state = CAN_STATE_ERROR_WARNING; in sja1000_err()
470 state = CAN_STATE_ERROR_WARNING; in sja1000_err()
/linux-6.1.9/drivers/net/can/spi/
Dmcp251x.c1129 new_state = CAN_STATE_ERROR_WARNING; in mcp251x_can_ist()
1133 new_state = CAN_STATE_ERROR_WARNING; in mcp251x_can_ist()
1143 if (new_state >= CAN_STATE_ERROR_WARNING && in mcp251x_can_ist()
1147 case CAN_STATE_ERROR_WARNING: in mcp251x_can_ist()
/linux-6.1.9/drivers/net/can/m_can/
Dm_can.c714 case CAN_STATE_ERROR_WARNING: in m_can_handle_state_change()
717 cdev->can.state = CAN_STATE_ERROR_WARNING; in m_can_handle_state_change()
743 case CAN_STATE_ERROR_WARNING: in m_can_handle_state_change()
784 if (psr & PSR_EW && cdev->can.state != CAN_STATE_ERROR_WARNING) { in m_can_handle_state_errors()
787 CAN_STATE_ERROR_WARNING); in m_can_handle_state_errors()
/linux-6.1.9/drivers/net/can/ctucanfd/
Dctucanfd_base.c104 CTUCAN_STATE_TO_TEXT_ENTRY(CAN_STATE_ERROR_WARNING),
768 return CAN_STATE_ERROR_WARNING; in ctucan_read_fault_state()
858 case CAN_STATE_ERROR_WARNING: in ctucan_err_interrupt()
/linux-6.1.9/drivers/net/can/usb/
Dems_usb.c351 dev->can.state = CAN_STATE_ERROR_WARNING; in ems_usb_rx_err()
387 if (dev->can.state == CAN_STATE_ERROR_WARNING || in ems_usb_rx_err()
Dusb_8dev.c376 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg()
416 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg()
Desd_usb.c258 priv->can.state = CAN_STATE_ERROR_WARNING; in esd_usb_rx_event()
297 if (priv->can.state == CAN_STATE_ERROR_WARNING || in esd_usb_rx_event()
Ducan.c515 new_state = CAN_STATE_ERROR_WARNING; in ucan_handle_error_frame()
551 case CAN_STATE_ERROR_WARNING: in ucan_handle_error_frame()
Dmcba_usb.c520 priv->can.state = CAN_STATE_ERROR_WARNING; in mcba_usb_process_ka_can()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c604 new_state = CAN_STATE_ERROR_WARNING; in pcan_usb_pro_handle_error()
632 case CAN_STATE_ERROR_WARNING: in pcan_usb_pro_handle_error()
Dpcan_usb.c487 CAN_STATE_ERROR_WARNING; in pcan_usb_decode_error()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_core.c809 can->state = CAN_STATE_ERROR_WARNING; in es58x_rx_err_msg()
2011 case CAN_STATE_ERROR_WARNING: in es58x_set_mode()
2023 case CAN_STATE_ERROR_WARNING: in es58x_set_mode()
/linux-6.1.9/drivers/net/can/slcan/
Dslcan-core.c272 state = CAN_STATE_ERROR_WARNING; in slcan_bump_state()
/linux-6.1.9/drivers/net/can/flexcan/
Dflexcan-core.c865 CAN_STATE_ERROR_WARNING : CAN_STATE_ERROR_ACTIVE; in flexcan_irq_state()
867 CAN_STATE_ERROR_WARNING : CAN_STATE_ERROR_ACTIVE; in flexcan_irq_state()
1134 case CAN_STATE_ERROR_WARNING: in flexcan_irq()
/linux-6.1.9/drivers/net/can/mscan/
Dmscan.c45 CAN_STATE_ERROR_WARNING, enumerator
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_canfd.c387 priv->can.state = CAN_STATE_ERROR_WARNING; in pucan_handle_status()

12