Searched refs:peak_usb_device (Results 1 – 6 of 6) sorted by relevance
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_core.h | 37 struct peak_usb_device; 53 int (*dev_init)(struct peak_usb_device *dev); 54 void (*dev_exit)(struct peak_usb_device *dev); 55 void (*dev_free)(struct peak_usb_device *dev); 56 int (*dev_open)(struct peak_usb_device *dev); 57 int (*dev_close)(struct peak_usb_device *dev); 58 int (*dev_set_bittiming)(struct peak_usb_device *dev, 60 int (*dev_set_data_bittiming)(struct peak_usb_device *dev, 62 int (*dev_set_bus)(struct peak_usb_device *dev, u8 onoff); 63 int (*dev_get_can_channel_id)(struct peak_usb_device *dev, u32 *can_ch_id); [all …]
|
D | pcan_usb_pro.c | 46 struct peak_usb_device *dev[PCAN_USBPRO_CHANNEL_COUNT]; 54 struct peak_usb_device dev; 206 static int pcan_usb_pro_send_cmd(struct peak_usb_device *dev, in pcan_usb_pro_send_cmd() 229 static int pcan_usb_pro_wait_rsp(struct peak_usb_device *dev, in pcan_usb_pro_wait_rsp() 313 int pcan_usb_pro_send_req(struct peak_usb_device *dev, int req_id, in pcan_usb_pro_send_req() 350 static int pcan_usb_pro_set_ts(struct peak_usb_device *dev, u16 onoff) in pcan_usb_pro_set_ts() 360 static int pcan_usb_pro_set_bitrate(struct peak_usb_device *dev, u32 ccbt) in pcan_usb_pro_set_bitrate() 375 static int pcan_usb_pro_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_pro_set_bus() 393 static int pcan_usb_pro_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_pro_set_silent() 403 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 | 133 struct peak_usb_device dev; 155 static int pcan_usb_send_cmd(struct peak_usb_device *dev, u8 f, u8 n, u8 *p) in pcan_usb_send_cmd() 185 static int pcan_usb_wait_rsp(struct peak_usb_device *dev, u8 f, u8 n, u8 *p) in pcan_usb_wait_rsp() 213 static int pcan_usb_set_sja1000(struct peak_usb_device *dev, u8 mode) in pcan_usb_set_sja1000() 223 static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_bus() 233 static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_silent() 244 static int pcan_usb_set_err_frame(struct peak_usb_device *dev, u8 err_mask) in pcan_usb_set_err_frame() 253 static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_ext_vcc() 262 static int pcan_usb_set_led(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_led() 274 static int pcan_usb_set_bittiming(struct peak_usb_device *dev, in pcan_usb_set_bittiming() [all …]
|
D | pcan_usb_fd.c | 62 struct peak_usb_device *dev[PCAN_USB_MAX_CHANNEL]; 71 struct peak_usb_device dev; 176 struct pcan_usb_fd_if *pcan_usb_fd_dev_if(struct peak_usb_device *dev) in pcan_usb_fd_dev_if() 184 static inline void *pcan_usb_fd_cmd_buffer(struct peak_usb_device *dev) in pcan_usb_fd_cmd_buffer() 192 static int pcan_usb_fd_send_cmd(struct peak_usb_device *dev, void *cmd_tail) in pcan_usb_fd_send_cmd() 246 static int pcan_usb_fd_read_fwinfo(struct peak_usb_device *dev, in pcan_usb_fd_read_fwinfo() 256 static int pcan_usb_fd_build_restart_cmd(struct peak_usb_device *dev, u8 *buf) in pcan_usb_fd_build_restart_cmd() 311 static int pcan_usb_fd_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_fd_set_bus() 342 static int pcan_usb_fd_set_filter_std(struct peak_usb_device *dev, int idx, in pcan_usb_fd_set_filter_std() 374 static int pcan_usb_fd_set_options(struct peak_usb_device *dev, in pcan_usb_fd_set_options() [all …]
|
D | pcan_usb_core.c | 61 struct peak_usb_device *peak_dev = netdev_priv(netdev); in can_channel_id_show() 235 struct peak_usb_device *dev = urb->context; in peak_usb_read_bulk_callback() 301 struct peak_usb_device *dev; in peak_usb_write_bulk_callback() 355 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_start_xmit() 435 static int peak_usb_start(struct peak_usb_device *dev) in peak_usb_start() 575 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_open() 599 static void peak_usb_unlink_all_urbs(struct peak_usb_device *dev) in peak_usb_unlink_all_urbs() 633 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_stop() 662 void peak_usb_restart_complete(struct peak_usb_device *dev) in peak_usb_restart_complete() 681 static int peak_usb_restart(struct peak_usb_device *dev) in peak_usb_restart() [all …]
|
D | pcan_usb_pro.h | 187 int pcan_usb_pro_send_req(struct peak_usb_device *dev, int req_id,
|