Lines Matching refs:usbdev
82 struct usb_device *usbdev; member
301 le16_to_cpu(sz->usbdev->descriptor.idVendor), in streamzap_init_rc_dev()
302 le16_to_cpu(sz->usbdev->descriptor.idProduct)); in streamzap_init_rc_dev()
303 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); in streamzap_init_rc_dev()
308 usb_to_input_id(sz->usbdev, &rdev->input_id); in streamzap_init_rc_dev()
339 struct usb_device *usbdev = interface_to_usbdev(intf); in streamzap_probe() local
351 sz->usbdev = usbdev; in streamzap_probe()
379 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe()
380 maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe)); in streamzap_probe()
390 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in); in streamzap_probe()
401 if (usbdev->descriptor.iManufacturer in streamzap_probe()
402 && usb_string(usbdev, usbdev->descriptor.iManufacturer, in streamzap_probe()
406 if (usbdev->descriptor.iProduct in streamzap_probe()
407 && usb_string(usbdev, usbdev->descriptor.iProduct, in streamzap_probe()
432 usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in, in streamzap_probe()
444 usbdev->bus->busnum, usbdev->devnum); in streamzap_probe()
451 usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in); in streamzap_probe()
471 struct usb_device *usbdev = interface_to_usbdev(interface); in streamzap_disconnect() local
478 sz->usbdev = NULL; in streamzap_disconnect()
482 usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in); in streamzap_disconnect()