Lines Matching refs:usbdev
466 struct usb_device *usbdev; member
823 usb_fill_int_urb(urb, ir->usbdev, ir->pipe_out, in mce_write()
827 usb_fill_bulk_urb(urb, ir->usbdev, ir->pipe_out, in mce_write()
1368 ret = usb_control_msg(ir->usbdev, usb_rcvctrlpipe(ir->usbdev, 0), in mceusb_gen1_init()
1376 ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), in mceusb_gen1_init()
1383 ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), in mceusb_gen1_init()
1389 ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), in mceusb_gen1_init()
1470 status = usb_clear_halt(ir->usbdev, ir->pipe_in); in mceusb_deferred_kevent()
1487 status = usb_clear_halt(ir->usbdev, ir->pipe_out); in mceusb_deferred_kevent()
1496 struct usb_device *udev = ir->usbdev; in mceusb_init_rc_dev()
1511 le16_to_cpu(ir->usbdev->descriptor.idVendor), in mceusb_init_rc_dev()
1512 le16_to_cpu(ir->usbdev->descriptor.idProduct)); in mceusb_init_rc_dev()
1514 usb_make_path(ir->usbdev, ir->phys, sizeof(ir->phys)); in mceusb_init_rc_dev()
1518 usb_to_input_id(ir->usbdev, &rc->input_id); in mceusb_init_rc_dev()
1651 ir->usbdev = usb_get_dev(dev); in mceusb_dev_probe()
1663 ir->pipe_out = usb_sndintpipe(ir->usbdev, in mceusb_dev_probe()
1666 ir->pipe_out = usb_sndbulkpipe(ir->usbdev, in mceusb_dev_probe()
1739 usb_put_dev(ir->usbdev); in mceusb_dev_probe()
1763 ir->usbdev = NULL; in mceusb_dev_disconnect()