can_state 412 drivers/net/can/at91_can.c static void at91_chip_stop(struct net_device *dev, enum can_state state) can_state 876 drivers/net/can/at91_can.c struct can_frame *cf, enum can_state new_state) can_state 986 drivers/net/can/at91_can.c enum can_state *state) can_state 1013 drivers/net/can/at91_can.c enum can_state new_state; can_state 324 drivers/net/can/dev.c enum can_state new_state) can_state 346 drivers/net/can/dev.c static int can_tx_state_to_frame(struct net_device *dev, enum can_state state) can_state 360 drivers/net/can/dev.c static int can_rx_state_to_frame(struct net_device *dev, enum can_state state) can_state 375 drivers/net/can/dev.c enum can_state tx_state, enum can_state rx_state) can_state 378 drivers/net/can/dev.c enum can_state new_state = max(tx_state, rx_state); can_state 1130 drivers/net/can/dev.c enum can_state state = priv->state; can_state 741 drivers/net/can/flexcan.c enum can_state new_state, rx_state, tx_state; can_state 884 drivers/net/can/flexcan.c enum can_state last_state = priv->can.state; can_state 609 drivers/net/can/grcan.c enum can_state state = priv->can.state; can_state 610 drivers/net/can/grcan.c enum can_state oldstate = state; can_state 456 drivers/net/can/ifi_canfd/ifi_canfd.c enum can_state new_state) can_state 1036 drivers/net/can/janz-ican3.c enum can_state state = mod->can.state; can_state 1198 drivers/net/can/kvaser_pciefd.c enum can_state new_state, can_state 1199 drivers/net/can/kvaser_pciefd.c enum can_state tx_state, can_state 1200 drivers/net/can/kvaser_pciefd.c enum can_state rx_state) can_state 1222 drivers/net/can/kvaser_pciefd.c enum can_state *new_state, can_state 1223 drivers/net/can/kvaser_pciefd.c enum can_state *tx_state, can_state 1224 drivers/net/can/kvaser_pciefd.c enum can_state *rx_state) can_state 1250 drivers/net/can/kvaser_pciefd.c enum can_state old_state, new_state, tx_state, rx_state; can_state 1332 drivers/net/can/kvaser_pciefd.c enum can_state old_state, new_state, tx_state, rx_state; can_state 657 drivers/net/can/m_can/m_can.c enum can_state new_state) can_state 43 drivers/net/can/mscan/mscan.c static enum can_state state_map[] = { can_state 281 drivers/net/can/mscan/mscan.c static enum can_state get_new_state(struct net_device *dev, u8 canrflg) can_state 338 drivers/net/can/mscan/mscan.c enum can_state new_state; can_state 486 drivers/net/can/pch_can.c enum can_state state = priv->can.state; can_state 1114 drivers/net/can/rcar/rcar_canfd.c enum can_state rx_state, tx_state, state = priv->can.state; can_state 396 drivers/net/can/sja1000/sja1000.c enum can_state state = priv->can.state; can_state 397 drivers/net/can/sja1000/sja1000.c enum can_state rx_state, tx_state; can_state 216 drivers/net/can/softing/softing_main.c uint8_t can_state, state; can_state 224 drivers/net/can/softing/softing_main.c can_state = CAN_STATE_BUS_OFF; can_state 228 drivers/net/can/softing/softing_main.c can_state = CAN_STATE_ERROR_PASSIVE; can_state 233 drivers/net/can/softing/softing_main.c can_state = CAN_STATE_ERROR_ACTIVE; can_state 247 drivers/net/can/softing/softing_main.c if (can_state != priv->can.state) { can_state 248 drivers/net/can/softing/softing_main.c priv->can.state = can_state; can_state 249 drivers/net/can/softing/softing_main.c if (can_state == CAN_STATE_ERROR_PASSIVE) can_state 251 drivers/net/can/softing/softing_main.c else if (can_state == CAN_STATE_BUS_OFF) { can_state 641 drivers/net/can/spi/hi311x.c enum can_state new_state; can_state 664 drivers/net/can/spi/hi311x.c enum can_state rx_state, tx_state; can_state 752 drivers/net/can/spi/mcp251x.c enum can_state new_state; can_state 516 drivers/net/can/sun4i_can.c enum can_state state = priv->can.state; can_state 517 drivers/net/can/sun4i_can.c enum can_state rx_state, tx_state; can_state 634 drivers/net/can/ti_hecc.c enum can_state rx_state, can_state 635 drivers/net/can/ti_hecc.c enum can_state tx_state) can_state 683 drivers/net/can/ti_hecc.c enum can_state rx_state, tx_state; can_state 715 drivers/net/can/ti_hecc.c enum can_state new_state, tx_state, rx_state; can_state 205 drivers/net/can/usb/ems_usb.c u8 can_state; can_state 339 drivers/net/can/usb/ems_usb.c u8 state = msg->msg.can_state; can_state 819 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c enum can_state *new_state) can_state 847 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c enum can_state new_state, old_state; can_state 866 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c enum can_state tx_state, rx_state; can_state 996 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c enum can_state new_state, old_state; can_state 1014 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c enum can_state tx_state, rx_state; can_state 633 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c enum can_state cur_state, new_state, tx_state, rx_state; can_state 701 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c enum can_state old_state, new_state; can_state 403 drivers/net/can/usb/peak_usb/pcan_usb.c enum can_state new_state; can_state 525 drivers/net/can/usb/peak_usb/pcan_usb_fd.c enum can_state new_state = CAN_STATE_ERROR_ACTIVE; can_state 526 drivers/net/can/usb/peak_usb/pcan_usb_fd.c enum can_state rx_state, tx_state; can_state 564 drivers/net/can/usb/peak_usb/pcan_usb_pro.c enum can_state new_state = CAN_STATE_ERROR_ACTIVE; can_state 487 drivers/net/can/usb/ucan.c enum can_state new_state = up->can.state; can_state 887 drivers/net/can/xilinx_can.c static enum can_state xcan_current_error_state(struct net_device *ndev) can_state 910 drivers/net/can/xilinx_can.c enum can_state new_state, can_state 917 drivers/net/can/xilinx_can.c enum can_state tx_state = txerr >= rxerr ? new_state : 0; can_state 918 drivers/net/can/xilinx_can.c enum can_state rx_state = txerr <= rxerr ? new_state : 0; can_state 943 drivers/net/can/xilinx_can.c enum can_state old_state = priv->can.state; can_state 944 drivers/net/can/xilinx_can.c enum can_state new_state; can_state 1004 drivers/net/can/xilinx_can.c enum can_state new_state = xcan_current_error_state(ndev); can_state 53 include/linux/can/dev.h enum can_state state; can_state 68 include/linux/can/dev.h enum can_state *state); can_state 202 include/linux/can/dev.h enum can_state tx_state, enum can_state rx_state);