Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/
Dcomposite.c480 if (id < MAX_CONFIG_INTERFACES) { in usb_interface_id()
516 for (id = 0; id < MAX_CONFIG_INTERFACES; id++) in usb_func_wakeup()
520 if (id == MAX_CONFIG_INTERFACES) { in usb_func_wakeup()
990 for (tmp = 0; tmp < MAX_CONFIG_INTERFACES; tmp++) { in set_config()
1156 for (i = 0; i < MAX_CONFIG_INTERFACES; i++) { in usb_add_config()
1940 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
1969 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
2005 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
2039 if (!cdev->config || intf >= MAX_CONFIG_INTERFACES) in composite_setup()
2134 if (interface >= MAX_CONFIG_INTERFACES || in composite_setup()
[all …]
/Linux-v6.6/include/linux/usb/
Dcomposite.h251 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
327 struct usb_function *interface[MAX_CONFIG_INTERFACES];