Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/usb/
Dcomposite.h255 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
331 struct usb_function *interface[MAX_CONFIG_INTERFACES];
/Linux-v4.19/drivers/usb/gadget/
Dcomposite.c420 if (id < MAX_CONFIG_INTERFACES) { in usb_interface_id()
794 for (tmp = 0; tmp < MAX_CONFIG_INTERFACES; tmp++) { in set_config()
938 for (i = 0; i < MAX_CONFIG_INTERFACES; i++) { in usb_add_config()
1709 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1738 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1774 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1797 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1902 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()