Lines Matching refs:usbdev
70 struct usb_device *usbdev; member
283 le16_to_cpu(sz->usbdev->descriptor.idVendor), in streamzap_init_rc_dev()
284 le16_to_cpu(sz->usbdev->descriptor.idProduct)); in streamzap_init_rc_dev()
285 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); in streamzap_init_rc_dev()
290 usb_to_input_id(sz->usbdev, &rdev->input_id); in streamzap_init_rc_dev()
321 struct usb_device *usbdev = interface_to_usbdev(intf); in streamzap_probe() local
333 sz->usbdev = usbdev; in streamzap_probe()
361 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe()
362 maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe)); in streamzap_probe()
372 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in); in streamzap_probe()
383 if (usbdev->descriptor.iManufacturer in streamzap_probe()
384 && usb_string(usbdev, usbdev->descriptor.iManufacturer, in streamzap_probe()
388 if (usbdev->descriptor.iProduct in streamzap_probe()
389 && usb_string(usbdev, usbdev->descriptor.iProduct, in streamzap_probe()
413 usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in, in streamzap_probe()
425 usbdev->bus->busnum, usbdev->devnum); in streamzap_probe()
432 usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in); in streamzap_probe()
452 struct usb_device *usbdev = interface_to_usbdev(interface); in streamzap_disconnect() local
459 sz->usbdev = NULL; in streamzap_disconnect()
463 usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in); in streamzap_disconnect()