Lines Matching refs:n_gstrings
1334 struct usb_gadget_strings **sp, unsigned n_gstrings, in copy_gadget_strings() argument
1347 mem += sizeof(void *) * (n_gstrings + 1); in copy_gadget_strings()
1348 mem += sizeof(struct usb_gadget_strings) * n_gstrings; in copy_gadget_strings()
1349 mem += sizeof(struct usb_string) * (n_strings + 1) * (n_gstrings); in copy_gadget_strings()
1355 stash += sizeof(void *) * (n_gstrings + 1); in copy_gadget_strings()
1356 for (n_gs = 0; n_gs < n_gstrings; n_gs++) { in copy_gadget_strings()
1406 unsigned n_gstrings = 0; in usb_gstrings_attach() local
1411 n_gstrings++; in usb_gstrings_attach()
1413 if (!n_gstrings) in usb_gstrings_attach()
1416 uc = copy_gadget_strings(sp, n_gstrings, n_strings); in usb_gstrings_attach()
1425 for (i = 1; i < n_gstrings; i++) { in usb_gstrings_attach()