Lines Matching defs:interface
170 * Scan usb interface and populate max_pkt_size array
233 dev_info(&udev->dev, "New device %s %s @ %s Mbps (%04x:%04x, interface %d, class %d)\n",
244 dev_warn(&udev->dev, "audio interface %d found.\n\
249 dev_info(&udev->dev, "video interface %d found\n",
264 static int stk1160_probe(struct usb_interface *interface,
273 udev = interface_to_usbdev(interface);
277 * we reject audio interface.
279 if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO)
283 alt_max_pkt_size = kmalloc_array(interface->num_altsetting,
293 rc = stk1160_scan_usb(interface, udev, alt_max_pkt_size);
307 dev->num_alt = interface->num_altsetting;
311 dev->dev = &interface->dev;
313 usb_set_intfdata(interface, dev);
389 static void stk1160_disconnect(struct usb_interface *interface)
393 dev = usb_get_intfdata(interface);
394 usb_set_intfdata(interface, NULL);