Lines Matching refs:udev
276 struct usb_device *udev; /* usb device */
490 static const struct bcm5974_config *bcm5974_get_config(struct usb_device *udev)
492 u16 id = le16_to_cpu(udev->descriptor.idProduct);
665 size = usb_control_msg(dev->udev, usb_rcvctrlpipe(dev->udev, 0),
680 size = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, 0),
897 struct usb_device *udev = interface_to_usbdev(iface);
904 cfg = bcm5974_get_config(udev);
914 dev->udev = udev;
932 dev->bt_data = usb_alloc_coherent(dev->udev,
939 dev->tp_data = usb_alloc_coherent(dev->udev,
946 usb_fill_int_urb(dev->bt_urb, udev,
947 usb_rcvintpipe(udev, cfg->bt_ep),
954 usb_fill_int_urb(dev->tp_urb, udev,
955 usb_rcvintpipe(udev, cfg->tp_ep),
962 usb_make_path(udev, dev->phys, sizeof(dev->phys));
967 usb_to_input_id(dev->udev, &input_dev->id);
989 usb_free_coherent(dev->udev, dev->cfg.tp_datalen,
993 usb_free_coherent(dev->udev, dev->cfg.bt_datalen,
1013 usb_free_coherent(dev->udev, dev->cfg.tp_datalen,
1016 usb_free_coherent(dev->udev, dev->cfg.bt_datalen,