Lines Matching refs:usbdev
70 struct usb_device *usbdev; member
288 le16_to_cpu(sz->usbdev->descriptor.idVendor), in streamzap_init_rc_dev()
289 le16_to_cpu(sz->usbdev->descriptor.idProduct)); in streamzap_init_rc_dev()
290 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); in streamzap_init_rc_dev()
295 usb_to_input_id(sz->usbdev, &rdev->input_id); in streamzap_init_rc_dev()
325 struct usb_device *usbdev = interface_to_usbdev(intf); in streamzap_probe() local
337 sz->usbdev = usbdev; in streamzap_probe()
365 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe()
366 maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe)); in streamzap_probe()
376 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in); in streamzap_probe()
387 if (usbdev->descriptor.iManufacturer in streamzap_probe()
388 && usb_string(usbdev, usbdev->descriptor.iManufacturer, in streamzap_probe()
392 if (usbdev->descriptor.iProduct in streamzap_probe()
393 && usb_string(usbdev, usbdev->descriptor.iProduct, in streamzap_probe()
418 usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in, in streamzap_probe()
430 usbdev->bus->busnum, usbdev->devnum); in streamzap_probe()
437 usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in); in streamzap_probe()
457 struct usb_device *usbdev = interface_to_usbdev(interface); in streamzap_disconnect() local
464 sz->usbdev = NULL; in streamzap_disconnect()
468 usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in); in streamzap_disconnect()