Lines Matching defs:usb_dev
101 static int usb_internal_control_msg(struct usb_device *usb_dev,
114 usb_fill_control_urb(urb, usb_dev, pipe, (unsigned char *)cmd, data,
312 * @usb_dev: pointer to the usb device to send the message to
335 int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe,
338 return usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeout);
344 * @usb_dev: pointer to the usb device to send the message to
373 int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe,
379 ep = usb_pipe_endpoint(usb_dev, pipe);
390 usb_fill_int_urb(urb, usb_dev, pipe, data, len,
394 usb_fill_bulk_urb(urb, usb_dev, pipe, data, len,
403 * @usb_dev: pointer to the usb device to send the message to
422 int usb_bulk_msg_killable(struct usb_device *usb_dev, unsigned int pipe,
428 ep = usb_pipe_endpoint(usb_dev, pipe);
439 usb_fill_int_urb(urb, usb_dev, pipe, data, len,
443 usb_fill_bulk_urb(urb, usb_dev, pipe, data, len,
1881 const struct usb_device *usb_dev;
1886 usb_dev = interface_to_usbdev(intf);
1898 le16_to_cpu(usb_dev->descriptor.idVendor),
1899 le16_to_cpu(usb_dev->descriptor.idProduct),
1900 le16_to_cpu(usb_dev->descriptor.bcdDevice),
1901 usb_dev->descriptor.bDeviceClass,
1902 usb_dev->descriptor.bDeviceSubClass,
1903 usb_dev->descriptor.bDeviceProtocol,