Lines Matching refs:udev

690 	struct usb_device *udev;	/* usb device */
1323 xpad->odata = usb_alloc_coherent(xpad->udev, XPAD_PKT_LEN,
1336 usb_fill_int_urb(xpad->irq_out, xpad->udev,
1337 usb_sndintpipe(xpad->udev, ep_irq_out->bEndpointAddress),
1346 usb_free_coherent(xpad->udev, XPAD_PKT_LEN, xpad->odata, xpad->odata_dma);
1366 usb_free_coherent(xpad->udev, XPAD_PKT_LEN,
1409 if (usb_ifnum_to_if(xpad->udev, GIP_WIRED_INTF_AUDIO)) {
1416 retval = usb_set_interface(xpad->udev,
1689 error = led_classdev_register(&xpad->udev->dev, led_cdev);
1741 error = usb_control_msg_recv(xpad->udev, 0,
1892 usb_to_input_id(xpad->udev, &input_dev->id);
1993 struct usb_device *udev = interface_to_usbdev(intf);
2002 if ((le16_to_cpu(udev->descriptor.idVendor) == xpad_device[i].idVendor) &&
2003 (le16_to_cpu(udev->descriptor.idProduct) == xpad_device[i].idProduct))
2011 usb_make_path(udev, xpad->phys, sizeof(xpad->phys));
2014 xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN,
2027 xpad->udev = udev;
2089 usb_fill_int_urb(xpad->irq_in, udev,
2090 usb_rcvintpipe(udev, ep_irq_in->bEndpointAddress),
2099 if (le16_to_cpu(udev->descriptor.idVendor) == 0x045e) { /* Microsoft controllers */
2100 if (le16_to_cpu(udev->descriptor.idProduct) == 0x02e3) {
2105 } else if (le16_to_cpu(udev->descriptor.idProduct) == 0x0b00) {
2110 if (le16_to_cpu(udev->descriptor.bcdDevice) < 0x0500) {
2115 } else if (le16_to_cpu(udev->descriptor.bcdDevice) <
2148 udev->quirks |= USB_QUIRK_RESET_RESUME;
2161 usb_free_coherent(udev, XPAD_PKT_LEN, xpad->idata, xpad->idata_dma);
2185 usb_free_coherent(xpad->udev, XPAD_PKT_LEN,