Lines Matching refs:udev
247 struct usb_device *udev; /* usb device */ member
430 static const struct bcm5974_config *bcm5974_get_config(struct usb_device *udev) in bcm5974_get_config() argument
432 u16 id = le16_to_cpu(udev->descriptor.idProduct); in bcm5974_get_config()
616 size = usb_control_msg(dev->udev, usb_rcvctrlpipe(dev->udev, 0), in bcm5974_wellspring_mode()
634 size = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, 0), in bcm5974_wellspring_mode()
852 struct usb_device *udev = interface_to_usbdev(iface); in bcm5974_probe() local
859 cfg = bcm5974_get_config(udev); in bcm5974_probe()
869 dev->udev = udev; in bcm5974_probe()
887 dev->bt_data = usb_alloc_coherent(dev->udev, in bcm5974_probe()
894 dev->tp_data = usb_alloc_coherent(dev->udev, in bcm5974_probe()
901 usb_fill_int_urb(dev->bt_urb, udev, in bcm5974_probe()
902 usb_rcvintpipe(udev, cfg->bt_ep), in bcm5974_probe()
906 usb_fill_int_urb(dev->tp_urb, udev, in bcm5974_probe()
907 usb_rcvintpipe(udev, cfg->tp_ep), in bcm5974_probe()
912 usb_make_path(udev, dev->phys, sizeof(dev->phys)); in bcm5974_probe()
917 usb_to_input_id(dev->udev, &input_dev->id); in bcm5974_probe()
939 usb_free_coherent(dev->udev, dev->cfg.tp_datalen, in bcm5974_probe()
943 usb_free_coherent(dev->udev, dev->cfg.bt_datalen, in bcm5974_probe()
963 usb_free_coherent(dev->udev, dev->cfg.tp_datalen, in bcm5974_disconnect()
966 usb_free_coherent(dev->udev, dev->cfg.bt_datalen, in bcm5974_disconnect()