Lines Matching refs:usbdev
91 struct usb_device *usbdev;
427 le16_to_cpu(sz->usbdev->descriptor.idVendor),
428 le16_to_cpu(sz->usbdev->descriptor.idProduct));
431 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys));
475 sz->urb_in->dev = sz->usbdev;
490 struct usb_device *usbdev = interface_to_usbdev(intf);
502 sz->usbdev = usbdev;
532 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress);
533 maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe));
543 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in);
554 if (usbdev->descriptor.iManufacturer
555 && usb_string(usbdev, usbdev->descriptor.iManufacturer,
559 if (usbdev->descriptor.iProduct
560 && usb_string(usbdev, usbdev->descriptor.iProduct,
590 usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in,
601 usbdev->bus->busnum, usbdev->devnum);
610 usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in);
623 * by clearing dev->usbdev. It is also supposed to terminate any currently
630 struct usb_device *usbdev = interface_to_usbdev(interface);
644 sz->usbdev = NULL;
648 usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in);