Lines Matching defs:interface
35 Code to request version of POD, Variax interface
734 int line6_probe(struct usb_interface *interface,
741 struct usb_device *usbdev = interface_to_usbdev(interface);
754 ret = snd_card_new(&interface->dev,
765 line6->ifcdev = &interface->dev;
775 usb_set_intfdata(interface, line6);
781 dev_info(&interface->dev, "Line 6 %s found\n", properties->name);
783 /* query interface number */
784 interface_number = interface->cur_altsetting->desc.bInterfaceNumber;
790 dev_err(&interface->dev, "set_interface failed\n");
809 dev_info(&interface->dev, "Line 6 %s now attached\n",
818 line6_disconnect(interface);
826 void line6_disconnect(struct usb_interface *interface)
828 struct usb_line6 *line6 = usb_get_intfdata(interface);
829 struct usb_device *usbdev = interface_to_usbdev(interface);
848 dev_info(&interface->dev, "Line 6 %s now disconnected\n",
852 usb_set_intfdata(interface, NULL);
863 int line6_suspend(struct usb_interface *interface, pm_message_t message)
865 struct usb_line6 *line6 = usb_get_intfdata(interface);
883 int line6_resume(struct usb_interface *interface)
885 struct usb_line6 *line6 = usb_get_intfdata(interface);