Lines Matching defs:interface

304  * method to allocate resources such as interface and string identifiers
453 * usb_interface_id() - allocate an unused interface ID
454 * @config: configuration associated with the interface
455 * @function: function handling the interface
459 * allocate new interface IDs. The function driver will then store that
460 * ID in interface, association, CDC union, and other descriptors. It
461 * will also handle any control requests targeted at that interface,
465 * All interface identifier should be allocated using this routine, to
467 * different meanings to the same identifier. Note that since interface
472 * Returns the interface ID which was allocated; or -ENODEV if no
473 * more interface IDs can be allocated.
481 config->interface[id] = function;
517 if (func->config->interface[id] == func)
991 struct usb_function *f = c->interface[tmp];
1020 DBG(cdev, "interface %d (%s/%p) alt 0 --> %d\n",
1029 "%s: interface %d (%s) requested delayed status\n",
1083 memset(config->interface, 0, sizeof(config->interface));
1102 * resources such as interface IDs and endpoints.
1157 struct usb_function *f = config->interface[i];
1161 DBG(cdev, " interface %d = %s/%p\n",
1628 f = c->interface[i];
1653 f = c->interface[i];
1679 static int count_ext_prop(struct usb_configuration *c, int interface)
1684 f = c->interface[interface];
1688 if (interface != f->os_desc_table[j].if_id)
1697 static int len_ext_prop(struct usb_configuration *c, int interface)
1704 f = c->interface[interface];
1706 if (interface != f->os_desc_table[j].if_id)
1715 static int fill_ext_prop(struct usb_configuration *c, int interface, u8 *buf)
1722 f = c->interface[interface];
1726 if (interface != f->os_desc_table[j].if_id)
1942 f = cdev->config->interface[intf];
1958 "%s: interface %d (%s) requested delayed status\n",
1971 f = cdev->config->interface[intf];
1997 * first interface of the function
2007 f = cdev->config->interface[intf];
2029 * only for the first interface of the function
2041 f = cdev->config->interface[intf];
2102 int interface;
2133 interface = w_value >> 8;
2134 if (interface >= MAX_CONFIG_INTERFACES ||
2135 !os_desc_cfg->interface[interface])
2139 interface);
2142 interface);
2147 interface, buf);
2231 f = cdev->config->interface[intf];
2451 /* interface and string IDs start at zero via kzalloc.