Lines Matching defs:udev
40 struct usb_device *udev; /* usb device */
115 "retval %d\n", onetouch->udev->bus->bus_name,
116 onetouch->udev->devpath, retval);
124 onetouch->irq->dev = onetouch->udev;
165 struct usb_device *udev = ss->pusb_dev;
182 pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress);
183 maxp = usb_maxpacket(udev, pipe);
191 onetouch->data = usb_alloc_coherent(udev, ONETOUCH_PKT_LEN,
200 onetouch->udev = udev;
203 if (udev->manufacturer)
204 strscpy(onetouch->name, udev->manufacturer,
206 if (udev->product) {
207 if (udev->manufacturer)
209 strlcat(onetouch->name, udev->product, sizeof(onetouch->name));
215 le16_to_cpu(udev->descriptor.idVendor),
216 le16_to_cpu(udev->descriptor.idProduct));
218 usb_make_path(udev, onetouch->phys, sizeof(onetouch->phys));
223 usb_to_input_id(udev, &input_dev->id);
224 input_dev->dev.parent = &udev->dev;
235 usb_fill_int_urb(onetouch->irq, udev, pipe, onetouch->data, maxp,
253 fail2: usb_free_coherent(udev, ONETOUCH_PKT_LEN,
268 usb_free_coherent(onetouch->udev, ONETOUCH_PKT_LEN,