Lines Matching refs:udev
290 struct usb_device *udev; /* usb device */ member
504 static const struct bcm5974_config *bcm5974_get_config(struct usb_device *udev) in bcm5974_get_config() argument
506 u16 id = le16_to_cpu(udev->descriptor.idProduct); in bcm5974_get_config()
679 size = usb_control_msg(dev->udev, usb_rcvctrlpipe(dev->udev, 0), in bcm5974_wellspring_mode()
694 size = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, 0), in bcm5974_wellspring_mode()
911 struct usb_device *udev = interface_to_usbdev(iface); in bcm5974_probe() local
918 cfg = bcm5974_get_config(udev); in bcm5974_probe()
928 dev->udev = udev; in bcm5974_probe()
946 dev->bt_data = usb_alloc_coherent(dev->udev, in bcm5974_probe()
953 dev->tp_data = usb_alloc_coherent(dev->udev, in bcm5974_probe()
960 usb_fill_int_urb(dev->bt_urb, udev, in bcm5974_probe()
961 usb_rcvintpipe(udev, cfg->bt_ep), in bcm5974_probe()
965 usb_fill_int_urb(dev->tp_urb, udev, in bcm5974_probe()
966 usb_rcvintpipe(udev, cfg->tp_ep), in bcm5974_probe()
971 usb_make_path(udev, dev->phys, sizeof(dev->phys)); in bcm5974_probe()
976 usb_to_input_id(dev->udev, &input_dev->id); in bcm5974_probe()
998 usb_free_coherent(dev->udev, dev->cfg.tp_datalen, in bcm5974_probe()
1002 usb_free_coherent(dev->udev, dev->cfg.bt_datalen, in bcm5974_probe()
1022 usb_free_coherent(dev->udev, dev->cfg.tp_datalen, in bcm5974_disconnect()
1025 usb_free_coherent(dev->udev, dev->cfg.bt_datalen, in bcm5974_disconnect()