Lines Matching refs:udev
322 struct usb_device *udev; /* usb device */ member
724 xpad->odata = usb_alloc_coherent(xpad->udev, XPAD_PKT_LEN, in xpad_init_output()
743 usb_fill_int_urb(xpad->irq_out, xpad->udev, in xpad_init_output()
744 usb_sndintpipe(xpad->udev, ep_irq_out->bEndpointAddress), in xpad_init_output()
752 fail2: usb_free_coherent(xpad->udev, XPAD_PKT_LEN, xpad->odata, xpad->odata_dma); in xpad_init_output()
766 usb_free_coherent(xpad->udev, XPAD_PKT_LEN, in xpad_deinit_output()
1000 error = led_classdev_register(&xpad->udev->dev, led_cdev); in xpad_led_probe()
1047 xpad->irq_in->dev = xpad->udev; in xpad_open()
1116 usb_to_input_id(xpad->udev, &input_dev->id); in xpad_init_input()
1197 struct usb_device *udev = interface_to_usbdev(intf); in xpad_probe() local
1204 if ((le16_to_cpu(udev->descriptor.idVendor) == xpad_device[i].idVendor) && in xpad_probe()
1205 (le16_to_cpu(udev->descriptor.idProduct) == xpad_device[i].idProduct)) in xpad_probe()
1223 usb_make_path(udev, xpad->phys, sizeof(xpad->phys)); in xpad_probe()
1226 xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN, in xpad_probe()
1239 xpad->udev = udev; in xpad_probe()
1271 usb_fill_int_urb(xpad->irq_in, udev, in xpad_probe()
1272 usb_rcvintpipe(udev, ep_irq_in->bEndpointAddress), in xpad_probe()
1292 xpad->irq_in->dev = xpad->udev; in xpad_probe()
1319 usb_free_coherent(udev, XPAD_PKT_LEN, xpad->idata, xpad->idata_dma); in xpad_probe()
1338 usb_free_coherent(xpad->udev, XPAD_PKT_LEN, in xpad_disconnect()