Home
last modified time | relevance | path

Searched refs:peak_usb_device (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_core.h37 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);
68 int (*dev_stop)(struct peak_usb_device *dev);
100 struct peak_usb_device *dev;
110 struct peak_usb_device { struct
132 struct peak_usb_device *prev_siblings; argument
[all …]
A Dpcan_usb_pro.c46 struct peak_usb_device *dev[PCAN_USBPRO_CHANNEL_COUNT];
54 struct peak_usb_device dev;
204 static int pcan_usb_pro_send_cmd(struct peak_usb_device *dev, in pcan_usb_pro_send_cmd()
523 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_canmsg()
560 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_error()
796 static int pcan_usb_pro_start(struct peak_usb_device *dev) in pcan_usb_pro_start()
830 static int pcan_usb_pro_stop(struct peak_usb_device *dev) in pcan_usb_pro_stop()
847 static int pcan_usb_pro_init(struct peak_usb_device *dev) in pcan_usb_pro_init()
929 static void pcan_usb_pro_exit(struct peak_usb_device *dev) in pcan_usb_pro_exit()
957 static void pcan_usb_pro_free(struct peak_usb_device *dev) in pcan_usb_pro_free()
[all …]
A Dpcan_usb.c131 struct peak_usb_device dev;
211 static int pcan_usb_set_sja1000(struct peak_usb_device *dev, u8 mode) in pcan_usb_set_sja1000()
221 static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_bus()
231 static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_silent()
260 static int pcan_usb_set_led(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_led()
272 static int pcan_usb_set_bittiming(struct peak_usb_device *dev, in pcan_usb_set_bittiming()
321 struct peak_usb_device *dev = &pdev->dev; in pcan_usb_restart()
821 struct peak_usb_device *dev = netdev_priv(netdev); in pcan_usb_get_berr_counter()
833 static int pcan_usb_start(struct peak_usb_device *dev) in pcan_usb_start()
864 static int pcan_usb_init(struct peak_usb_device *dev) in pcan_usb_init()
[all …]
A Dpcan_usb_fd.c51 struct peak_usb_device *dev[PCAN_USB_MAX_CHANNEL];
60 struct peak_usb_device dev;
469 struct peak_usb_device *dev; in pcan_usb_fd_decode_canmsg()
532 struct peak_usb_device *dev; in pcan_usb_fd_decode_status()
595 struct peak_usb_device *dev; in pcan_usb_fd_decode_error()
615 struct peak_usb_device *dev; in pcan_usb_fd_decode_overrun()
799 static int pcan_usb_fd_start(struct peak_usb_device *dev) in pcan_usb_fd_start()
835 struct peak_usb_device *dev = netdev_priv(netdev); in pcan_usb_fd_get_berr_counter()
846 static int pcan_usb_fd_stop(struct peak_usb_device *dev) in pcan_usb_fd_stop()
862 static int pcan_usb_fd_init(struct peak_usb_device *dev) in pcan_usb_fd_init()
[all …]
A Dpcan_usb_core.c226 struct peak_usb_device *dev = urb->context; in peak_usb_read_bulk_callback()
292 struct peak_usb_device *dev; in peak_usb_write_bulk_callback()
344 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_start_xmit()
568 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_open()
626 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_stop()
718 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_set_mode()
796 struct peak_usb_device *dev; in peak_usb_create_dev()
802 sizeof_candev = sizeof(struct peak_usb_device); in peak_usb_create_dev()
916 struct peak_usb_device *dev; in peak_usb_disconnect()
917 struct peak_usb_device *dev_prev_siblings; in peak_usb_disconnect()
[all …]
A Dpcan_usb_pro.h186 int pcan_usb_pro_send_req(struct peak_usb_device *dev, int req_id,

Completed in 16 milliseconds