Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/usb/
Dcomposite.h258 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
334 struct usb_function *interface[MAX_CONFIG_INTERFACES];
/kernel/linux/linux-5.10/drivers/usb/gadget/
Dcomposite.c470 if (id < MAX_CONFIG_INTERFACES) { in usb_interface_id()
860 for (tmp = 0; tmp < MAX_CONFIG_INTERFACES; tmp++) { in set_config()
1017 for (i = 0; i < MAX_CONFIG_INTERFACES; i++) { in usb_add_config()
1800 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1829 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1865 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1888 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1947 if (interface >= MAX_CONFIG_INTERFACES || in composite_setup()
1996 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()