Home
last modified time | relevance | path

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

/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);
69 int (*dev_stop)(struct peak_usb_device *dev);
101 struct peak_usb_device *dev;
110 struct peak_usb_device { struct
133 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;
206 static int pcan_usb_pro_send_cmd(struct peak_usb_device *dev, in pcan_usb_pro_send_cmd()
537 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_canmsg()
576 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_error()
810 static int pcan_usb_pro_start(struct peak_usb_device *dev) in pcan_usb_pro_start()
844 static int pcan_usb_pro_stop(struct peak_usb_device *dev) in pcan_usb_pro_stop()
861 static int pcan_usb_pro_init(struct peak_usb_device *dev) in pcan_usb_pro_init()
943 static void pcan_usb_pro_exit(struct peak_usb_device *dev) in pcan_usb_pro_exit()
971 static void pcan_usb_pro_free(struct peak_usb_device *dev) in pcan_usb_pro_free()
[all …]
A Dpcan_usb.c133 struct peak_usb_device dev;
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()
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()
323 struct peak_usb_device *dev = &pdev->dev; in pcan_usb_restart()
842 struct peak_usb_device *dev = netdev_priv(netdev); in pcan_usb_get_berr_counter()
854 static int pcan_usb_start(struct peak_usb_device *dev) in pcan_usb_start()
885 static int pcan_usb_init(struct peak_usb_device *dev) in pcan_usb_init()
[all …]
A Dpcan_usb_fd.c62 struct peak_usb_device *dev[PCAN_USB_MAX_CHANNEL];
71 struct peak_usb_device dev;
532 struct peak_usb_device *dev; in pcan_usb_fd_decode_canmsg()
595 struct peak_usb_device *dev; in pcan_usb_fd_decode_status()
655 struct peak_usb_device *dev; in pcan_usb_fd_decode_error()
675 struct peak_usb_device *dev; in pcan_usb_fd_decode_overrun()
859 static int pcan_usb_fd_start(struct peak_usb_device *dev) in pcan_usb_fd_start()
895 struct peak_usb_device *dev = netdev_priv(netdev); in pcan_usb_fd_get_berr_counter()
915 static int pcan_usb_fd_stop(struct peak_usb_device *dev) in pcan_usb_fd_stop()
931 static int pcan_usb_fd_init(struct peak_usb_device *dev) in pcan_usb_fd_init()
[all …]
A Dpcan_usb_core.c235 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()
575 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_open()
633 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_ndo_stop()
725 struct peak_usb_device *dev = netdev_priv(netdev); in peak_usb_set_mode()
921 struct peak_usb_device *dev; in peak_usb_create_dev()
927 sizeof_candev = sizeof(struct peak_usb_device); in peak_usb_create_dev()
1043 struct peak_usb_device *dev; in peak_usb_disconnect()
1044 struct peak_usb_device *dev_prev_siblings; in peak_usb_disconnect()
[all …]
A Dpcan_usb_pro.h187 int pcan_usb_pro_send_req(struct peak_usb_device *dev, int req_id,

Completed in 23 milliseconds