Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
peak_usb_adapter Struct Reference

#include <pcan_usb_core.h>

Data Fields

charname
 
u32 device_id
 
struct can_clock clock
 
struct can_bittiming_const bittiming_const
 
unsigned int ctrl_count
 
int(* intf_probe )(struct usb_interface *intf)
 
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, struct can_bittiming *bt)
 
int(* dev_set_bus )(struct peak_usb_device *dev, u8 onoff)
 
int(* dev_get_device_id )(struct peak_usb_device *dev, u32 *device_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, u8 *obuf, size_t *size)
 
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, u8 *buf)
 
u8 ep_msg_in
 
u8 ep_msg_out [PCAN_USB_MAX_CHANNEL]
 
u8 ts_used_bits
 
u32 ts_period
 
u8 us_per_ts_shift
 
u32 us_per_ts_scale
 
int rx_buffer_size
 
int tx_buffer_size
 
int sizeof_dev_private
 

Detailed Description

Definition at line 44 of file pcan_usb_core.h.

Field Documentation

struct can_bittiming_const bittiming_const

Definition at line 48 of file pcan_usb_core.h.

Definition at line 47 of file pcan_usb_core.h.

unsigned int ctrl_count

Definition at line 49 of file pcan_usb_core.h.

int(* dev_close)(struct peak_usb_device *dev)

Definition at line 57 of file pcan_usb_core.h.

int(* dev_decode_buf)(struct peak_usb_device *dev, struct urb *urb)

Definition at line 62 of file pcan_usb_core.h.

int(* dev_encode_msg)(struct peak_usb_device *dev, struct sk_buff *skb, u8 *obuf, size_t *size)

Definition at line 63 of file pcan_usb_core.h.

void(* dev_exit)(struct peak_usb_device *dev)

Definition at line 54 of file pcan_usb_core.h.

void(* dev_free)(struct peak_usb_device *dev)

Definition at line 55 of file pcan_usb_core.h.

int(* dev_get_device_id)(struct peak_usb_device *dev, u32 *device_id)

Definition at line 61 of file pcan_usb_core.h.

int(* dev_init)(struct peak_usb_device *dev)

Definition at line 53 of file pcan_usb_core.h.

int(* dev_open)(struct peak_usb_device *dev)

Definition at line 56 of file pcan_usb_core.h.

int(* dev_restart_async)(struct peak_usb_device *dev, struct urb *urb, u8 *buf)

Definition at line 67 of file pcan_usb_core.h.

int(* dev_set_bittiming)(struct peak_usb_device *dev, struct can_bittiming *bt)

Definition at line 58 of file pcan_usb_core.h.

int(* dev_set_bus)(struct peak_usb_device *dev, u8 onoff)

Definition at line 60 of file pcan_usb_core.h.

int(* dev_start)(struct peak_usb_device *dev)

Definition at line 65 of file pcan_usb_core.h.

int(* dev_stop)(struct peak_usb_device *dev)

Definition at line 66 of file pcan_usb_core.h.

u32 device_id

Definition at line 46 of file pcan_usb_core.h.

u8 ep_msg_in

Definition at line 69 of file pcan_usb_core.h.

u8 ep_msg_out[PCAN_USB_MAX_CHANNEL]

Definition at line 70 of file pcan_usb_core.h.

int(* intf_probe)(struct usb_interface *intf)

Definition at line 51 of file pcan_usb_core.h.

char* name

Definition at line 45 of file pcan_usb_core.h.

int rx_buffer_size

Definition at line 76 of file pcan_usb_core.h.

int sizeof_dev_private

Definition at line 78 of file pcan_usb_core.h.

u32 ts_period

Definition at line 72 of file pcan_usb_core.h.

u8 ts_used_bits

Definition at line 71 of file pcan_usb_core.h.

int tx_buffer_size

Definition at line 77 of file pcan_usb_core.h.

u32 us_per_ts_scale

Definition at line 74 of file pcan_usb_core.h.

u8 us_per_ts_shift

Definition at line 73 of file pcan_usb_core.h.


The documentation for this struct was generated from the following file: