#include <asm/unaligned.h>
#include <linux/kernel.h>
#include <linux/units.h>
#include "es58x_core.h"
#include "es58x_fd.h"
#define es58x_fd_sizeof_rx_tx_msg(msg) …
static enum es58x_fd_cmd_type es58x_fd_cmd_type(struct net_device *netdev)
{ … }
static u16 es58x_fd_get_msg_len(const union es58x_urb_cmd *urb_cmd)
{ … }
static int es58x_fd_echo_msg(struct net_device *netdev,
const struct es58x_fd_urb_cmd *es58x_fd_urb_cmd)
{ … }
static int es58x_fd_rx_can_msg(struct net_device *netdev,
const struct es58x_fd_urb_cmd *es58x_fd_urb_cmd)
{ … }
static int es58x_fd_rx_event_msg(struct net_device *netdev,
const struct es58x_fd_urb_cmd *es58x_fd_urb_cmd)
{ … }
static int es58x_fd_rx_cmd_ret_u32(struct net_device *netdev,
const struct es58x_fd_urb_cmd *es58x_fd_urb_cmd,
enum es58x_ret_type cmd_ret_type)
{ … }
static int es58x_fd_tx_ack_msg(struct net_device *netdev,
const struct es58x_fd_urb_cmd *es58x_fd_urb_cmd)
{ … }
static int es58x_fd_can_cmd_id(struct es58x_device *es58x_dev,
const struct es58x_fd_urb_cmd *es58x_fd_urb_cmd)
{ … }
static int es58x_fd_device_cmd_id(struct es58x_device *es58x_dev,
const struct es58x_fd_urb_cmd *es58x_fd_urb_cmd)
{ … }
static int es58x_fd_handle_urb_cmd(struct es58x_device *es58x_dev,
const union es58x_urb_cmd *urb_cmd)
{ … }
static void es58x_fd_fill_urb_header(union es58x_urb_cmd *urb_cmd, u8 cmd_type,
u8 cmd_id, u8 channel_idx, u16 msg_len)
{ … }
static int es58x_fd_tx_can_msg(struct es58x_priv *priv,
const struct sk_buff *skb)
{ … }
static void es58x_fd_convert_bittiming(struct es58x_fd_bittiming *es58x_fd_bt,
struct can_bittiming *bt)
{ … }
static int es58x_fd_enable_channel(struct es58x_priv *priv)
{ … }
static int es58x_fd_disable_channel(struct es58x_priv *priv)
{ … }
static int es58x_fd_get_timestamp(struct es58x_device *es58x_dev)
{ … }
static const struct can_bittiming_const es58x_fd_nom_bittiming_const = …;
static const struct can_bittiming_const es58x_fd_data_bittiming_const = …;
static const struct can_tdc_const es58x_tdc_const = …;
const struct es58x_parameters es58x_fd_param = …;
const struct es58x_operators es58x_fd_ops = …;