• Home
  • Raw
  • Download

Lines Matching refs:udev

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