es58x_device
static int es581_4_rx_err_msg(struct es58x_device *es58x_dev,
static int es581_4_rx_event_msg(struct es58x_device *es58x_dev,
static int es581_4_rx_cmd_ret_u32(struct es58x_device *es58x_dev,
static int es581_4_tx_ack_msg(struct es58x_device *es58x_dev,
static int es581_4_dispatch_rx_cmd(struct es58x_device *es58x_dev,
static int es581_4_handle_urb_cmd(struct es58x_device *es58x_dev,
struct es58x_device *es58x_dev = priv->es58x_dev;
static int es581_4_echo_msg(struct es58x_device *es58x_dev,
static int es581_4_reset_device(struct es58x_device *es58x_dev)
static int es581_4_get_timestamp(struct es58x_device *es58x_dev)
static int es581_4_rx_can_msg(struct es58x_device *es58x_dev,
static void es58x_increment_rx_errors(struct es58x_device *es58x_dev)
static void es58x_handle_urb_cmd(struct es58x_device *es58x_dev,
static signed int es58x_check_rx_urb(struct es58x_device *es58x_dev,
static int es58x_copy_to_cmd_buf(struct es58x_device *es58x_dev,
static int es58x_split_urb_try_recovery(struct es58x_device *es58x_dev,
static signed int es58x_handle_incomplete_cmd(struct es58x_device *es58x_dev,
static int es58x_check_crc(struct es58x_device *es58x_dev,
static signed int es58x_split_urb(struct es58x_device *es58x_dev,
struct es58x_device *es58x_dev = urb->context;
struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev;
static int es58x_alloc_urb(struct es58x_device *es58x_dev, struct urb **urb,
static struct urb *es58x_get_tx_urb(struct es58x_device *es58x_dev)
static int es58x_submit_urb(struct es58x_device *es58x_dev, struct urb *urb,
int es58x_send_msg(struct es58x_device *es58x_dev, u8 cmd_type, u8 cmd_id,
static int es58x_alloc_rx_urbs(struct es58x_device *es58x_dev)
static void es58x_free_urbs(struct es58x_device *es58x_dev)
struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev;
struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev;
struct es58x_device *es58x_dev = priv->es58x_dev;
struct es58x_device *es58x_dev = priv->es58x_dev;
void es58x_rx_timestamp(struct es58x_device *es58x_dev, u64 timestamp)
static int es58x_init_priv(struct es58x_device *es58x_dev,
static int es58x_init_netdev(struct es58x_device *es58x_dev, int channel_idx)
static void es58x_free_netdevs(struct es58x_device *es58x_dev)
static struct es58x_device *es58x_init_es58x_dev(struct usb_interface *intf,
struct es58x_device *es58x_dev;
struct es58x_device *es58x_dev;
struct es58x_device *es58x_dev = usb_get_intfdata(intf);
static int es58x_set_realtime_diff_ns(struct es58x_device *es58x_dev)
struct es58x_device *es58x_dev = priv->es58x_dev;
struct es58x_device *es58x_dev;
int (*handle_urb_cmd)(struct es58x_device *es58x_dev,
int (*reset_device)(struct es58x_device *es58x_dev);
int (*get_timestamp)(struct es58x_device *es58x_dev);
return offsetof(struct es58x_device, rx_cmd_buf) +
static inline size_t es58x_get_urb_cmd_len(struct es58x_device *es58x_dev,
static inline int es58x_get_netdev(struct es58x_device *es58x_dev,
void es58x_rx_timestamp(struct es58x_device *es58x_dev, u64 timestamp);
int es58x_send_msg(struct es58x_device *es58x_dev, u8 cmd_type, u8 cmd_id,
void es58x_parse_product_info(struct es58x_device *es58x_dev);
void es58x_parse_product_info(struct es58x_device *es58x_dev)
struct es58x_device *es58x_dev = devlink_priv(devlink);
static int es58x_parse_sw_version(struct es58x_device *es58x_dev,
static int es58x_parse_hw_rev(struct es58x_device *es58x_dev,
struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev;
struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev;
struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev;
struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev;
static int es58x_fd_can_cmd_id(struct es58x_device *es58x_dev,
static int es58x_fd_device_cmd_id(struct es58x_device *es58x_dev,
static int es58x_fd_handle_urb_cmd(struct es58x_device *es58x_dev,
struct es58x_device *es58x_dev = priv->es58x_dev;
struct es58x_device *es58x_dev = priv->es58x_dev;
static int es58x_fd_get_timestamp(struct es58x_device *es58x_dev)
struct es58x_device *es58x_dev = priv->es58x_dev;