Home
last modified time | relevance | path

Searched refs:es58x_device (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/net/can/usb/etas_es58x/
Des58x_core.h258 struct es58x_device *es58x_dev;
348 int (*handle_urb_cmd)(struct es58x_device *es58x_dev,
355 int (*reset_device)(struct es58x_device *es58x_dev);
356 int (*get_timestamp)(struct es58x_device *es58x_dev);
395 struct es58x_device { struct
437 return offsetof(struct es58x_device, rx_cmd_buf) + in es58x_sizeof_es58x_device()
597 static inline size_t es58x_get_urb_cmd_len(struct es58x_device *es58x_dev, in es58x_get_urb_cmd_len()
617 static inline int es58x_get_netdev(struct es58x_device *es58x_dev, in es58x_get_netdev()
685 void es58x_rx_timestamp(struct es58x_device *es58x_dev, u64 timestamp);
691 int es58x_send_msg(struct es58x_device *es58x_dev, u8 cmd_type, u8 cmd_id,
Des58x_core.c133 static int es58x_check_crc(struct es58x_device *es58x_dev, in es58x_check_crc()
177 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_set_skb_timestamp()
198 void es58x_rx_timestamp(struct es58x_device *es58x_dev, u64 timestamp) in es58x_rx_timestamp()
226 static int es58x_set_realtime_diff_ns(struct es58x_device *es58x_dev) in es58x_set_realtime_diff_ns()
494 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_flush_pending_tx_msg()
1072 static void es58x_increment_rx_errors(struct es58x_device *es58x_dev) in es58x_increment_rx_errors()
1090 static void es58x_handle_urb_cmd(struct es58x_device *es58x_dev, in es58x_handle_urb_cmd()
1163 static signed int es58x_check_rx_urb(struct es58x_device *es58x_dev, in es58x_check_rx_urb()
1221 static int es58x_copy_to_cmd_buf(struct es58x_device *es58x_dev, in es58x_copy_to_cmd_buf()
1253 static int es58x_split_urb_try_recovery(struct es58x_device *es58x_dev, in es58x_split_urb_try_recovery()
[all …]
Des581_4.c39 static int es581_4_echo_msg(struct es58x_device *es58x_dev, in es581_4_echo_msg()
95 static int es581_4_rx_can_msg(struct es58x_device *es58x_dev, in es581_4_rx_can_msg()
142 static int es581_4_rx_err_msg(struct es58x_device *es58x_dev, in es581_4_rx_err_msg()
158 static int es581_4_rx_event_msg(struct es58x_device *es58x_dev, in es581_4_rx_event_msg()
174 static int es581_4_rx_cmd_ret_u32(struct es58x_device *es58x_dev, in es581_4_rx_cmd_ret_u32()
199 static int es581_4_tx_ack_msg(struct es58x_device *es58x_dev, in es581_4_tx_ack_msg()
227 static int es581_4_dispatch_rx_cmd(struct es58x_device *es58x_dev, in es581_4_dispatch_rx_cmd()
261 static int es581_4_handle_urb_cmd(struct es58x_device *es58x_dev, in es581_4_handle_urb_cmd()
347 struct es58x_device *es58x_dev = priv->es58x_dev; in es581_4_tx_can_msg()
439 static int es581_4_reset_device(struct es58x_device *es58x_dev) in es581_4_reset_device()
[all …]
Des58x_fd.c66 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_fd_echo_msg()
101 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_can_msg()
171 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_event_msg()
190 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_cmd_ret_u32()
206 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_tx_ack_msg()
221 static int es58x_fd_can_cmd_id(struct es58x_device *es58x_dev, in es58x_fd_can_cmd_id()
266 static int es58x_fd_device_cmd_id(struct es58x_device *es58x_dev, in es58x_fd_device_cmd_id()
287 static int es58x_fd_handle_urb_cmd(struct es58x_device *es58x_dev, in es58x_fd_handle_urb_cmd()
334 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_fd_tx_can_msg()
398 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_fd_enable_channel()
[all …]