Home
last modified time | relevance | path

Searched refs:MAX_CONFIG_INTERFACES (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/include/linux/usb/
Dcomposite.h164 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
238 struct usb_function *interface[MAX_CONFIG_INTERFACES];
/linux-3.4.99/drivers/usb/gadget/
Dcomposite.c344 if (id < MAX_CONFIG_INTERFACES) { in usb_interface_id()
631 for (tmp = 0; tmp < MAX_CONFIG_INTERFACES; tmp++) { in set_config()
756 for (i = 0; i < MAX_CONFIG_INTERFACES; i++) { in usb_add_config()
1134 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1154 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1181 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1204 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1238 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()