Lines Matching defs:interface
277 static inline int interface_to_InterfaceNumber(struct usb_interface *interface)
279 if (!interface)
281 if (!interface->cur_altsetting)
283 return interface->cur_altsetting->desc.bInterfaceNumber;
298 struct usb_interface *interface;
681 if (!vub300->interface) {
712 if (!vub300->interface) {
745 if (!vub300->interface) {
1608 vub300->interface);
1746 if (!vub300->interface) {
1905 if (!vub300->interface) {
1926 if (!vub300->interface) {
2010 if (!vub300->interface)
2051 if (!vub300->interface)
2085 static int vub300_probe(struct usb_interface *interface,
2090 struct usb_device *udev = usb_get_dev(interface_to_usbdev(interface));
2203 vub300->interface = interface;
2222 iface_desc = interface->cur_altsetting;
2317 usb_set_intfdata(interface, vub300);
2332 interface_to_InterfaceNumber(interface));
2337 interface_to_InterfaceNumber(interface));
2360 static void vub300_disconnect(struct usb_interface *interface)
2362 struct vub300_mmc_host *vub300 = usb_get_intfdata(interface);
2370 int ifnum = interface_to_InterfaceNumber(interface);
2371 usb_set_intfdata(interface, NULL);
2373 vub300->interface = NULL;