Searched refs:nstrings (Results 1 – 1 of 1) sorted by relevance
99 unsigned int nstrings; member867 string->usb_string.id = language->nstrings++; in gadget_language_string_make()887 language->nstrings--; in gadget_language_string_drop()940 new->nstrings = 3; in gadget_language_make()1608 int nstrings = -1; in configfs_attach_gadget_strings() local1626 if (nstrings == -1) { in configfs_attach_gadget_strings()1627 nstrings = language->nstrings; in configfs_attach_gadget_strings()1628 } else if (nstrings != language->nstrings) { in configfs_attach_gadget_strings()1634 stringtab = kcalloc(language->nstrings + 1, sizeof(struct usb_string), in configfs_attach_gadget_strings()1659 us = usb_gstrings_attach(&gi->cdev, gadget_strings, nstrings); in configfs_attach_gadget_strings()