Home
last modified time | relevance | path

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

/openbmc/u-boot/include/linux/usb/
H A Dcomposite.h152 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
228 struct usb_function *interface[MAX_CONFIG_INTERFACES];
/openbmc/u-boot/drivers/usb/gadget/
H A Dcomposite.c153 if (id < MAX_CONFIG_INTERFACES) { in usb_interface_id()
358 for (tmp = 0; tmp < MAX_CONFIG_INTERFACES; tmp++) { in set_config()
458 for (i = 0; i < MAX_CONFIG_INTERFACES; i++) { in usb_add_config()
823 if (!cdev->config || w_index >= MAX_CONFIG_INTERFACES) in composite_setup()
835 if (!cdev->config || w_index >= MAX_CONFIG_INTERFACES) in composite_setup()
/openbmc/linux/include/linux/usb/
H A Dcomposite.h251 #define MAX_CONFIG_INTERFACES 16 /* arbitrary; max 255 */ macro
327 struct usb_function *interface[MAX_CONFIG_INTERFACES];
/openbmc/linux/drivers/usb/gadget/
H A 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 …]