peak_usb_device
struct peak_usb_device dev;
static int pcan_usb_send_cmd(struct peak_usb_device *dev, u8 f, u8 n, u8 *p)
static int pcan_usb_wait_rsp(struct peak_usb_device *dev, u8 f, u8 n, u8 *p)
static int pcan_usb_set_sja1000(struct peak_usb_device *dev, u8 mode)
static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff)
static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff)
static int pcan_usb_set_err_frame(struct peak_usb_device *dev, u8 err_mask)
static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff)
static int pcan_usb_set_led(struct peak_usb_device *dev, u8 onoff)
static int pcan_usb_set_bittiming(struct peak_usb_device *dev,
static int pcan_usb_write_mode(struct peak_usb_device *dev, u8 onoff)
struct peak_usb_device *dev = &pdev->dev;
static int pcan_usb_restart_async(struct peak_usb_device *dev, struct urb *urb,
static int pcan_usb_get_serial(struct peak_usb_device *dev, u32 *serial_number)
static int pcan_usb_get_can_channel_id(struct peak_usb_device *dev, u32 *can_ch_id)
static int pcan_usb_set_can_channel_id(struct peak_usb_device *dev, u32 can_ch_id)
static int pcan_usb_decode_msg(struct peak_usb_device *dev, u8 *ibuf, u32 lbuf)
static int pcan_usb_decode_buf(struct peak_usb_device *dev, struct urb *urb)
static int pcan_usb_encode_msg(struct peak_usb_device *dev, struct sk_buff *skb,
struct peak_usb_device *dev = netdev_priv(netdev);
static int pcan_usb_start(struct peak_usb_device *dev)
static int pcan_usb_init(struct peak_usb_device *dev)
struct peak_usb_device *dev = netdev_priv(netdev);
struct peak_usb_device *dev;
struct peak_usb_device *dev_prev_siblings;
struct peak_usb_device *dev;
struct peak_usb_device *dev = urb->context;
struct peak_usb_device *dev;
struct peak_usb_device *dev = netdev_priv(netdev);
static int peak_usb_start(struct peak_usb_device *dev)
struct peak_usb_device *dev = netdev_priv(netdev);
static void peak_usb_unlink_all_urbs(struct peak_usb_device *dev)
struct peak_usb_device *peak_dev = netdev_priv(netdev);
struct peak_usb_device *dev = netdev_priv(netdev);
void peak_usb_restart_complete(struct peak_usb_device *dev)
static int peak_usb_restart(struct peak_usb_device *dev)
struct peak_usb_device *dev = netdev_priv(netdev);
struct peak_usb_device *dev = netdev_priv(netdev);
struct peak_usb_device *dev = netdev_priv(netdev);
struct peak_usb_device *dev = netdev_priv(netdev);
struct peak_usb_device *dev = netdev_priv(netdev);
struct peak_usb_device *dev;
if (sizeof_candev < sizeof(struct peak_usb_device))
sizeof_candev = sizeof(struct peak_usb_device);
struct peak_usb_device *dev;
struct peak_usb_device *prev_siblings;
struct peak_usb_device *next_siblings;
void peak_usb_restart_complete(struct peak_usb_device *dev);
struct peak_usb_device;
int (*dev_init)(struct peak_usb_device *dev);
void (*dev_exit)(struct peak_usb_device *dev);
void (*dev_free)(struct peak_usb_device *dev);
int (*dev_open)(struct peak_usb_device *dev);
int (*dev_close)(struct peak_usb_device *dev);
int (*dev_set_bittiming)(struct peak_usb_device *dev,
int (*dev_set_data_bittiming)(struct peak_usb_device *dev,
int (*dev_set_bus)(struct peak_usb_device *dev, u8 onoff);
int (*dev_get_can_channel_id)(struct peak_usb_device *dev, u32 *can_ch_id);
int (*dev_set_can_channel_id)(struct peak_usb_device *dev, u32 can_ch_id);
int (*dev_decode_buf)(struct peak_usb_device *dev, struct urb *urb);
int (*dev_encode_msg)(struct peak_usb_device *dev, struct sk_buff *skb,
int (*dev_start)(struct peak_usb_device *dev);
int (*dev_stop)(struct peak_usb_device *dev);
int (*dev_restart_async)(struct peak_usb_device *dev, struct urb *urb,
static void pcan_usb_fd_exit(struct peak_usb_device *dev)
static void pcan_usb_fd_free(struct peak_usb_device *dev)
struct peak_usb_device *dev = netdev_priv(netdev);
struct pcan_usb_fd_if *pcan_usb_fd_dev_if(struct peak_usb_device *dev)
static inline void *pcan_usb_fd_cmd_buffer(struct peak_usb_device *dev)
static int pcan_usb_fd_send_cmd(struct peak_usb_device *dev, void *cmd_tail)
static int pcan_usb_fd_read_fwinfo(struct peak_usb_device *dev,
static int pcan_usb_fd_build_restart_cmd(struct peak_usb_device *dev, u8 *buf)
static int pcan_usb_fd_set_bus(struct peak_usb_device *dev, u8 onoff)
static int pcan_usb_fd_set_filter_std(struct peak_usb_device *dev, int idx,
static int pcan_usb_fd_set_options(struct peak_usb_device *dev,
static int pcan_usb_fd_set_can_led(struct peak_usb_device *dev, u8 led_mode)
static int pcan_usb_fd_set_clock_domain(struct peak_usb_device *dev,
static int pcan_usb_fd_set_bittiming_slow(struct peak_usb_device *dev,
static int pcan_usb_fd_set_bittiming_fast(struct peak_usb_device *dev,
static int pcan_usb_fd_get_can_channel_id(struct peak_usb_device *dev,
static int pcan_usb_fd_set_can_channel_id(struct peak_usb_device *dev, u32 can_ch_id)
static int pcan_usb_fd_restart_async(struct peak_usb_device *dev,
static int pcan_usb_fd_drv_loaded(struct peak_usb_device *dev, bool loaded)
struct peak_usb_device *dev;
struct peak_usb_device *dev;
struct peak_usb_device *dev[PCAN_USB_MAX_CHANNEL];
struct peak_usb_device *dev;
struct peak_usb_device *dev;
static int pcan_usb_fd_decode_buf(struct peak_usb_device *dev, struct urb *urb)
struct peak_usb_device dev;
static int pcan_usb_fd_encode_msg(struct peak_usb_device *dev,
static int pcan_usb_fd_start(struct peak_usb_device *dev)
struct peak_usb_device *dev = netdev_priv(netdev);
static int pcan_usb_fd_stop(struct peak_usb_device *dev)
static int pcan_usb_fd_init(struct peak_usb_device *dev)
struct peak_usb_device *dev = netdev_priv(netdev);
static int pcan_usb_pro_send_cmd(struct peak_usb_device *dev,
static int pcan_usb_pro_wait_rsp(struct peak_usb_device *dev,
int pcan_usb_pro_send_req(struct peak_usb_device *dev, int req_id,
static int pcan_usb_pro_set_ts(struct peak_usb_device *dev, u16 onoff)
static int pcan_usb_pro_set_bitrate(struct peak_usb_device *dev, u32 ccbt)
static int pcan_usb_pro_set_bus(struct peak_usb_device *dev, u8 onoff)
static int pcan_usb_pro_set_silent(struct peak_usb_device *dev, u8 onoff)
static int pcan_usb_pro_set_filter(struct peak_usb_device *dev, u16 filter_mode)
static int pcan_usb_pro_set_led(struct peak_usb_device *dev, u8 mode,
static int pcan_usb_pro_get_can_channel_id(struct peak_usb_device *dev,
static int pcan_usb_pro_set_can_channel_id(struct peak_usb_device *dev,
struct peak_usb_device *dev[PCAN_USBPRO_CHANNEL_COUNT];
static int pcan_usb_pro_set_bittiming(struct peak_usb_device *dev,
static int pcan_usb_pro_restart_async(struct peak_usb_device *dev,
static int pcan_usb_pro_drv_loaded(struct peak_usb_device *dev, int loaded)
struct pcan_usb_pro_interface *pcan_usb_pro_dev_if(struct peak_usb_device *dev)
struct peak_usb_device *dev = usb_if->dev[ctrl_idx];
struct peak_usb_device dev;
struct peak_usb_device *dev = usb_if->dev[ctrl_idx];
static int pcan_usb_pro_decode_buf(struct peak_usb_device *dev, struct urb *urb)
static int pcan_usb_pro_encode_msg(struct peak_usb_device *dev,
static int pcan_usb_pro_start(struct peak_usb_device *dev)
static int pcan_usb_pro_stop(struct peak_usb_device *dev)
static int pcan_usb_pro_init(struct peak_usb_device *dev)
static void pcan_usb_pro_exit(struct peak_usb_device *dev)
static void pcan_usb_pro_free(struct peak_usb_device *dev)
int pcan_usb_pro_send_req(struct peak_usb_device *dev, int req_id,