Lines Matching refs:udev
93 struct usb_device *udev; /* usb device */ member
480 error = usb_control_msg(dev->udev, in cm109_toggle_buzzer_sync()
481 usb_sndctrlpipe(dev->udev, 0), in cm109_toggle_buzzer_sync()
645 usb_free_coherent(dev->udev, USB_PKT_LEN, in cm109_usb_cleanup()
648 usb_free_coherent(dev->udev, USB_PKT_LEN, in cm109_usb_cleanup()
668 struct usb_device *udev = interface_to_usbdev(intf); in cm109_usb_probe() local
690 dev->udev = udev; in cm109_usb_probe()
698 dev->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe()
703 dev->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe()
722 pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); in cm109_usb_probe()
723 ret = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); in cm109_usb_probe()
729 usb_fill_int_urb(dev->urb_irq, udev, pipe, dev->irq_data, in cm109_usb_probe()
734 dev->urb_irq->dev = udev; in cm109_usb_probe()
744 usb_fill_control_urb(dev->urb_ctl, udev, usb_sndctrlpipe(udev, 0), in cm109_usb_probe()
749 dev->urb_ctl->dev = udev; in cm109_usb_probe()
752 usb_make_path(udev, dev->phys, sizeof(dev->phys)); in cm109_usb_probe()
758 usb_to_input_id(udev, &input_dev->id); in cm109_usb_probe()