Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/usb/
Dcomposite.h258 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
334 struct usb_function *interface[MAX_CONFIG_INTERFACES];
/linux-5.19.10/drivers/usb/gadget/
Dcomposite.c484 if (id < MAX_CONFIG_INTERFACES) { in usb_interface_id()
905 for (tmp = 0; tmp < MAX_CONFIG_INTERFACES; tmp++) { in set_config()
1062 for (i = 0; i < MAX_CONFIG_INTERFACES; i++) { in usb_add_config()
1846 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1875 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1911 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1934 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1993 if (interface >= MAX_CONFIG_INTERFACES || in composite_setup()
2042 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()