Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/can/dev/
A Ddev.c31 case CAN_STATE_ERROR_PASSIVE: in can_update_state_error_stats()
49 case CAN_STATE_ERROR_PASSIVE: in can_tx_state_to_frame()
63 case CAN_STATE_ERROR_PASSIVE: in can_rx_state_to_frame()
77 case CAN_STATE_ERROR_PASSIVE: in can_get_state_str()
/linux-6.3-rc2/include/uapi/linux/can/
A Dnetlink.h72 CAN_STATE_ERROR_PASSIVE, /* RX/TX error count < 256 */ enumerator
/linux-6.3-rc2/drivers/net/can/ifi_canfd/
A Difi_canfd.c470 case CAN_STATE_ERROR_PASSIVE: in ifi_canfd_handle_state_change()
473 priv->can.state = CAN_STATE_ERROR_PASSIVE; in ifi_canfd_handle_state_change()
503 case CAN_STATE_ERROR_PASSIVE: in ifi_canfd_handle_state_change()
546 (priv->can.state != CAN_STATE_ERROR_PASSIVE)) { in ifi_canfd_handle_state_errors()
549 CAN_STATE_ERROR_PASSIVE); in ifi_canfd_handle_state_errors()
/linux-6.3-rc2/drivers/net/can/
A Dat91_can.c898 if (new_state >= CAN_STATE_ERROR_PASSIVE && in at91_irq_err_state()
913 if (new_state <= CAN_STATE_ERROR_PASSIVE) { in at91_irq_err_state()
943 case CAN_STATE_ERROR_PASSIVE: in at91_irq_err_state()
987 *state = CAN_STATE_ERROR_PASSIVE; in at91_get_state_by_bec()
1010 new_state = CAN_STATE_ERROR_PASSIVE; in at91_irq_err()
A Dti_hecc.c703 rx_state = rec >= tec ? CAN_STATE_ERROR_PASSIVE : 0; in ti_hecc_interrupt()
704 tx_state = rec <= tec ? CAN_STATE_ERROR_PASSIVE : 0; in ti_hecc_interrupt()
726 new_state = CAN_STATE_ERROR_PASSIVE; in ti_hecc_interrupt()
A Dsun4i_can.c608 if (state == CAN_STATE_ERROR_PASSIVE) in sun4i_can_err()
611 state = CAN_STATE_ERROR_PASSIVE; in sun4i_can_err()
A Dxilinx_can.c935 return CAN_STATE_ERROR_PASSIVE; in xcan_current_error_state()
963 if (WARN_ON(new_state > CAN_STATE_ERROR_PASSIVE)) in xcan_set_error_state()
993 old_state != CAN_STATE_ERROR_PASSIVE) in xcan_update_error_state_after_rxtx()
A Dgrcan.c619 state = CAN_STATE_ERROR_PASSIVE; in grcan_err()
644 case CAN_STATE_ERROR_PASSIVE: in grcan_err()
A Djanz-ican3.c1120 state = CAN_STATE_ERROR_PASSIVE; in ican3_handle_cevtind()
1156 state == CAN_STATE_ERROR_PASSIVE)) { in ican3_handle_cevtind()
/linux-6.3-rc2/drivers/net/can/ctucanfd/
A Dctucanfd_base.c105 CTUCAN_STATE_TO_TEXT_ENTRY(CAN_STATE_ERROR_PASSIVE),
770 return CAN_STATE_ERROR_PASSIVE; in ctucan_read_fault_state()
776 return CAN_STATE_ERROR_PASSIVE; in ctucan_read_fault_state()
847 case CAN_STATE_ERROR_PASSIVE: in ctucan_err_interrupt()
/linux-6.3-rc2/drivers/net/can/softing/
A Dsofting_main.c27 return (can->state <= CAN_STATE_ERROR_PASSIVE); in canif_is_active()
229 can_state = CAN_STATE_ERROR_PASSIVE; in softing_handle_1()
249 if (can_state == CAN_STATE_ERROR_PASSIVE) in softing_handle_1()
/linux-6.3-rc2/drivers/net/can/sja1000/
A Dsja1000.c469 if (state == CAN_STATE_ERROR_PASSIVE) in sja1000_err()
472 state = CAN_STATE_ERROR_PASSIVE; in sja1000_err()
/linux-6.3-rc2/drivers/net/can/m_can/
A Dm_can.c733 case CAN_STATE_ERROR_PASSIVE: in m_can_handle_state_change()
736 cdev->can.state = CAN_STATE_ERROR_PASSIVE; in m_can_handle_state_change()
766 case CAN_STATE_ERROR_PASSIVE: in m_can_handle_state_change()
804 if (psr & PSR_EP && cdev->can.state != CAN_STATE_ERROR_PASSIVE) { in m_can_handle_state_errors()
807 CAN_STATE_ERROR_PASSIVE); in m_can_handle_state_errors()
/linux-6.3-rc2/drivers/net/can/spi/
A Dmcp251x.c1121 new_state = CAN_STATE_ERROR_PASSIVE; in mcp251x_can_ist()
1125 new_state = CAN_STATE_ERROR_PASSIVE; in mcp251x_can_ist()
1148 if (new_state >= CAN_STATE_ERROR_PASSIVE && in mcp251x_can_ist()
/linux-6.3-rc2/drivers/net/can/usb/peak_usb/
A Dpcan_usb_pro.c621 new_state = CAN_STATE_ERROR_PASSIVE; in pcan_usb_pro_handle_error()
640 case CAN_STATE_ERROR_PASSIVE: in pcan_usb_pro_handle_error()
A Dpcan_usb.c506 CAN_STATE_ERROR_PASSIVE : in pcan_usb_decode_error()
/linux-6.3-rc2/drivers/net/can/usb/etas_es58x/
A Des58x_core.c792 can->state = CAN_STATE_ERROR_PASSIVE; in es58x_rx_err_msg()
2013 case CAN_STATE_ERROR_PASSIVE: in es58x_set_mode()
2025 case CAN_STATE_ERROR_PASSIVE: in es58x_set_mode()
/linux-6.3-rc2/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_leaf.c984 new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_leaf_rx_error_update_can_state()
989 new_state = CAN_STATE_ERROR_PASSIVE; in kvaser_usb_leaf_rx_error_update_can_state()
1091 (es->rxerr || es->txerr || new_state == CAN_STATE_ERROR_PASSIVE || in kvaser_usb_leaf_rx_error()
/linux-6.3-rc2/drivers/net/can/usb/
A Ducan.c518 new_state = CAN_STATE_ERROR_PASSIVE; in ucan_handle_error_frame()
548 case CAN_STATE_ERROR_PASSIVE: in ucan_handle_error_frame()
A Dmcba_usb.c516 priv->can.state = CAN_STATE_ERROR_PASSIVE; in mcba_usb_process_ka_can()
/linux-6.3-rc2/drivers/net/can/slcan/
A Dslcan-core.c275 state = CAN_STATE_ERROR_PASSIVE; in slcan_bump_state()
/linux-6.3-rc2/drivers/net/can/mscan/
A Dmscan.c46 CAN_STATE_ERROR_PASSIVE, enumerator
/linux-6.3-rc2/drivers/net/can/peak_canfd/
A Dpeak_canfd.c374 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status()
/linux-6.3-rc2/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-core.c1056 tx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif()
1063 rx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif()
/linux-6.3-rc2/drivers/net/can/cc770/
A Dcc770.c534 priv->can.state = CAN_STATE_ERROR_PASSIVE; in cc770_err()

Completed in 66 milliseconds

12