Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c178 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_set_skb_timestamp() local
237 return es58x_dev->ops->get_timestamp(es58x_dev); in es58x_set_realtime_diff_ns()
495 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_flush_pending_tx_msg() local
1132 es58x_dev->ops->reset_device(es58x_dev); in es58x_handle_urb_cmd()
1335 es58x_handle_urb_cmd(es58x_dev, &es58x_dev->rx_cmd_buf); in es58x_handle_incomplete_cmd()
1829 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_stop() local
1913 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_start_xmit() local
2055 priv->es58x_dev = es58x_dev; in es58x_init_priv()
2202 es58x_dev->rx_pipe = usb_rcvbulkpipe(es58x_dev->udev, in es58x_init_es58x_dev()
2204 es58x_dev->tx_pipe = usb_sndbulkpipe(es58x_dev->udev, in es58x_init_es58x_dev()
[all …]
H A Des58x_devlink.c49 version = &es58x_dev->firmware_version; in es58x_parse_sw_version()
51 version = &es58x_dev->bootloader_version; in es58x_parse_sw_version()
112 es58x_dev->hardware_revision.letter = letter; in es58x_parse_hw_rev()
113 es58x_dev->hardware_revision.major = major; in es58x_parse_hw_rev()
114 es58x_dev->hardware_revision.minor = minor; in es58x_parse_hw_rev()
146 es58x_dev->firmware_version = sw_version_not_set; in es58x_parse_product_info()
147 es58x_dev->bootloader_version = sw_version_not_set; in es58x_parse_product_info()
148 es58x_dev->hardware_revision = hw_revision_not_set; in es58x_parse_product_info()
152 dev_warn(es58x_dev->dev, in es58x_parse_product_info()
159 es58x_parse_hw_rev(es58x_dev, prod_info)) in es58x_parse_product_info()
[all …]
H A Des581_4.c45 u64 *tstamps = es58x_dev->timestamps; in es581_4_echo_msg()
99 const struct device *dev = es58x_dev->dev; in es581_4_rx_can_msg()
109 ret = es58x_get_netdev(es58x_dev, channel_no, in es581_4_rx_can_msg()
183 ret = es58x_check_msg_len(es58x_dev->dev, in es581_4_rx_cmd_ret_u32()
213 return es58x_rx_cmd_ret_u8(es58x_dev->dev, in es581_4_tx_ack_msg()
230 const struct device *dev = es58x_dev->dev; in es581_4_dispatch_rx_cmd()
244 return es581_4_rx_err_msg(es58x_dev, in es581_4_dispatch_rx_cmd()
252 return es581_4_rx_event_msg(es58x_dev, in es581_4_dispatch_rx_cmd()
265 struct device *dev = es58x_dev->dev; in es581_4_handle_urb_cmd()
311 es58x_rx_timestamp(es58x_dev, in es581_4_handle_urb_cmd()
[all …]
H A Des58x_fd.c66 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_fd_echo_msg() local
67 u64 *tstamps = es58x_dev->timestamps; in es58x_fd_echo_msg()
101 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_can_msg() local
171 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_event_msg() local
190 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_fd_rx_cmd_ret_u32() local
194 ret = es58x_check_msg_len(es58x_dev->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() local
278 es58x_rx_timestamp(es58x_dev, in es58x_fd_device_cmd_id()
311 dev_err(es58x_dev->dev, in es58x_fd_handle_urb_cmd()
334 struct es58x_device *es58x_dev = priv->es58x_dev; in es58x_fd_tx_can_msg() local
[all …]
H A Des58x_core.h261 struct es58x_device *es58x_dev; member
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);
640 static inline size_t es58x_get_urb_cmd_len(struct es58x_device *es58x_dev, in es58x_get_urb_cmd_len() argument
643 return es58x_dev->param->urb_cmd_header_len + msg_len + sizeof(u16); in es58x_get_urb_cmd_len()
660 static inline int es58x_get_netdev(struct es58x_device *es58x_dev, in es58x_get_netdev() argument
667 if (channel_idx < 0 || channel_idx >= es58x_dev->num_can_ch) in es58x_get_netdev()
670 *netdev = es58x_dev->netdev[channel_idx]; in es58x_get_netdev()
729 void es58x_rx_timestamp(struct es58x_device *es58x_dev, u64 timestamp);
[all …]