Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/
Dcomposite.c1335 struct usb_gadget_strings **sp, unsigned n_gstrings, in copy_gadget_strings() argument
1348 mem += sizeof(void *) * (n_gstrings + 1); in copy_gadget_strings()
1349 mem += sizeof(struct usb_gadget_strings) * n_gstrings; in copy_gadget_strings()
1350 mem += sizeof(struct usb_string) * (n_strings + 1) * (n_gstrings); in copy_gadget_strings()
1356 stash += sizeof(void *) * (n_gstrings + 1); in copy_gadget_strings()
1357 for (n_gs = 0; n_gs < n_gstrings; n_gs++) { in copy_gadget_strings()
1407 unsigned n_gstrings = 0; in usb_gstrings_attach() local
1412 n_gstrings++; in usb_gstrings_attach()
1414 if (!n_gstrings) in usb_gstrings_attach()
1417 uc = copy_gadget_strings(sp, n_gstrings, n_strings); in usb_gstrings_attach()
[all …]