Lines Matching refs:s_desc
57 struct usb_string_descriptor *s_desc; in xhci_dbc_populate_strings() local
61 s_desc = (struct usb_string_descriptor *)strings->serial; in xhci_dbc_populate_strings()
63 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
66 s_desc->bLength = (strlen(DBC_STRING_SERIAL) + 1) * 2; in xhci_dbc_populate_strings()
67 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
68 string_length = s_desc->bLength; in xhci_dbc_populate_strings()
72 s_desc = (struct usb_string_descriptor *)strings->product; in xhci_dbc_populate_strings()
74 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
77 s_desc->bLength = (strlen(DBC_STRING_PRODUCT) + 1) * 2; in xhci_dbc_populate_strings()
78 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
79 string_length += s_desc->bLength; in xhci_dbc_populate_strings()
83 s_desc = (struct usb_string_descriptor *)strings->manufacturer; in xhci_dbc_populate_strings()
86 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
89 s_desc->bLength = (strlen(DBC_STRING_MANUFACTURER) + 1) * 2; in xhci_dbc_populate_strings()
90 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
91 string_length += s_desc->bLength; in xhci_dbc_populate_strings()