/Linux-v6.6/include/linux/can/ |
D | dev.h | 70 enum can_state state; 84 enum can_state *state); 197 const char *can_get_state_str(const enum can_state state); 199 enum can_state tx_state, enum can_state rx_state);
|
/Linux-v6.6/drivers/net/can/dev/ |
D | dev.c | 20 enum can_state new_state) in can_update_state_error_stats() 42 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state) in can_tx_state_to_frame() 56 static int can_rx_state_to_frame(struct net_device *dev, enum can_state state) in can_rx_state_to_frame() 70 const char *can_get_state_str(const enum can_state state) in can_get_state_str() 94 enum can_state tx_state, enum can_state rx_state) in can_change_state() 97 enum can_state new_state = max(tx_state, rx_state); in can_change_state()
|
D | netlink.c | 544 enum can_state state = priv->state; in can_fill_info()
|
/Linux-v6.6/drivers/net/can/usb/ |
D | f81604.c | 480 enum can_state can_state = priv->can.state; in f81604_handle_can_bus_errors() local 517 can_state = CAN_STATE_BUS_OFF; in f81604_handle_can_bus_errors() 519 can_state = CAN_STATE_ERROR_WARNING; in f81604_handle_can_bus_errors() 521 can_state = CAN_STATE_ERROR_ACTIVE; in f81604_handle_can_bus_errors() 561 if (can_state == CAN_STATE_ERROR_PASSIVE) in f81604_handle_can_bus_errors() 562 can_state = CAN_STATE_ERROR_WARNING; in f81604_handle_can_bus_errors() 564 can_state = CAN_STATE_ERROR_PASSIVE; in f81604_handle_can_bus_errors() 567 netdev_dbg(netdev, "error passive interrupt: %d\n", can_state); in f81604_handle_can_bus_errors() 584 if (can_state != priv->can.state) { in f81604_handle_can_bus_errors() 585 enum can_state tx_state, rx_state; in f81604_handle_can_bus_errors() [all …]
|
D | ems_usb.c | 206 u8 can_state; member 342 u8 state = msg->msg.can_state; in ems_usb_rx_err()
|
D | esd_usb.c | 325 enum can_state tx_state, rx_state; in esd_usb_rx_event() 326 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in esd_usb_rx_event()
|
D | gs_usb.c | 1016 enum can_state *state) in gs_usb_get_state() 1044 enum can_state state; in gs_usb_can_get_berr_counter()
|
/Linux-v6.6/drivers/net/can/softing/ |
D | softing_main.c | 217 uint8_t can_state, state; in softing_handle_1() local 225 can_state = CAN_STATE_BUS_OFF; in softing_handle_1() 229 can_state = CAN_STATE_ERROR_PASSIVE; in softing_handle_1() 234 can_state = CAN_STATE_ERROR_ACTIVE; in softing_handle_1() 247 if (can_state != priv->can.state) { in softing_handle_1() 248 priv->can.state = can_state; in softing_handle_1() 249 if (can_state == CAN_STATE_ERROR_PASSIVE) in softing_handle_1() 251 else if (can_state == CAN_STATE_BUS_OFF) { in softing_handle_1()
|
/Linux-v6.6/include/uapi/linux/can/ |
D | netlink.h | 69 enum can_state { enum
|
/Linux-v6.6/drivers/net/can/ |
D | xilinx_can.c | 935 static enum can_state xcan_current_error_state(struct net_device *ndev) in xcan_current_error_state() 958 enum can_state new_state, in xcan_set_error_state() 965 enum can_state tx_state = txerr >= rxerr ? new_state : 0; in xcan_set_error_state() 966 enum can_state rx_state = txerr <= rxerr ? new_state : 0; in xcan_set_error_state() 992 enum can_state old_state = priv->can.state; in xcan_update_error_state_after_rxtx() 993 enum can_state new_state; in xcan_update_error_state_after_rxtx() 1044 enum can_state new_state = xcan_current_error_state(ndev); in xcan_err_interrupt()
|
D | kvaser_pciefd.c | 1175 enum can_state new_state, in kvaser_pciefd_change_state() 1176 enum can_state tx_state, in kvaser_pciefd_change_state() 1177 enum can_state rx_state) in kvaser_pciefd_change_state() 1198 enum can_state *new_state, in kvaser_pciefd_packet_to_state() 1199 enum can_state *tx_state, in kvaser_pciefd_packet_to_state() 1200 enum can_state *rx_state) in kvaser_pciefd_packet_to_state() 1226 enum can_state old_state, new_state, tx_state, rx_state; in kvaser_pciefd_rx_error_frame() 1298 enum can_state old_state, new_state, tx_state, rx_state; in kvaser_pciefd_handle_status_resp()
|
D | ti_hecc.c | 638 enum can_state rx_state, in ti_hecc_change_state() 639 enum can_state tx_state) in ti_hecc_change_state() 688 enum can_state rx_state, tx_state; in ti_hecc_interrupt() 720 enum can_state new_state, tx_state, rx_state; in ti_hecc_interrupt()
|
D | at91_can.c | 412 static void at91_chip_stop(struct net_device *dev, enum can_state state) in at91_chip_stop() 868 struct can_frame *cf, enum can_state new_state) in at91_irq_err_state() 973 enum can_state *state) in at91_get_state_by_bec() 999 enum can_state new_state; in at91_irq_err()
|
D | sun4i_can.c | 531 enum can_state state = priv->can.state; in sun4i_can_err() 532 enum can_state rx_state, tx_state; in sun4i_can_err()
|
D | bxcan.c | 469 enum can_state new_state = priv->can.state; in bxcan_handle_state_change() 471 enum can_state rx_state, tx_state; in bxcan_handle_state_change()
|
D | grcan.c | 609 enum can_state state = priv->can.state; in grcan_err() 610 enum can_state oldstate = state; in grcan_err()
|
/Linux-v6.6/drivers/net/can/mscan/ |
D | mscan.c | 43 static enum can_state state_map[] = { 282 static enum can_state get_new_state(struct net_device *dev, u8 canrflg) in get_new_state() 339 enum can_state new_state; in mscan_get_err_frame()
|
/Linux-v6.6/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 477 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_decode_error() 514 enum can_state tx_state = in pcan_usb_decode_error() 517 enum can_state rx_state = in pcan_usb_decode_error()
|
D | pcan_usb_fd.c | 593 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_fd_decode_status() 594 enum can_state rx_state, tx_state; in pcan_usb_fd_decode_status()
|
/Linux-v6.6/drivers/net/can/sja1000/ |
D | sja1000.c | 412 enum can_state state = priv->can.state; in sja1000_err() 413 enum can_state rx_state, tx_state; in sja1000_err()
|
/Linux-v6.6/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 898 enum can_state *new_state) in kvaser_usb_hydra_bus_status_to_can_state() 925 enum can_state new_state, old_state; in kvaser_usb_hydra_update_state() 944 enum can_state tx_state, rx_state; in kvaser_usb_hydra_update_state() 1074 enum can_state new_state, old_state; in kvaser_usb_hydra_error_frame() 1092 enum can_state tx_state, rx_state; in kvaser_usb_hydra_error_frame()
|
/Linux-v6.6/drivers/net/can/ctucanfd/ |
D | ctucanfd_base.c | 160 static const char *ctucan_state_to_str(enum can_state state) in ctucan_state_to_str() 753 static enum can_state ctucan_read_fault_state(struct ctucan_priv *priv) in ctucan_read_fault_state() 806 enum can_state state; in ctucan_err_interrupt()
|
/Linux-v6.6/drivers/net/can/spi/ |
D | hi311x.c | 639 enum can_state new_state; in hi3110_can_ist() 662 enum can_state rx_state, tx_state; in hi3110_can_ist()
|
/Linux-v6.6/drivers/net/can/slcan/ |
D | slcan-core.c | 265 enum can_state state, rx_state, tx_state; in slcan_bump_state()
|
/Linux-v6.6/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-core.c | 741 const enum can_state state) in mcp251xfd_chip_stop() 1051 enum can_state new_state, rx_state, tx_state; in mcp251xfd_handle_cerrif()
|