Lines Matching refs:udev
67 struct usb_device * udev; member
82 dev_err(&dev->udev->dev, "Out of memory!\n"); in vendor_command()
87 dev_dbg(&dev->udev->dev, "Sending usb_control_msg (data: %d)\n", data); in vendor_command()
90 pipe = usb_rcvctrlpipe(dev->udev, 0); in vendor_command()
91 retval = usb_control_msg(dev->udev, pipe, request, in vendor_command()
101 dev_dbg(&dev->udev->dev, in vendor_command()
107 dev_dbg(&dev->udev->dev, in vendor_command()
130 dev_dbg(&cyp->udev->dev, "WRITE_PORT%d called\n", port_num); in write_port()
145 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); in write_port()
175 dev_dbg(&cyp->udev->dev, "READ_PORT%d called\n", port_num); in read_port()
179 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); in read_port()
216 dev->udev = usb_get_dev(interface_to_usbdev(interface)); in cypress_probe()
238 usb_put_dev(dev->udev); in cypress_probe()
258 usb_put_dev(dev->udev); in cypress_disconnect()