Home
last modified time | relevance | path

Searched refs:can_state (Results 1 – 25 of 31) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/linux/can/
H A Ddev.h53 enum can_state state;
68 enum can_state *state);
217 enum can_state tx_state, enum can_state rx_state);
/OK3568_Linux_fs/kernel/drivers/net/can/softing/
H A Dsofting_main.c216 uint8_t can_state, state; in softing_handle_1() local
224 can_state = CAN_STATE_BUS_OFF; in softing_handle_1()
228 can_state = CAN_STATE_ERROR_PASSIVE; in softing_handle_1()
233 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()
/OK3568_Linux_fs/kernel/drivers/net/can/dev/
H A Ddev.c323 enum can_state new_state) in can_update_state_error_stats()
345 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state) in can_tx_state_to_frame()
359 static int can_rx_state_to_frame(struct net_device *dev, enum can_state state) in can_rx_state_to_frame()
373 static const char *can_get_state_str(const enum can_state state) in can_get_state_str()
396 enum can_state tx_state, enum can_state rx_state) in can_change_state()
399 enum can_state new_state = max(tx_state, rx_state); in can_change_state()
1169 enum can_state state = priv->state; in can_fill_info()
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dxilinx_can.c893 static enum can_state xcan_current_error_state(struct net_device *ndev) in xcan_current_error_state()
916 enum can_state new_state, in xcan_set_error_state()
923 enum can_state tx_state = txerr >= rxerr ? new_state : 0; in xcan_set_error_state()
924 enum can_state rx_state = txerr <= rxerr ? new_state : 0; in xcan_set_error_state()
949 enum can_state old_state = priv->can.state; in xcan_update_error_state_after_rxtx()
950 enum can_state new_state; in xcan_update_error_state_after_rxtx()
1006 enum can_state new_state = xcan_current_error_state(ndev); in xcan_err_interrupt()
H A Dkvaser_pciefd.c1207 enum can_state new_state, in kvaser_pciefd_change_state()
1208 enum can_state tx_state, in kvaser_pciefd_change_state()
1209 enum can_state rx_state) in kvaser_pciefd_change_state()
1231 enum can_state *new_state, in kvaser_pciefd_packet_to_state()
1232 enum can_state *tx_state, in kvaser_pciefd_packet_to_state()
1233 enum can_state *rx_state) in kvaser_pciefd_packet_to_state()
1259 enum can_state old_state, new_state, tx_state, rx_state; in kvaser_pciefd_rx_error_frame()
1344 enum can_state old_state, new_state, tx_state, rx_state; in kvaser_pciefd_handle_status_resp()
H A Dti_hecc.c648 enum can_state rx_state, in ti_hecc_change_state()
649 enum can_state tx_state) in ti_hecc_change_state()
697 enum can_state rx_state, tx_state; in ti_hecc_interrupt()
729 enum can_state new_state, tx_state, rx_state; in ti_hecc_interrupt()
H A Dat91_can.c412 static void at91_chip_stop(struct net_device *dev, enum can_state state) in at91_chip_stop()
876 struct can_frame *cf, enum can_state new_state) in at91_irq_err_state()
986 enum can_state *state) in at91_get_state_by_bec()
1013 enum can_state new_state; in at91_irq_err()
H A Dsun4i_can.c516 enum can_state state = priv->can.state; in sun4i_can_err()
517 enum can_state rx_state, tx_state; in sun4i_can_err()
H A Dgrcan.c610 enum can_state state = priv->can.state; in grcan_err()
611 enum can_state oldstate = state; in grcan_err()
H A Dflexcan.c869 enum can_state new_state, rx_state, tx_state; in flexcan_irq_state()
1052 enum can_state last_state = priv->can.state; in flexcan_irq()
/OK3568_Linux_fs/kernel/include/uapi/linux/can/
H A Dnetlink.h69 enum can_state { enum
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/can/
H A Dnetlink.h69 enum can_state { enum
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/can/
H A Dnetlink.h69 enum can_state { enum
/OK3568_Linux_fs/kernel/drivers/net/can/mscan/
H A Dmscan.c43 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()
/OK3568_Linux_fs/kernel/drivers/net/can/sja1000/
H A Dsja1000.c396 enum can_state state = priv->can.state; in sja1000_err()
397 enum can_state rx_state, tx_state; in sja1000_err()
/OK3568_Linux_fs/kernel/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_hydra.c819 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()
998 enum can_state new_state, old_state; in kvaser_usb_hydra_error_frame()
1016 enum can_state tx_state, rx_state; in kvaser_usb_hydra_error_frame()
H A Dkvaser_usb_leaf.c788 enum can_state cur_state, new_state, tx_state, rx_state; in kvaser_usb_leaf_rx_error_update_can_state()
856 enum can_state old_state, new_state; in kvaser_usb_leaf_rx_error()
/OK3568_Linux_fs/kernel/drivers/net/can/rockchip/
H A Drockchip_can.c377 enum can_state state = rcan->can.state; in rockchip_can_err()
378 enum can_state rx_state, tx_state; in rockchip_can_err()
/OK3568_Linux_fs/kernel/drivers/net/can/usb/
H A Dems_usb.c205 u8 can_state; member
341 u8 state = msg->msg.can_state; in ems_usb_rx_err()
/OK3568_Linux_fs/kernel/drivers/net/can/spi/
H A Dhi311x.c641 enum can_state new_state; in hi3110_can_ist()
664 enum can_state rx_state, tx_state; in hi3110_can_ist()
/OK3568_Linux_fs/kernel/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c529 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_fd_decode_status()
530 enum can_state rx_state, tx_state; in pcan_usb_fd_decode_status()
H A Dpcan_usb.c452 enum can_state new_state; in pcan_usb_decode_error()
H A Dpcan_usb_pro.c564 enum can_state new_state = CAN_STATE_ERROR_ACTIVE; in pcan_usb_pro_handle_error()
/OK3568_Linux_fs/kernel/drivers/net/can/ifi_canfd/
H A Difi_canfd.c456 enum can_state new_state) in ifi_canfd_handle_state_change()
/OK3568_Linux_fs/kernel/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c1017 const enum can_state state) in mcp251xfd_chip_stop()
1696 enum can_state new_state, rx_state, tx_state; in mcp251xfd_handle_cerrif()

12