Lines Matching refs:usbdev
82 struct usb_device *usbdev; member
303 le16_to_cpu(sz->usbdev->descriptor.idVendor), in streamzap_init_rc_dev()
304 le16_to_cpu(sz->usbdev->descriptor.idProduct)); in streamzap_init_rc_dev()
305 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); in streamzap_init_rc_dev()
310 usb_to_input_id(sz->usbdev, &rdev->input_id); in streamzap_init_rc_dev()
341 struct usb_device *usbdev = interface_to_usbdev(intf); in streamzap_probe() local
353 sz->usbdev = usbdev; in streamzap_probe()
381 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe()
382 maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe)); in streamzap_probe()
392 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in); in streamzap_probe()
403 if (usbdev->descriptor.iManufacturer in streamzap_probe()
404 && usb_string(usbdev, usbdev->descriptor.iManufacturer, in streamzap_probe()
408 if (usbdev->descriptor.iProduct in streamzap_probe()
409 && usb_string(usbdev, usbdev->descriptor.iProduct, in streamzap_probe()
434 usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in, in streamzap_probe()
446 usbdev->bus->busnum, usbdev->devnum); in streamzap_probe()
453 usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in); in streamzap_probe()
473 struct usb_device *usbdev = interface_to_usbdev(interface); in streamzap_disconnect() local
480 sz->usbdev = NULL; in streamzap_disconnect()
484 usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in); in streamzap_disconnect()