Lines Matching defs:usbdev
70 struct usb_device *usbdev;
285 le16_to_cpu(sz->usbdev->descriptor.idVendor),
286 le16_to_cpu(sz->usbdev->descriptor.idProduct));
287 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys));
292 usb_to_input_id(sz->usbdev, &rdev->input_id);
322 struct usb_device *usbdev = interface_to_usbdev(intf);
334 sz->usbdev = usbdev;
362 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress);
363 maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe));
373 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in);
384 if (usbdev->descriptor.iManufacturer
385 && usb_string(usbdev, usbdev->descriptor.iManufacturer,
389 if (usbdev->descriptor.iProduct
390 && usb_string(usbdev, usbdev->descriptor.iProduct,
414 usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in,
426 usbdev->bus->busnum, usbdev->devnum);
433 usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in);
446 * by clearing dev->usbdev. It is also supposed to terminate any currently
453 struct usb_device *usbdev = interface_to_usbdev(interface);
460 sz->usbdev = NULL;
464 usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in);