Lines Matching refs:usbdev
48 struct usb_device *usbdev; member
72 dev_dbg(&priv->usbdev->dev, "destroying priv datastructure\n"); in destroy_priv()
73 usb_put_dev(priv->usbdev); in destroy_priv()
74 priv->usbdev = NULL; in destroy_priv()
112 dev_dbg(&priv->usbdev->dev, "async_complete regs %7ph\n", in async_complete()
127 struct usb_device *usbdev; in submit_async_request() local
134 usbdev = priv->usbdev; in submit_async_request()
135 if (!usbdev) in submit_async_request()
160 …usb_fill_control_urb(rq->urb, usbdev, (requesttype & 0x80) ? usb_rcvctrlpipe(usbdev, 0) : usb_sndc… in submit_async_request()
172 dev_err(&usbdev->dev, "submit_async_request submit_urb failed with %d\n", ret); in submit_async_request()
207 dev_err(&priv->usbdev->dev, "get_1284_register(%u) failed", in get_1284_register()
239 dev_err(&priv->usbdev->dev, "set_1284_register(%u,%u) failed", in set_1284_register()
504 struct usb_device *usbdev = priv->usbdev; in parport_uss720_epp_write_data() local
508 if (!usbdev) in parport_uss720_epp_write_data()
512 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buf, length, &rlen, 20000); in parport_uss720_epp_write_data()
565 struct usb_device *usbdev = priv->usbdev; in parport_uss720_ecp_write_data() local
569 if (!usbdev) in parport_uss720_ecp_write_data()
573 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); in parport_uss720_ecp_write_data()
583 struct usb_device *usbdev = priv->usbdev; in parport_uss720_ecp_read_data() local
587 if (!usbdev) in parport_uss720_ecp_read_data()
591 i = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, 2), buffer, len, &rlen, 20000); in parport_uss720_ecp_read_data()
616 struct usb_device *usbdev = priv->usbdev; in parport_uss720_write_compat() local
620 if (!usbdev) in parport_uss720_write_compat()
624 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); in parport_uss720_write_compat()
674 struct usb_device *usbdev = usb_get_dev(interface_to_usbdev(intf)); in uss720_probe() local
683 le16_to_cpu(usbdev->descriptor.idVendor), in uss720_probe()
684 le16_to_cpu(usbdev->descriptor.idProduct)); in uss720_probe()
688 usb_put_dev(usbdev); in uss720_probe()
691 i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2); in uss720_probe()
697 usb_put_dev(usbdev); in uss720_probe()
706 usb_put_dev(usbdev); in uss720_probe()
710 priv->usbdev = usbdev; in uss720_probe()