Home
last modified time | relevance | path

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

12

/linux/drivers/net/can/dev/
A Ddev.c36 case CAN_STATE_ERROR_WARNING: in can_update_state_error_stats()
55 case CAN_STATE_ERROR_WARNING: in can_tx_state_to_frame()
69 case CAN_STATE_ERROR_WARNING: in can_rx_state_to_frame()
83 case CAN_STATE_ERROR_WARNING: in can_get_state_str()
/linux/drivers/net/can/ifi_canfd/
A Difi_canfd.c470 case CAN_STATE_ERROR_WARNING: in ifi_canfd_handle_state_change()
473 priv->can.state = CAN_STATE_ERROR_WARNING; in ifi_canfd_handle_state_change()
499 case CAN_STATE_ERROR_WARNING: in ifi_canfd_handle_state_change()
546 (priv->can.state != CAN_STATE_ERROR_WARNING)) { in ifi_canfd_handle_state_errors()
549 CAN_STATE_ERROR_WARNING); in ifi_canfd_handle_state_errors()
/linux/include/uapi/linux/can/
A Dnetlink.h71 CAN_STATE_ERROR_WARNING, /* RX/TX error count < 128 */ enumerator
/linux/drivers/net/can/
A Dat91_can.c887 if (new_state >= CAN_STATE_ERROR_WARNING && in at91_irq_err_state()
898 case CAN_STATE_ERROR_WARNING: in at91_irq_err_state()
944 case CAN_STATE_ERROR_WARNING: in at91_irq_err_state()
990 *state = CAN_STATE_ERROR_WARNING; in at91_get_state_by_bec()
1017 new_state = CAN_STATE_ERROR_WARNING; in at91_irq_err()
A Dti_hecc.c703 rx_state = rec >= tec ? CAN_STATE_ERROR_WARNING : 0; in ti_hecc_interrupt()
704 tx_state = rec <= tec ? CAN_STATE_ERROR_WARNING : 0; in ti_hecc_interrupt()
736 new_state = CAN_STATE_ERROR_WARNING; in ti_hecc_interrupt()
A Dsun4i_can.c559 state = CAN_STATE_ERROR_WARNING; in sun4i_can_err()
598 state = CAN_STATE_ERROR_WARNING; in sun4i_can_err()
A Djanz-ican3.c1121 state = CAN_STATE_ERROR_WARNING; in ican3_handle_cevtind()
1154 if (state != mod->can.state && (state == CAN_STATE_ERROR_WARNING || in ican3_handle_cevtind()
1157 if (state == CAN_STATE_ERROR_WARNING) { in ican3_handle_cevtind()
A Dxilinx_can.c900 return CAN_STATE_ERROR_WARNING; in xcan_current_error_state()
954 if (old_state != CAN_STATE_ERROR_WARNING && in xcan_update_error_state_after_rxtx()
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()
1209 case CAN_STATE_ERROR_WARNING: in flexcan_irq()
A Dgrcan.c623 state = CAN_STATE_ERROR_WARNING; in grcan_err()
656 case CAN_STATE_ERROR_WARNING: in grcan_err()
A Dkvaser_pciefd.c1245 *new_state = CAN_STATE_ERROR_WARNING; in kvaser_pciefd_packet_to_state()
1247 *new_state = CAN_STATE_ERROR_WARNING; in kvaser_pciefd_packet_to_state()
/linux/drivers/net/can/spi/
A Dmcp251x.c1121 new_state = CAN_STATE_ERROR_WARNING; in mcp251x_can_ist()
1125 new_state = CAN_STATE_ERROR_WARNING; in mcp251x_can_ist()
1135 if (new_state >= CAN_STATE_ERROR_WARNING && in mcp251x_can_ist()
1139 case CAN_STATE_ERROR_WARNING: in mcp251x_can_ist()
/linux/drivers/net/can/sja1000/
A Dsja1000.c427 state = CAN_STATE_ERROR_WARNING; in sja1000_err()
467 state = CAN_STATE_ERROR_WARNING; in sja1000_err()
/linux/drivers/net/can/m_can/
A Dm_can.c717 case CAN_STATE_ERROR_WARNING: in m_can_handle_state_change()
720 cdev->can.state = CAN_STATE_ERROR_WARNING; in m_can_handle_state_change()
746 case CAN_STATE_ERROR_WARNING: in m_can_handle_state_change()
790 if (psr & PSR_EW && cdev->can.state != CAN_STATE_ERROR_WARNING) { in m_can_handle_state_errors()
793 CAN_STATE_ERROR_WARNING); in m_can_handle_state_errors()
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_pro.c602 new_state = CAN_STATE_ERROR_WARNING; in pcan_usb_pro_handle_error()
630 case CAN_STATE_ERROR_WARNING: in pcan_usb_pro_handle_error()
A Dpcan_usb.c486 CAN_STATE_ERROR_WARNING; in pcan_usb_decode_error()
/linux/drivers/net/can/usb/
A Dems_usb.c350 dev->can.state = CAN_STATE_ERROR_WARNING; in ems_usb_rx_err()
386 if (dev->can.state == CAN_STATE_ERROR_WARNING || in ems_usb_rx_err()
A Dusb_8dev.c379 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg()
419 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg()
A Desd_usb2.c247 priv->can.state = CAN_STATE_ERROR_WARNING; in esd_usb2_rx_event()
283 if (priv->can.state == CAN_STATE_ERROR_WARNING || in esd_usb2_rx_event()
A Ducan.c515 new_state = CAN_STATE_ERROR_WARNING; in ucan_handle_error_frame()
551 case CAN_STATE_ERROR_WARNING: in ucan_handle_error_frame()
A Dmcba_usb.c527 priv->can.state = CAN_STATE_ERROR_WARNING; in mcba_usb_process_ka_can()
/linux/drivers/net/can/usb/etas_es58x/
A Des58x_core.c811 can->state = CAN_STATE_ERROR_WARNING; in es58x_rx_err_msg()
2018 case CAN_STATE_ERROR_WARNING: in es58x_set_mode()
2030 case CAN_STATE_ERROR_WARNING: in es58x_set_mode()
/linux/drivers/net/can/mscan/
A Dmscan.c45 CAN_STATE_ERROR_WARNING, enumerator
/linux/drivers/net/can/peak_canfd/
A Dpeak_canfd.c386 priv->can.state = CAN_STATE_ERROR_WARNING; in pucan_handle_status()
/linux/drivers/net/can/cc770/
A Dcc770.c537 priv->can.state = CAN_STATE_ERROR_WARNING; in cc770_err()

Completed in 66 milliseconds

12