Home
last modified time | relevance | path

Searched refs:USB_MAX_STRING_LEN (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/usb/gadget/
Dusbstring.c58 len = min((size_t)USB_MAX_STRING_LEN, strlen(s->s)); in usb_gadget_get_string()
60 (wchar_t *) &buf[2], USB_MAX_STRING_LEN); in usb_gadget_get_string()
Dconfigfs.c111 #define USB_MAX_STRING_WITH_NULL_LEN (USB_MAX_STRING_LEN+1)
119 if (ret > USB_MAX_STRING_LEN) in usb_string_copy()
825 if (len > USB_MAX_STRING_LEN) in gadget_string_s_store()
Dcomposite.c1237 for (tmp = buf; *tmp && tmp < &buf[USB_MAX_STRING_LEN]; tmp++) { in collect_langs()
1312 for (len = 0; len <= USB_MAX_STRING_LEN && s->wData[len]; len++) in get_string()
/Linux-v6.6/include/linux/usb/
Dgadget.h837 char string[USB_MAX_STRING_LEN];
/Linux-v6.6/include/uapi/linux/usb/
Dch9.h369 #define USB_MAX_STRING_LEN 126 macro