Searched refs:peak_usb_device (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_core.h | 43 struct peak_usb_device; 57 int (*dev_init)(struct peak_usb_device *dev); 58 void (*dev_exit)(struct peak_usb_device *dev); 59 void (*dev_free)(struct peak_usb_device *dev); 60 int (*dev_open)(struct peak_usb_device *dev); 61 int (*dev_close)(struct peak_usb_device *dev); 62 int (*dev_set_bittiming)(struct peak_usb_device *dev, 64 int (*dev_set_data_bittiming)(struct peak_usb_device *dev, 66 int (*dev_set_bus)(struct peak_usb_device *dev, u8 onoff); 67 int (*dev_get_device_id)(struct peak_usb_device *dev, u32 *device_id); [all …]
|
D | pcan_usb_fd.c | 61 struct peak_usb_device *dev[PCAN_USB_MAX_CHANNEL]; 70 struct peak_usb_device dev; 166 struct pcan_usb_fd_if *pcan_usb_fd_dev_if(struct peak_usb_device *dev) in pcan_usb_fd_dev_if() 174 static inline void *pcan_usb_fd_cmd_buffer(struct peak_usb_device *dev) in pcan_usb_fd_cmd_buffer() 182 static int pcan_usb_fd_send_cmd(struct peak_usb_device *dev, void *cmd_tail) in pcan_usb_fd_send_cmd() 233 static int pcan_usb_fd_build_restart_cmd(struct peak_usb_device *dev, u8 *buf) in pcan_usb_fd_build_restart_cmd() 287 static int pcan_usb_fd_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_fd_set_bus() 318 static int pcan_usb_fd_set_filter_std(struct peak_usb_device *dev, int idx, in pcan_usb_fd_set_filter_std() 350 static int pcan_usb_fd_set_options(struct peak_usb_device *dev, in pcan_usb_fd_set_options() 367 static int pcan_usb_fd_set_can_led(struct peak_usb_device *dev, u8 led_mode) in pcan_usb_fd_set_can_led() [all …]
|
D | pcan_usb_pro.c | 54 struct peak_usb_device *dev[PCAN_USBPRO_CHANNEL_COUNT]; 62 struct peak_usb_device dev; 210 static int pcan_usb_pro_send_cmd(struct peak_usb_device *dev, in pcan_usb_pro_send_cmd() 233 static int pcan_usb_pro_wait_rsp(struct peak_usb_device *dev, in pcan_usb_pro_wait_rsp() 317 int pcan_usb_pro_send_req(struct peak_usb_device *dev, int req_id, in pcan_usb_pro_send_req() 354 static int pcan_usb_pro_set_ts(struct peak_usb_device *dev, u16 onoff) in pcan_usb_pro_set_ts() 364 static int pcan_usb_pro_set_bitrate(struct peak_usb_device *dev, u32 ccbt) in pcan_usb_pro_set_bitrate() 379 static int pcan_usb_pro_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_pro_set_bus() 397 static int pcan_usb_pro_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_pro_set_silent() 407 static int pcan_usb_pro_set_filter(struct peak_usb_device *dev, u16 filter_mode) in pcan_usb_pro_set_filter() [all …]
|
D | pcan_usb.c | 98 struct peak_usb_device dev; 119 static int pcan_usb_send_cmd(struct peak_usb_device *dev, u8 f, u8 n, u8 *p) in pcan_usb_send_cmd() 149 static int pcan_usb_wait_rsp(struct peak_usb_device *dev, u8 f, u8 n, u8 *p) in pcan_usb_wait_rsp() 177 static int pcan_usb_set_sja1000(struct peak_usb_device *dev, u8 mode) in pcan_usb_set_sja1000() 186 static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_bus() 195 static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_silent() 204 static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_ext_vcc() 216 static int pcan_usb_set_bittiming(struct peak_usb_device *dev, in pcan_usb_set_bittiming() 240 static int pcan_usb_write_mode(struct peak_usb_device *dev, u8 onoff) in pcan_usb_write_mode() 265 peak_usb_restart_complete((struct peak_usb_device *)arg); in pcan_usb_restart() [all …]
|
D | pcan_usb_core.c | 190 struct peak_usb_device *dev = urb->context; in peak_usb_read_bulk_callback() 256 struct peak_usb_device *dev; in peak_usb_write_bulk_callback() 307 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_start_xmit() 390 static int peak_usb_start(struct peak_usb_device *dev) in peak_usb_start() 532 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_open() 556 static void peak_usb_unlink_all_urbs(struct peak_usb_device *dev) in peak_usb_unlink_all_urbs() 590 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_stop() 618 void peak_usb_restart_complete(struct peak_usb_device *dev) in peak_usb_restart_complete() 637 static int peak_usb_restart(struct peak_usb_device *dev) in peak_usb_restart() 683 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_set_mode() [all …]
|
D | pcan_usb_pro.h | 188 int pcan_usb_pro_send_req(struct peak_usb_device *dev, int req_id,
|
D | pcan_ucan.h | 195 static inline __le16 pucan_cmd_opcode_channel(struct peak_usb_device *dev, in pucan_cmd_opcode_channel()
|