Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/
H A Dcomposite.c1430 unsigned n_strings) in copy_gadget_strings() argument
1444 mem += sizeof(struct usb_string) * (n_strings + 1) * (n_gstrings); in copy_gadget_strings()
1461 for (n_s = 0; n_s < n_strings; n_s++) { in copy_gadget_strings()
1497 struct usb_gadget_strings **sp, unsigned n_strings) in usb_gstrings_attach() argument
1511 uc = copy_gadget_strings(sp, n_gstrings, n_strings); in usb_gstrings_attach()
1527 for (n = 0; n < n_strings; n++) { in usb_gstrings_attach()
/openbmc/linux/include/linux/usb/
H A Dcomposite.h506 struct usb_gadget_strings **sp, unsigned n_strings);
/openbmc/linux/tools/net/ynl/generated/
H A Dethtool-user.c1317 for (i = 0; i < obj->n_strings; i++) in ethtool_stringset_free()
1332 for (unsigned int i = 0; i < obj->n_strings; i++) in ethtool_stringset_put()
1343 unsigned int n_strings = 0; in ethtool_stringset_parse() local
1367 n_strings++; in ethtool_stringset_parse()
1371 if (n_strings) { in ethtool_stringset_parse()
1372 dst->strings = calloc(n_strings, sizeof(*dst->strings)); in ethtool_stringset_parse()
1373 dst->n_strings = n_strings; in ethtool_stringset_parse()
H A Dethtool-user.h181 unsigned int n_strings; member