Lines Matching refs:usbdev
67 usb_fill_int_urb(line6->urb_listen, line6->usbdev, in line6_start_listen()
68 usb_rcvintpipe(line6->usbdev, line6->properties->ep_ctrl_r), in line6_start_listen()
72 usb_fill_bulk_urb(line6->urb_listen, line6->usbdev, in line6_start_listen()
73 usb_rcvbulkpipe(line6->usbdev, line6->properties->ep_ctrl_r), in line6_start_listen()
113 retval = usb_interrupt_msg(line6->usbdev, in line6_send_raw_message()
114 usb_sndintpipe(line6->usbdev, properties->ep_ctrl_w), in line6_send_raw_message()
118 retval = usb_bulk_msg(line6->usbdev, in line6_send_raw_message()
119 usb_sndbulkpipe(line6->usbdev, properties->ep_ctrl_w), in line6_send_raw_message()
163 usb_fill_int_urb(urb, line6->usbdev, in line6_send_raw_message_async_part()
164 usb_sndintpipe(line6->usbdev, line6->properties->ep_ctrl_w), in line6_send_raw_message_async_part()
168 usb_fill_bulk_urb(urb, line6->usbdev, in line6_send_raw_message_async_part()
169 usb_sndbulkpipe(line6->usbdev, line6->properties->ep_ctrl_w), in line6_send_raw_message_async_part()
339 struct usb_device *usbdev = line6->usbdev; in line6_read_data() local
348 ret = usb_control_msg_send(usbdev, 0, 0x67, in line6_read_data()
361 ret = usb_control_msg_recv(usbdev, 0, 0x67, in line6_read_data()
389 ret = usb_control_msg_recv(usbdev, 0, 0x67, in line6_read_data()
407 struct usb_device *usbdev = line6->usbdev; in line6_write_data() local
419 ret = usb_control_msg_send(usbdev, 0, 0x67, in line6_write_data()
432 ret = usb_control_msg_recv(usbdev, 0, 0x67, in line6_write_data()
477 struct usb_device *usbdev = line6->usbdev; in line6_destruct() local
491 usb_put_dev(usbdev); in line6_destruct()
496 struct usb_device *usbdev = line6->usbdev; in line6_get_usb_properties() local
503 pipe = usb_rcvintpipe(line6->usbdev, in line6_get_usb_properties()
506 pipe = usb_rcvbulkpipe(line6->usbdev, in line6_get_usb_properties()
509 ep = usbdev->ep_in[usb_pipeendpoint(pipe)]; in line6_get_usb_properties()
526 if (usbdev->speed == USB_SPEED_LOW) { in line6_get_usb_properties()
741 struct usb_device *usbdev = interface_to_usbdev(interface); in line6_probe() local
751 if (usbdev->descriptor.bNumConfigurations != 1) in line6_probe()
764 line6->usbdev = usbdev; in line6_probe()
778 usb_get_dev(usbdev); in line6_probe()
787 ret = usb_set_interface(usbdev, interface_number, in line6_probe()
829 struct usb_device *usbdev = interface_to_usbdev(interface); in line6_disconnect() local
834 if (WARN_ON(usbdev != line6->usbdev)) in line6_disconnect()