Home
last modified time | relevance | path

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

/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h261 struct es58x_device *es58x_dev;
351 int (*handle_urb_cmd)(struct es58x_device *es58x_dev,
358 int (*reset_device)(struct es58x_device *es58x_dev);
359 int (*get_timestamp)(struct es58x_device *es58x_dev);
434 struct es58x_device { struct
480 return offsetof(struct es58x_device, rx_cmd_buf) + in es58x_sizeof_es58x_device()
640 static inline size_t es58x_get_urb_cmd_len(struct es58x_device *es58x_dev, in es58x_get_urb_cmd_len()
660 static inline int es58x_get_netdev(struct es58x_device *es58x_dev, in es58x_get_netdev()
729 void es58x_rx_timestamp(struct es58x_device *es58x_dev, u64 timestamp);
735 int es58x_send_msg(struct es58x_device *es58x_dev, u8 cmd_type, u8 cmd_id,
[all …]
H A Des58x_core.c134 static int es58x_check_crc(struct es58x_device *es58x_dev, in es58x_check_crc()
178 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_set_skb_timestamp()
199 void es58x_rx_timestamp(struct es58x_device *es58x_dev, u64 timestamp) in es58x_rx_timestamp()
227 static int es58x_set_realtime_diff_ns(struct es58x_device *es58x_dev) in es58x_set_realtime_diff_ns()
495 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_flush_pending_tx_msg()
1073 static void es58x_increment_rx_errors(struct es58x_device *es58x_dev) in es58x_increment_rx_errors()
1091 static void es58x_handle_urb_cmd(struct es58x_device *es58x_dev, in es58x_handle_urb_cmd()
1164 static signed int es58x_check_rx_urb(struct es58x_device *es58x_dev, in es58x_check_rx_urb()
1222 static int es58x_copy_to_cmd_buf(struct es58x_device *es58x_dev, in es58x_copy_to_cmd_buf()
1254 static int es58x_split_urb_try_recovery(struct es58x_device *es58x_dev, in es58x_split_urb_try_recovery()
[all …]
H A 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 …]
H A 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 …]
H A Des58x_devlink.c42 static int es58x_parse_sw_version(struct es58x_device *es58x_dev, in es58x_parse_sw_version()
93 static int es58x_parse_hw_rev(struct es58x_device *es58x_dev, in es58x_parse_hw_rev()
132 void es58x_parse_product_info(struct es58x_device *es58x_dev) in es58x_parse_product_info()
214 struct es58x_device *es58x_dev = devlink_priv(devlink); in es58x_devlink_info_get()