Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/usb/
Dcomposite.h244 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
320 struct usb_function *interface[MAX_CONFIG_INTERFACES];
/linux-6.1.9/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()