/Linux-v4.19/include/linux/can/ |
D | dev.h | 52 enum can_state state; 67 enum can_state *state); 168 enum can_state tx_state, enum can_state rx_state);
|
/Linux-v4.19/drivers/net/can/softing/ |
D | softing_main.c | 227 uint8_t can_state, state; in softing_handle_1() local 235 can_state = CAN_STATE_BUS_OFF; in softing_handle_1() 239 can_state = CAN_STATE_ERROR_PASSIVE; in softing_handle_1() 244 can_state = CAN_STATE_ERROR_ACTIVE; in softing_handle_1() 258 if (can_state != priv->can.state) { in softing_handle_1() 259 priv->can.state = can_state; in softing_handle_1() 260 if (can_state == CAN_STATE_ERROR_PASSIVE) in softing_handle_1() 262 else if (can_state == CAN_STATE_BUS_OFF) { in softing_handle_1()
|
/Linux-v4.19/drivers/net/can/ |
D | dev.c | 329 enum can_state new_state) in can_update_state_error_stats() 351 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state) in can_tx_state_to_frame() 365 static int can_rx_state_to_frame(struct net_device *dev, enum can_state state) in can_rx_state_to_frame() 380 enum can_state tx_state, enum can_state rx_state) in can_change_state() 383 enum can_state new_state = max(tx_state, rx_state); in can_change_state() 1115 enum can_state state = priv->state; in can_fill_info()
|
D | xilinx_can.c | 717 static enum can_state xcan_current_error_state(struct net_device *ndev) in xcan_current_error_state() 740 enum can_state new_state, in xcan_set_error_state() 747 enum can_state tx_state = txerr >= rxerr ? new_state : 0; in xcan_set_error_state() 748 enum can_state rx_state = txerr <= rxerr ? new_state : 0; in xcan_set_error_state() 773 enum can_state old_state = priv->can.state; in xcan_update_error_state_after_rxtx() 774 enum can_state new_state; in xcan_update_error_state_after_rxtx() 834 enum can_state new_state = xcan_current_error_state(ndev); in xcan_err_interrupt()
|
D | at91_can.c | 416 static void at91_chip_stop(struct net_device *dev, enum can_state state) in at91_chip_stop() 880 struct can_frame *cf, enum can_state new_state) in at91_irq_err_state() 988 enum can_state *state) in at91_get_state_by_bec() 1015 enum can_state new_state; in at91_irq_err()
|
D | sun4i_can.c | 516 enum can_state state = priv->can.state; in sun4i_can_err() 517 enum can_state rx_state, tx_state; in sun4i_can_err()
|
D | flexcan.c | 623 enum can_state new_state, rx_state, tx_state; in flexcan_irq_state() 750 enum can_state last_state = priv->can.state; in flexcan_irq()
|
D | grcan.c | 613 enum can_state state = priv->can.state; in grcan_err() 614 enum can_state oldstate = state; in grcan_err()
|
D | pch_can.c | 497 enum can_state state = priv->can.state; in pch_can_error()
|
D | janz-ican3.c | 1040 enum can_state state = mod->can.state; in ican3_handle_cevtind()
|
/Linux-v4.19/include/uapi/linux/can/ |
D | netlink.h | 69 enum can_state { enum
|
/Linux-v4.19/drivers/net/can/mscan/ |
D | mscan.c | 54 static enum can_state state_map[] = { 292 static enum can_state get_new_state(struct net_device *dev, u8 canrflg) in get_new_state() 349 enum can_state new_state; in mscan_get_err_frame()
|
/Linux-v4.19/drivers/net/can/sja1000/ |
D | sja1000.c | 396 enum can_state state = priv->can.state; in sja1000_err() 397 enum can_state rx_state, tx_state; in sja1000_err()
|
/Linux-v4.19/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 819 enum can_state *new_state) in kvaser_usb_hydra_bus_status_to_can_state() 847 enum can_state new_state, old_state; in kvaser_usb_hydra_update_state() 866 enum can_state tx_state, rx_state; in kvaser_usb_hydra_update_state() 996 enum can_state new_state, old_state; in kvaser_usb_hydra_error_frame() 1014 enum can_state tx_state, rx_state; in kvaser_usb_hydra_error_frame()
|
D | kvaser_usb_leaf.c | 633 enum can_state cur_state, new_state, tx_state, rx_state; in kvaser_usb_leaf_rx_error_update_can_state() 701 enum can_state old_state, new_state; in kvaser_usb_leaf_rx_error()
|
/Linux-v4.19/drivers/net/can/usb/ |
D | ems_usb.c | 217 u8 can_state; member 351 u8 state = msg->msg.can_state; in ems_usb_rx_err()
|
D | ucan.c | 491 enum can_state new_state = up->can.state; in ucan_handle_error_frame()
|
/Linux-v4.19/drivers/net/can/spi/ |
D | hi311x.c | 659 enum can_state new_state; in hi3110_can_ist() 682 enum can_state rx_state, tx_state; in hi3110_can_ist()
|
D | mcp251x.c | 810 enum can_state new_state; in mcp251x_can_ist()
|
/Linux-v4.19/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 533 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_fd_decode_status() 534 enum can_state rx_state, tx_state; in pcan_usb_fd_decode_status()
|
D | pcan_usb.c | 411 enum can_state new_state; in pcan_usb_decode_error()
|
D | pcan_usb_pro.c | 572 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error()
|
/Linux-v4.19/drivers/net/can/ifi_canfd/ |
D | ifi_canfd.c | 456 enum can_state new_state) in ifi_canfd_handle_state_change()
|
/Linux-v4.19/drivers/net/can/m_can/ |
D | m_can.c | 668 enum can_state new_state) in m_can_handle_state_change()
|
/Linux-v4.19/drivers/net/can/rcar/ |
D | rcar_canfd.c | 1118 enum can_state rx_state, tx_state, state = priv->can.state; in rcar_canfd_state_change()
|