Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/usb/
Dcomposite.h245 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
320 struct usb_function *interface[MAX_CONFIG_INTERFACES];
/linux-4.4.14/drivers/usb/gadget/
Dcomposite.c357 if (id < MAX_CONFIG_INTERFACES) { in usb_interface_id()
680 for (tmp = 0; tmp < MAX_CONFIG_INTERFACES; tmp++) { in set_config()
832 for (i = 0; i < MAX_CONFIG_INTERFACES; i++) { in usb_add_config()
1605 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1625 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1652 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1675 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1803 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()