Lines Matching refs:usbdev

151 	struct usb_device *usbdev;  member
267 urb->dev = catc->usbdev; in catc_rx_done()
330 catc->rx_urb->dev = catc->usbdev; in catc_irq_done()
332 dev_err(&catc->usbdev->dev, in catc_irq_done()
340 dev_err(&catc->usbdev->dev, in catc_irq_done()
342 catc->usbdev->bus->bus_name, in catc_irq_done()
343 catc->usbdev->devpath, res); in catc_irq_done()
359 catc->tx_urb->dev = catc->usbdev; in catc_tx_run()
362 dev_err(&catc->usbdev->dev, "submit(tx_urb), status %d\n", in catc_tx_run()
464 int retval = usb_control_msg(catc->usbdev, in catc_ctrl_msg()
465 dir ? usb_rcvctrlpipe(catc->usbdev, 0) : usb_sndctrlpipe(catc->usbdev, 0), in catc_ctrl_msg()
473 struct usb_device *usbdev = catc->usbdev; in catc_ctrl_run() local
484 urb->pipe = q->dir ? usb_rcvctrlpipe(usbdev, 0) : usb_sndctrlpipe(usbdev, 0); in catc_ctrl_run()
488 urb->dev = usbdev; in catc_ctrl_run()
494 dev_err(&catc->usbdev->dev, "submit(ctrl_urb) status %d\n", in catc_ctrl_run()
555 dev_err(&catc->usbdev->dev, "ctrl queue full\n"); in catc_ctrl_async()
677 usb_make_path(catc->usbdev, info->bus_info, sizeof(info->bus_info)); in catc_get_drvinfo()
719 catc->irq_urb->dev = catc->usbdev; in catc_open()
721 dev_err(&catc->usbdev->dev, "submit(irq_urb) status %d\n", in catc_open()
769 struct usb_device *usbdev = interface_to_usbdev(intf); in catc_probe() local
780 if (usb_set_interface(usbdev, in catc_probe()
797 catc->usbdev = usbdev; in catc_probe()
817 if (le16_to_cpu(usbdev->descriptor.idVendor) == 0x0423 && in catc_probe()
818 le16_to_cpu(usbdev->descriptor.idProduct) == 0xa && in catc_probe()
819 le16_to_cpu(catc->usbdev->descriptor.bcdDevice) == 0x0130) { in catc_probe()
828 usb_fill_control_urb(catc->ctrl_urb, usbdev, usb_sndctrlpipe(usbdev, 0), in catc_probe()
831 usb_fill_bulk_urb(catc->tx_urb, usbdev, usb_sndbulkpipe(usbdev, 1), in catc_probe()
834 usb_fill_bulk_urb(catc->rx_urb, usbdev, usb_rcvbulkpipe(usbdev, 1), in catc_probe()
837 usb_fill_int_urb(catc->irq_urb, usbdev, usb_rcvintpipe(usbdev, 2), in catc_probe()
920 usbdev->bus->bus_name, usbdev->devpath, netdev->dev_addr); in catc_probe()