Lines Matching refs:udev

322 	struct usb_device *udev;	/* usb device */  member
734 xpad->odata = usb_alloc_coherent(xpad->udev, XPAD_PKT_LEN, in xpad_init_output()
753 usb_fill_int_urb(xpad->irq_out, xpad->udev, in xpad_init_output()
754 usb_sndintpipe(xpad->udev, ep_irq_out->bEndpointAddress), in xpad_init_output()
762 fail2: usb_free_coherent(xpad->udev, XPAD_PKT_LEN, xpad->odata, xpad->odata_dma); in xpad_init_output()
776 usb_free_coherent(xpad->udev, XPAD_PKT_LEN, in xpad_deinit_output()
930 error = led_classdev_register(&xpad->udev->dev, led_cdev); in xpad_led_probe()
968 xpad->irq_in->dev = xpad->udev; in xpad_open()
1021 struct usb_device *udev = interface_to_usbdev(intf); in xpad_probe() local
1029 if ((le16_to_cpu(udev->descriptor.idVendor) == xpad_device[i].idVendor) && in xpad_probe()
1030 (le16_to_cpu(udev->descriptor.idProduct) == xpad_device[i].idProduct)) in xpad_probe()
1051 xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN, in xpad_probe()
1064 xpad->udev = udev; in xpad_probe()
1087 usb_make_path(udev, xpad->phys, sizeof(xpad->phys)); in xpad_probe()
1092 usb_to_input_id(udev, &input_dev->id); in xpad_probe()
1155 usb_fill_int_urb(xpad->irq_in, udev, in xpad_probe()
1156 usb_rcvintpipe(udev, ep_irq_in->bEndpointAddress), in xpad_probe()
1202 usb_fill_bulk_urb(xpad->bulk_out, udev, in xpad_probe()
1203 usb_sndbulkpipe(udev, in xpad_probe()
1208 usb_fill_int_urb(xpad->bulk_out, udev, in xpad_probe()
1209 usb_sndintpipe(udev, in xpad_probe()
1222 xpad->irq_in->dev = xpad->udev; in xpad_probe()
1239 fail2: usb_free_coherent(udev, XPAD_PKT_LEN, xpad->idata, xpad->idata_dma); in xpad_probe()
1261 usb_free_coherent(xpad->udev, XPAD_PKT_LEN, in xpad_disconnect()