Home
last modified time | relevance | path

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

/Linux-v5.15/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);
394 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.c135 static int es58x_check_crc(struct es58x_device *es58x_dev, in es58x_check_crc()
179 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_set_skb_timestamp()
200 void es58x_rx_timestamp(struct es58x_device *es58x_dev, u64 timestamp) in es58x_rx_timestamp()
228 static int es58x_set_realtime_diff_ns(struct es58x_device *es58x_dev) in es58x_set_realtime_diff_ns()
496 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_flush_pending_tx_msg()
1083 static void es58x_increment_rx_errors(struct es58x_device *es58x_dev) in es58x_increment_rx_errors()
1101 static void es58x_handle_urb_cmd(struct es58x_device *es58x_dev, in es58x_handle_urb_cmd()
1174 static signed int es58x_check_rx_urb(struct es58x_device *es58x_dev, in es58x_check_rx_urb()
1232 static int es58x_copy_to_cmd_buf(struct es58x_device *es58x_dev, in es58x_copy_to_cmd_buf()
1264 static int es58x_split_urb_try_recovery(struct es58x_device *es58x_dev, in es58x_split_urb_try_recovery()
[all …]
Des581_4.c38 static int es581_4_echo_msg(struct es58x_device *es58x_dev, in es581_4_echo_msg()
94 static int es581_4_rx_can_msg(struct es58x_device *es58x_dev, in es581_4_rx_can_msg()
141 static int es581_4_rx_err_msg(struct es58x_device *es58x_dev, in es581_4_rx_err_msg()
157 static int es581_4_rx_event_msg(struct es58x_device *es58x_dev, in es581_4_rx_event_msg()
173 static int es581_4_rx_cmd_ret_u32(struct es58x_device *es58x_dev, in es581_4_rx_cmd_ret_u32()
198 static int es581_4_tx_ack_msg(struct es58x_device *es58x_dev, in es581_4_tx_ack_msg()
226 static int es581_4_dispatch_rx_cmd(struct es58x_device *es58x_dev, in es581_4_dispatch_rx_cmd()
260 static int es581_4_handle_urb_cmd(struct es58x_device *es58x_dev, in es581_4_handle_urb_cmd()
346 struct es58x_device *es58x_dev = priv->es58x_dev; in es581_4_tx_can_msg()
438 static int es581_4_reset_device(struct es58x_device *es58x_dev) in es581_4_reset_device()
[all …]
Des58x_fd.c65 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_fd_echo_msg()
99 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_can_msg()
169 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_event_msg()
189 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_cmd_ret_u32()
205 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_tx_ack_msg()
220 static int es58x_fd_can_cmd_id(struct es58x_device *es58x_dev, in es58x_fd_can_cmd_id()
265 static int es58x_fd_device_cmd_id(struct es58x_device *es58x_dev, in es58x_fd_device_cmd_id()
286 static int es58x_fd_handle_urb_cmd(struct es58x_device *es58x_dev, in es58x_fd_handle_urb_cmd()
333 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_fd_tx_can_msg()
397 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_fd_enable_channel()
[all …]