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()
111 dev_dbg(&priv->usbdev->dev, "async_complete regs %7ph\n", in async_complete()
126 struct usb_device *usbdev; in submit_async_request() local
133 usbdev = priv->usbdev; in submit_async_request()
134 if (!usbdev) in submit_async_request()
159 …usb_fill_control_urb(rq->urb, usbdev, (requesttype & 0x80) ? usb_rcvctrlpipe(usbdev, 0) : usb_sndc… in submit_async_request()
171 dev_err(&usbdev->dev, "submit_async_request submit_urb failed with %d\n", ret); in submit_async_request()
206 dev_err(&priv->usbdev->dev, "get_1284_register(%u) failed", in get_1284_register()
238 dev_err(&priv->usbdev->dev, "set_1284_register(%u,%u) failed", in set_1284_register()
503 struct usb_device *usbdev = priv->usbdev; in parport_uss720_epp_write_data() local
507 if (!usbdev) in parport_uss720_epp_write_data()
511 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buf, length, &rlen, 20000); in parport_uss720_epp_write_data()
564 struct usb_device *usbdev = priv->usbdev; in parport_uss720_ecp_write_data() local
568 if (!usbdev) in parport_uss720_ecp_write_data()
572 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); in parport_uss720_ecp_write_data()
582 struct usb_device *usbdev = priv->usbdev; in parport_uss720_ecp_read_data() local
586 if (!usbdev) in parport_uss720_ecp_read_data()
590 i = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, 2), buffer, len, &rlen, 20000); in parport_uss720_ecp_read_data()
615 struct usb_device *usbdev = priv->usbdev; in parport_uss720_write_compat() local
619 if (!usbdev) in parport_uss720_write_compat()
623 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); in parport_uss720_write_compat()
673 struct usb_device *usbdev = usb_get_dev(interface_to_usbdev(intf)); in uss720_probe() local
682 le16_to_cpu(usbdev->descriptor.idVendor), in uss720_probe()
683 le16_to_cpu(usbdev->descriptor.idProduct)); in uss720_probe()
687 usb_put_dev(usbdev); in uss720_probe()
690 i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2); in uss720_probe()
696 usb_put_dev(usbdev); in uss720_probe()
705 usb_put_dev(usbdev); in uss720_probe()
709 priv->usbdev = usbdev; in uss720_probe()
739 usb_put_dev(usbdev); in uss720_probe()
757 priv->usbdev = NULL; in uss720_disconnect()